it-data-nexus-ui-library 1.0.0 → 1.0.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/generated/version.mjs +1 -1
- package/dist/index.d.ts +93 -94
- package/dist/node_modules/@base-ui/utils/platform/os.mjs +1 -0
- package/dist/node_modules/@base-ui/utils/platform/shared.mjs +1 -0
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1 -1
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs +1 -1
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs +1 -1
- package/dist/node_modules/@mui/system/sizing/sizing.mjs +1 -1
- package/dist/node_modules/@mui/system/spacing/spacing.mjs +1 -1
- package/dist/node_modules/@mui/utils/fastDeepAssign/fastDeepAssign.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/BarChart/BarElement.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/BarChart/seriesConfig/bar/keyboardFocusHandler.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/BarChart/seriesConfig/bar/tooltipPosition.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/BarChart/seriesConfig/index.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/BarChart/useBarPlotData.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsAxisHighlight/ChartsXAxisHighlight.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsAxisHighlight/ChartsYAxisHighlight.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsAxisHighlight/getSampledBandHighlight.mjs +1 -0
- package/dist/node_modules/@mui/x-charts/ChartsDataProvider/ChartsDataProvider.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsGrid/ChartsGrid.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsText/ChartsText.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsTooltip/ChartsAxisTooltipContent.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsTooltip/ChartsItemTooltipContent.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsTooltip/ChartsTooltip.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsTooltip/ChartsTooltipContainer.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsXAxis/ChartsGroupedXAxisTicks.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsXAxis/ChartsSingleXAxisTicks.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsXAxis/ChartsXAxis.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsYAxis/ChartsGroupedYAxisTicks.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsYAxis/ChartsSingleYAxisTicks.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsYAxis/ChartsYAxis.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ChartsYAxis/ChartsYAxisImpl.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/AnimatedArea.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/AreaElement.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/AreaPlot.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/CircleMarkElement.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/LineElement.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/LineHighlightElement.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/LinePlot.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/MarkElement.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/lineClasses.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/seriesConfig/index.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/seriesConfig/keyboardFocusHandler.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/seriesConfig/tooltipPosition.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/LineChart/useLineItemClickHandler.mjs +1 -0
- package/dist/node_modules/@mui/x-charts/LineChart/useLinePlotData.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/PieChart/FocusedPieArc.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/PieChart/PieArcLabelPlot.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/PieChart/PieArcPlot.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/PieChart/PiePlot.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/PieChart/seriesConfig/index.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/PieChart/seriesConfig/tooltipPosition.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ScatterChart/seriesConfig/getColor.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ScatterChart/seriesConfig/index.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/ScatterChart/seriesConfig/tooltipPosition.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/hooks/animation/useAnimatePieArc.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/colorScale.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/commonNextFocusItem.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/components/ChartsAccessibilityProxy/ChartsAccessibilityProxy.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/createGetBarDimensions.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/geometry.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/getGroupingConfig.mjs +1 -0
- package/dist/node_modules/@mui/x-charts/internals/getSampledBucketRegion.mjs +1 -0
- package/dist/node_modules/@mui/x-charts/internals/plugins/allPlugins.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/plugins/corePlugins/useChartExperimentalFeature/useChartExperimentalFeature.selectors.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/plugins/corePlugins/useChartInteractionListener/useChartInteractionListener.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/plugins/featurePlugins/useChartCartesianAxis/domain.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/plugins/featurePlugins/useChartCartesianAxis/getAxisScale.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/plugins/featurePlugins/useChartCartesianAxis/sampling.selectors.mjs +1 -0
- package/dist/node_modules/@mui/x-charts/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxis.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/plugins/featurePlugins/useChartCartesianAxis/useChartCartesianAxisRendering.selectors.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/plugins/featurePlugins/useChartPolarAxis/computeAxisValue.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/plugins/featurePlugins/useChartTooltip/useChartTooltip.selectors.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.mjs +1 -0
- package/dist/node_modules/@mui/x-charts/internals/plugins/featurePlugins/useProgressiveRendering/useProgressiveRendering.selectors.mjs +1 -0
- package/dist/node_modules/@mui/x-charts/internals/resolveColorProcessor.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/scales/scaleBand.mjs +1 -1
- package/dist/node_modules/@mui/x-charts/internals/snapEndAngleToFullCircle.mjs +1 -0
- package/dist/node_modules/@mui/x-internal-gestures/core/GestureManager.mjs +1 -1
- package/dist/node_modules/@mui/x-internal-gestures/core/KeyboardManager.mjs +1 -1
- package/dist/node_modules/@mui/x-internal-gestures/core/utils/eventList.mjs +1 -1
- package/dist/node_modules/@mui/x-internals/store/useStoreEffect.mjs +1 -1
- package/dist/node_modules/@mui/x-internals/useIsHydrated/useIsHydrated.mjs +1 -0
- package/dist/node_modules/@radix-ui/primitive/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-compose-refs/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-context/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-focus-guards/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-id/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-popover/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-popper/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-portal/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-presence/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-primitive/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-slot/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs +1 -1
- package/dist/node_modules/@radix-ui/react-use-effect-event/dist/index.mjs +1 -0
- package/dist/node_modules/@radix-ui/react-use-size/dist/index.mjs +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.mjs +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.mjs +1 -1
- package/dist/node_modules/flatqueue/index.mjs +1 -1
- package/dist/node_modules/react-is/cjs/react-is.development.mjs +1 -1
- package/package.json +2 -2
- package/readme.md +109 -109
- package/dist/node_modules/@mui/x-charts/hooks/useIsHydrated.mjs +0 -1
- package/dist/node_modules/@mui/x-internal-gestures/core/gestures/PinchGesture.mjs +0 -1
- package/dist/node_modules/@mui/x-internal-gestures/core/gestures/PressAndDragGesture.mjs +0 -1
- package/dist/node_modules/@mui/x-internal-gestures/core/gestures/TapAndDragGesture.mjs +0 -1
- package/dist/node_modules/@mui/x-internal-gestures/core/gestures/TurnWheelGesture.mjs +0 -1
- package/dist/node_modules/@mui/x-internal-gestures/core/utils/calculateAverageDistance.mjs +0 -1
- package/dist/node_modules/@mui/x-internal-gestures/core/utils/getDistance.mjs +0 -1
- package/dist/node_modules/@mui/x-internal-gestures/core/utils/getPinchDirection.mjs +0 -1
- package/dist/node_modules/@mui/x-internal-gestures/core/utils/preventDefault.mjs +0 -1
- package/dist/node_modules/@mui/x-internals/node_modules/@mui/utils/useLazyRef/useLazyRef.mjs +0 -1
- package/dist/node_modules/@radix-ui/react-arrow/dist/index.mjs +0 -1
- package/dist/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs +0 -1
- package/dist/node_modules/d3-array/src/range.mjs +0 -1
- /package/dist/_virtual/{react-is.development2.mjs → react-is2.development.mjs} +0 -0
- /package/dist/node_modules/@mui/{x-internals/node_modules/@mui/utils → utils}/useOnMount/useOnMount.mjs +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
const o="1.0.
|
|
1
|
+
const o="1.0.1";export{o as SAGE_NEXUS_UI_VERSION};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import react__default, { ReactNode, ReactElement, ComponentType, CSSProperties, PropsWithChildren } from 'react';
|
|
2
3
|
import { AlertProps, BoxProps, SxProps as SxProps$1, Theme as Theme$1, TypographyProps, ContainerProps, GridProps, LinkProps as LinkProps$1, SelectProps as SelectProps$1, SwitchProps, AccordionSummaryProps, ButtonProps, ChipProps, CardProps as CardProps$1, PaperProps, CollapseProps, ButtonBaseProps, DialogProps, DialogActionsProps, DialogContentProps, DialogContentTextProps, DialogTitleProps, DividerProps, IconButtonProps as IconButtonProps$1, SkeletonProps as SkeletonProps$1, StackProps, TabProps, TabsProps, TextFieldProps, TooltipProps as TooltipProps$1 } from '@mui/material';
|
|
3
4
|
export { AlertProps, AlertTitle, BoxProps, ButtonBaseProps, ChipProps, CollapseProps, ContainerProps, DialogActionsProps, DialogContentProps, DialogContentTextProps, DialogProps, DialogTitleProps, DividerProps, GridProps, MenuItem, PaperProps, StackProps, SwitchProps, TabProps, TabsProps, TextFieldProps, Theme, alpha, useMediaQuery, useTheme } from '@mui/material';
|
|
4
5
|
import { SxProps, Theme } from '@mui/material/styles';
|
|
5
6
|
import { Components } from 'react-markdown';
|
|
6
|
-
import * as react from 'react';
|
|
7
|
-
import react__default, { ReactNode, ReactElement, ComponentType, CSSProperties, PropsWithChildren } from 'react';
|
|
8
7
|
import { DataGridProps } from '@mui/x-data-grid';
|
|
9
8
|
export { DataGridProps, GridColDef, GridColumnVisibilityModel, GridPaginationModel, GridRenderCellParams, GridRowsProp, GridSortModel, GridValueGetter } from '@mui/x-data-grid';
|
|
10
9
|
import { SxProps as SxProps$2 } from '@mui/system';
|
|
@@ -26,7 +25,7 @@ interface DateRangeFilterProps {
|
|
|
26
25
|
earliestStartDate?: Date;
|
|
27
26
|
className?: string;
|
|
28
27
|
}
|
|
29
|
-
declare const DateRangeFilter: ({ startDate, endDate, onChange, dataAvailableThrough, earliestStartDate, className, }: DateRangeFilterProps) =>
|
|
28
|
+
declare const DateRangeFilter: ({ startDate, endDate, onChange, dataAvailableThrough, earliestStartDate, className, }: DateRangeFilterProps) => react.JSX.Element;
|
|
30
29
|
|
|
31
30
|
interface DateRangeValue {
|
|
32
31
|
from?: Date;
|
|
@@ -46,13 +45,13 @@ interface DateRangePickerProps {
|
|
|
46
45
|
emptyLabel?: string;
|
|
47
46
|
availabilityLabel?: string;
|
|
48
47
|
}
|
|
49
|
-
declare const DateRangePicker: ({ value, onChange, presets, minDate, maxDate, className, emptyLabel, availabilityLabel, }: DateRangePickerProps) =>
|
|
48
|
+
declare const DateRangePicker: ({ value, onChange, presets, minDate, maxDate, className, emptyLabel, availabilityLabel, }: DateRangePickerProps) => react.JSX.Element;
|
|
50
49
|
|
|
51
50
|
/**
|
|
52
51
|
* Themed inline alert for info / success / warning / error messages.
|
|
53
52
|
* Accepts all MUI AlertProps — use `severity` to set the variant.
|
|
54
53
|
*/
|
|
55
|
-
declare const Alert: (props: AlertProps) =>
|
|
54
|
+
declare const Alert: (props: AlertProps) => react.JSX.Element;
|
|
56
55
|
|
|
57
56
|
interface ActivitySummary {
|
|
58
57
|
thinkingSteps: number;
|
|
@@ -155,9 +154,9 @@ interface NexusChatWidgetProps {
|
|
|
155
154
|
/** Anchor corner for the floating widget and FAB. Defaults to 'bottom-right'. */
|
|
156
155
|
placement?: "bottom-right" | "bottom-left";
|
|
157
156
|
}
|
|
158
|
-
declare function NexusChatWidget({ title, subtitle, fabLabel, avatarIcon, placeholder, emptyTitle, emptyDescription, dataSources, suggestedPrompts, isOpen, isTyping, messages, streamingText, liveTraceEvents, showActivity, onOpen, onClose, onSend, onAbort, onExpandToFullPage, hideFab, placement, }: NexusChatWidgetProps):
|
|
157
|
+
declare function NexusChatWidget({ title, subtitle, fabLabel, avatarIcon, placeholder, emptyTitle, emptyDescription, dataSources, suggestedPrompts, isOpen, isTyping, messages, streamingText, liveTraceEvents, showActivity, onOpen, onClose, onSend, onAbort, onExpandToFullPage, hideFab, placement, }: NexusChatWidgetProps): react.JSX.Element | null;
|
|
159
158
|
|
|
160
|
-
declare const Box: ({ children, ...rest }: BoxProps) =>
|
|
159
|
+
declare const Box: ({ children, ...rest }: BoxProps) => react.JSX.Element;
|
|
161
160
|
|
|
162
161
|
interface ChatHistoryConversation {
|
|
163
162
|
id: string;
|
|
@@ -218,14 +217,14 @@ interface NexusChatDialogProps {
|
|
|
218
217
|
onDeleteConversation?: (id: string) => void | Promise<boolean>;
|
|
219
218
|
onNewConversation?: () => void;
|
|
220
219
|
}
|
|
221
|
-
declare function NexusChatDialog({ open, onClose, title, subtitle, placeholder, suggestedPrompts, showAiChip, isTyping, messages, streamingText, liveTraceEvents, showActivity, onSend, onAbort, background, followUpPrompts, followUpLabel, topOffset, conversations, activeConversationId, onSelectConversation, onDeleteConversation, onNewConversation, }: NexusChatDialogProps):
|
|
220
|
+
declare function NexusChatDialog({ open, onClose, title, subtitle, placeholder, suggestedPrompts, showAiChip, isTyping, messages, streamingText, liveTraceEvents, showActivity, onSend, onAbort, background, followUpPrompts, followUpLabel, topOffset, conversations, activeConversationId, onSelectConversation, onDeleteConversation, onNewConversation, }: NexusChatDialogProps): react.JSX.Element;
|
|
222
221
|
|
|
223
222
|
interface FABButtonProps {
|
|
224
223
|
onOpen: () => void;
|
|
225
224
|
fabLabel: string;
|
|
226
225
|
placement?: "bottom-right" | "bottom-left";
|
|
227
226
|
}
|
|
228
|
-
declare const FABButton: ({ onOpen, fabLabel, placement }: FABButtonProps) =>
|
|
227
|
+
declare const FABButton: ({ onOpen, fabLabel, placement }: FABButtonProps) => react.JSX.Element;
|
|
229
228
|
|
|
230
229
|
interface AgentChatWindowProps {
|
|
231
230
|
title?: string;
|
|
@@ -247,7 +246,7 @@ interface AgentChatWindowProps {
|
|
|
247
246
|
inputSx?: SxProps<Theme>;
|
|
248
247
|
sx?: SxProps<Theme>;
|
|
249
248
|
}
|
|
250
|
-
declare const AgentChatWindow: ({ title, subtitle, showAiChip, headerActions, body, followUpLabel, followUpPrompts, onSelectFollowUp, onSend, inputDisabled, inputPlaceholder, isStreaming, onStop, inputActions, inputRef, isEmpty, inputSx, sx, }: AgentChatWindowProps) =>
|
|
249
|
+
declare const AgentChatWindow: ({ title, subtitle, showAiChip, headerActions, body, followUpLabel, followUpPrompts, onSelectFollowUp, onSend, inputDisabled, inputPlaceholder, isStreaming, onStop, inputActions, inputRef, isEmpty, inputSx, sx, }: AgentChatWindowProps) => react.JSX.Element;
|
|
251
250
|
|
|
252
251
|
interface AgentChatWindowHeaderProps {
|
|
253
252
|
title?: string;
|
|
@@ -256,7 +255,7 @@ interface AgentChatWindowHeaderProps {
|
|
|
256
255
|
actions?: React.ReactNode;
|
|
257
256
|
sx?: SxProps<Theme>;
|
|
258
257
|
}
|
|
259
|
-
declare const AgentChatWindowHeader: ({ title, subtitle, showAiChip, actions, sx, }: AgentChatWindowHeaderProps) =>
|
|
258
|
+
declare const AgentChatWindowHeader: ({ title, subtitle, showAiChip, actions, sx, }: AgentChatWindowHeaderProps) => react.JSX.Element;
|
|
260
259
|
|
|
261
260
|
interface ChatInputProps {
|
|
262
261
|
onSend: (message: string) => void;
|
|
@@ -272,9 +271,9 @@ interface ChatInputProps {
|
|
|
272
271
|
onChange?: (value: string) => void;
|
|
273
272
|
inputRef?: React.Ref<HTMLTextAreaElement>;
|
|
274
273
|
}
|
|
275
|
-
declare const ChatInput: ({ onSend, disabled, placeholder, maxRows, sendButtonTitle, isStreaming, onStop, stopButtonTitle, actions, value: controlledValue, onChange, inputRef, }: ChatInputProps) =>
|
|
274
|
+
declare const ChatInput: ({ onSend, disabled, placeholder, maxRows, sendButtonTitle, isStreaming, onStop, stopButtonTitle, actions, value: controlledValue, onChange, inputRef, }: ChatInputProps) => react.JSX.Element;
|
|
276
275
|
|
|
277
|
-
declare const ChatHistory: ({ conversations, activeConversationId, onSelectConversation, onDeleteConversation, onNewConversation, onClose, onSearchChange, title, emptyText, newChatTitle, deleteConversationTitle, searchPlaceholder, searchDebounceMs, width, sx, formatMessageCount, isCollapsed, onToggleCollapse, collapsedWidth, }: ChatHistoryProps) =>
|
|
276
|
+
declare const ChatHistory: ({ conversations, activeConversationId, onSelectConversation, onDeleteConversation, onNewConversation, onClose, onSearchChange, title, emptyText, newChatTitle, deleteConversationTitle, searchPlaceholder, searchDebounceMs, width, sx, formatMessageCount, isCollapsed, onToggleCollapse, collapsedWidth, }: ChatHistoryProps) => react.JSX.Element;
|
|
278
277
|
|
|
279
278
|
interface ChatHistoryHeaderProps {
|
|
280
279
|
title: string;
|
|
@@ -286,7 +285,7 @@ interface ChatHistoryHeaderProps {
|
|
|
286
285
|
searchPlaceholder?: string;
|
|
287
286
|
searchDebounceMs?: number;
|
|
288
287
|
}
|
|
289
|
-
declare const ChatHistoryHeader: ({ title, newChatTitle, onNewConversation, onClose, onToggleCollapse, onSearchChange, searchPlaceholder, searchDebounceMs, }: ChatHistoryHeaderProps) =>
|
|
288
|
+
declare const ChatHistoryHeader: ({ title, newChatTitle, onNewConversation, onClose, onToggleCollapse, onSearchChange, searchPlaceholder, searchDebounceMs, }: ChatHistoryHeaderProps) => react.JSX.Element;
|
|
290
289
|
|
|
291
290
|
interface ChatHistoryButtonBaseProps {
|
|
292
291
|
conversation: ChatHistoryConversation;
|
|
@@ -299,7 +298,7 @@ interface ChatHistoryButtonBaseProps {
|
|
|
299
298
|
showMessageCount?: boolean;
|
|
300
299
|
sx?: SxProps$1<Theme$1>;
|
|
301
300
|
}
|
|
302
|
-
declare const ChatHistoryButtonBase: ({ conversation, isActive, highlightQuery, onSelectConversation, onDeleteConversation, deleteConversationTitle, formatMessageCount, showMessageCount, sx, }: ChatHistoryButtonBaseProps) =>
|
|
301
|
+
declare const ChatHistoryButtonBase: ({ conversation, isActive, highlightQuery, onSelectConversation, onDeleteConversation, deleteConversationTitle, formatMessageCount, showMessageCount, sx, }: ChatHistoryButtonBaseProps) => react.JSX.Element;
|
|
303
302
|
|
|
304
303
|
declare const chatHistoryMatchesQuery: (conversation: ChatHistoryConversation, query: string) => boolean;
|
|
305
304
|
declare const filterChatHistoryConversations: <TConversation extends ChatHistoryConversation>(conversations: TConversation[], query: string) => TConversation[];
|
|
@@ -307,14 +306,14 @@ declare const filterChatHistoryConversations: <TConversation extends ChatHistory
|
|
|
307
306
|
interface CopyableTableContainerProps {
|
|
308
307
|
children: React.ReactNode;
|
|
309
308
|
}
|
|
310
|
-
declare const CopyableTableContainer: ({ children, }: CopyableTableContainerProps) =>
|
|
309
|
+
declare const CopyableTableContainer: ({ children, }: CopyableTableContainerProps) => react.JSX.Element;
|
|
311
310
|
|
|
312
311
|
interface ChatAvatarProps {
|
|
313
312
|
size?: "sm" | "md" | "lg";
|
|
314
313
|
icon?: React.ReactNode;
|
|
315
314
|
sx?: object | object[];
|
|
316
315
|
}
|
|
317
|
-
declare const ChatAvatar: ({ size, icon, sx }: ChatAvatarProps) =>
|
|
316
|
+
declare const ChatAvatar: ({ size, icon, sx }: ChatAvatarProps) => react.JSX.Element;
|
|
318
317
|
|
|
319
318
|
interface MarkdownContentProps {
|
|
320
319
|
content: string;
|
|
@@ -323,7 +322,7 @@ interface MarkdownContentProps {
|
|
|
323
322
|
components?: Partial<Components>;
|
|
324
323
|
}
|
|
325
324
|
declare const chatWindowMarkdownComponents: Partial<Components>;
|
|
326
|
-
declare const MarkdownContent: ({ content, highlightQuery, components: extraComponents }: MarkdownContentProps) =>
|
|
325
|
+
declare const MarkdownContent: ({ content, highlightQuery, components: extraComponents }: MarkdownContentProps) => react.JSX.Element;
|
|
327
326
|
|
|
328
327
|
interface MessageBubbleProps {
|
|
329
328
|
message: ChatMessage;
|
|
@@ -338,13 +337,13 @@ interface MessageBubbleProps {
|
|
|
338
337
|
/** Override or extend individual markdown element renderers */
|
|
339
338
|
markdownComponents?: Partial<Components>;
|
|
340
339
|
}
|
|
341
|
-
declare const MessageBubble: ({ message, highlightQuery, showActivity, onFeedback, onDownloadFile, contentRenderer, markdownComponents, }: MessageBubbleProps) =>
|
|
340
|
+
declare const MessageBubble: ({ message, highlightQuery, showActivity, onFeedback, onDownloadFile, contentRenderer, markdownComponents, }: MessageBubbleProps) => react.JSX.Element;
|
|
342
341
|
|
|
343
342
|
interface MessageFeedbackBarProps {
|
|
344
343
|
message: ChatMessage;
|
|
345
344
|
onFeedback: (messageId: string, rating: "positive" | "negative", comment?: string) => void;
|
|
346
345
|
}
|
|
347
|
-
declare const MessageFeedbackBar: ({ message, onFeedback }: MessageFeedbackBarProps) =>
|
|
346
|
+
declare const MessageFeedbackBar: ({ message, onFeedback }: MessageFeedbackBarProps) => react.JSX.Element;
|
|
348
347
|
|
|
349
348
|
interface StreamingBubbleProps {
|
|
350
349
|
text: string;
|
|
@@ -354,19 +353,19 @@ interface StreamingBubbleProps {
|
|
|
354
353
|
onAbort?: () => void;
|
|
355
354
|
showActivity?: boolean;
|
|
356
355
|
}
|
|
357
|
-
declare const StreamingBubble: ({ text, traceEvents, highlightQuery, avatarIcon, onAbort, showActivity, }: StreamingBubbleProps) =>
|
|
356
|
+
declare const StreamingBubble: ({ text, traceEvents, highlightQuery, avatarIcon, onAbort, showActivity, }: StreamingBubbleProps) => react.JSX.Element;
|
|
358
357
|
|
|
359
358
|
interface TypingIndicatorProps {
|
|
360
359
|
traceLabel?: string;
|
|
361
360
|
avatarIcon?: React.ReactNode;
|
|
362
361
|
}
|
|
363
|
-
declare const TypingIndicator: ({ traceLabel, avatarIcon }: TypingIndicatorProps) =>
|
|
362
|
+
declare const TypingIndicator: ({ traceLabel, avatarIcon }: TypingIndicatorProps) => react.JSX.Element;
|
|
364
363
|
|
|
365
364
|
interface SuggestedPromptsProps {
|
|
366
365
|
prompts: string[];
|
|
367
366
|
onSelect: (prompt: string) => void;
|
|
368
367
|
}
|
|
369
|
-
declare const SuggestedPrompts: ({ prompts, onSelect }: SuggestedPromptsProps) =>
|
|
368
|
+
declare const SuggestedPrompts: ({ prompts, onSelect }: SuggestedPromptsProps) => react.JSX.Element;
|
|
370
369
|
|
|
371
370
|
interface MessageListProps {
|
|
372
371
|
messages: ChatMessage[];
|
|
@@ -379,7 +378,7 @@ interface MessageListProps {
|
|
|
379
378
|
showActivity?: boolean;
|
|
380
379
|
markdownComponents?: Partial<Components>;
|
|
381
380
|
}
|
|
382
|
-
declare const MessageList: ({ messages, isTyping, streamingText, liveTraceEvents, highlightQuery, onAbort, showActivity, markdownComponents, }: MessageListProps) =>
|
|
381
|
+
declare const MessageList: ({ messages, isTyping, streamingText, liveTraceEvents, highlightQuery, onAbort, showActivity, markdownComponents, }: MessageListProps) => react.JSX.Element;
|
|
383
382
|
|
|
384
383
|
interface EmptyStateProps {
|
|
385
384
|
title: string;
|
|
@@ -389,12 +388,12 @@ interface EmptyStateProps {
|
|
|
389
388
|
avatarIcon?: React.ReactNode;
|
|
390
389
|
onSelect: (prompt: string) => void;
|
|
391
390
|
}
|
|
392
|
-
declare const EmptyState: ({ title, description, dataSources, prompts, avatarIcon, onSelect, }: EmptyStateProps) =>
|
|
391
|
+
declare const EmptyState: ({ title, description, dataSources, prompts, avatarIcon, onSelect, }: EmptyStateProps) => react.JSX.Element;
|
|
393
392
|
|
|
394
393
|
interface SourceCitationsProps {
|
|
395
394
|
sources: string[];
|
|
396
395
|
}
|
|
397
|
-
declare const SourceCitations: ({ sources }: SourceCitationsProps) =>
|
|
396
|
+
declare const SourceCitations: ({ sources }: SourceCitationsProps) => react.JSX.Element | null;
|
|
398
397
|
|
|
399
398
|
declare const latestTraceLabel: (events: TraceEvent[]) => string;
|
|
400
399
|
|
|
@@ -406,9 +405,9 @@ type Props$1 = Omit<TypographyProps, "variant" | "component">;
|
|
|
406
405
|
*/
|
|
407
406
|
declare const Code: react.ForwardRefExoticComponent<Omit<Props$1, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
408
407
|
|
|
409
|
-
declare const Container: (props: ContainerProps) =>
|
|
408
|
+
declare const Container: (props: ContainerProps) => react.JSX.Element;
|
|
410
409
|
|
|
411
|
-
declare const Grid: (props: GridProps) =>
|
|
410
|
+
declare const Grid: (props: GridProps) => react.JSX.Element;
|
|
412
411
|
|
|
413
412
|
interface LinkProps extends LinkProps$1 {
|
|
414
413
|
/** Open in a new tab. Defaults to false. */
|
|
@@ -420,7 +419,7 @@ interface LinkProps extends LinkProps$1 {
|
|
|
420
419
|
*
|
|
421
420
|
* For button-shaped links use `PrimaryButtonLink` / `SecondaryButtonLink`.
|
|
422
421
|
*/
|
|
423
|
-
declare const Link: ({ openInNewTab, children, sx, ...rest }: LinkProps) =>
|
|
422
|
+
declare const Link: ({ openInNewTab, children, sx, ...rest }: LinkProps) => react.JSX.Element;
|
|
424
423
|
|
|
425
424
|
interface SelectOption {
|
|
426
425
|
value: string;
|
|
@@ -440,7 +439,7 @@ interface SelectProps extends Omit<SelectProps$1, "label"> {
|
|
|
440
439
|
*
|
|
441
440
|
* Use `options` for a simple array-driven list, or pass `<MenuItem>` children directly.
|
|
442
441
|
*/
|
|
443
|
-
declare const Select: ({ label, options, formControlSx, id, children, size, ...rest }: SelectProps) =>
|
|
442
|
+
declare const Select: ({ label, options, formControlSx, id, children, size, ...rest }: SelectProps) => react.JSX.Element;
|
|
444
443
|
|
|
445
444
|
interface SkipLinkProps {
|
|
446
445
|
/** The ID of the main content element to skip to, e.g. "main-content". */
|
|
@@ -456,7 +455,7 @@ interface SkipLinkProps {
|
|
|
456
455
|
* @example
|
|
457
456
|
* <SkipLink href="#main-content" />
|
|
458
457
|
*/
|
|
459
|
-
declare const SkipLink: ({ href, children, }: SkipLinkProps) =>
|
|
458
|
+
declare const SkipLink: ({ href, children, }: SkipLinkProps) => react.JSX.Element;
|
|
460
459
|
|
|
461
460
|
type StatusBadgeVariant = "success" | "warning" | "error" | "info" | "neutral";
|
|
462
461
|
interface StatusBadgeProps {
|
|
@@ -470,9 +469,9 @@ interface StatusBadgeProps {
|
|
|
470
469
|
* For RAG-specific statuses (On Track / At Risk / Off Track) prefer `RagChip`.
|
|
471
470
|
* For domain-specific workflow statuses prefer `StatusChip`.
|
|
472
471
|
*/
|
|
473
|
-
declare const StatusBadge: ({ variant, label, }: StatusBadgeProps) =>
|
|
472
|
+
declare const StatusBadge: ({ variant, label, }: StatusBadgeProps) => react.JSX.Element;
|
|
474
473
|
|
|
475
|
-
declare const Switch: (props: SwitchProps) =>
|
|
474
|
+
declare const Switch: (props: SwitchProps) => react.JSX.Element;
|
|
476
475
|
|
|
477
476
|
/**
|
|
478
477
|
* Typed wrappers around MUI Typography that fix the `variant` prop and
|
|
@@ -504,7 +503,7 @@ interface AccordionGroupProps {
|
|
|
504
503
|
children: ReactNode;
|
|
505
504
|
sx?: SxProps$1<Theme$1>;
|
|
506
505
|
}
|
|
507
|
-
declare const AccordionGroup: ({ children, sx }: AccordionGroupProps) =>
|
|
506
|
+
declare const AccordionGroup: ({ children, sx }: AccordionGroupProps) => react.JSX.Element;
|
|
508
507
|
interface AccordionGroupItemProps {
|
|
509
508
|
summary: ReactNode;
|
|
510
509
|
children: ReactNode;
|
|
@@ -515,7 +514,7 @@ interface AccordionGroupItemProps {
|
|
|
515
514
|
sx?: SxProps$1<Theme$1>;
|
|
516
515
|
detailsSx?: SxProps$1<Theme$1>;
|
|
517
516
|
}
|
|
518
|
-
declare const AccordionGroupItem: ({ summary, children, defaultExpanded, disabled, summaryProps, expandIcon, sx, detailsSx, }: AccordionGroupItemProps) =>
|
|
517
|
+
declare const AccordionGroupItem: ({ summary, children, defaultExpanded, disabled, summaryProps, expandIcon, sx, detailsSx, }: AccordionGroupItemProps) => react.JSX.Element;
|
|
519
518
|
|
|
520
519
|
interface AccordionSingleProps {
|
|
521
520
|
summary: ReactNode;
|
|
@@ -529,7 +528,7 @@ interface AccordionSingleProps {
|
|
|
529
528
|
sx?: SxProps$1<Theme$1>;
|
|
530
529
|
detailsSx?: SxProps$1<Theme$1>;
|
|
531
530
|
}
|
|
532
|
-
declare const AccordionSingle: ({ summary, children, defaultExpanded, expanded, onChange, disabled, summaryProps, expandIcon, sx, detailsSx, }: AccordionSingleProps) =>
|
|
531
|
+
declare const AccordionSingle: ({ summary, children, defaultExpanded, expanded, onChange, disabled, summaryProps, expandIcon, sx, detailsSx, }: AccordionSingleProps) => react.JSX.Element;
|
|
533
532
|
|
|
534
533
|
interface SecondaryButtonProps extends Omit<ButtonProps, "variant" | "color"> {
|
|
535
534
|
size?: "small" | "medium" | "large";
|
|
@@ -570,33 +569,33 @@ interface CardProps extends CardProps$1 {
|
|
|
570
569
|
/** Controls the colour of subtext. */
|
|
571
570
|
trend?: CardTrend;
|
|
572
571
|
}
|
|
573
|
-
declare const Card: ({ icon, label, value, subtext, trend, sx, children, ...rest }: CardProps) =>
|
|
572
|
+
declare const Card: ({ icon, label, value, subtext, trend, sx, children, ...rest }: CardProps) => react.JSX.Element;
|
|
574
573
|
|
|
575
574
|
type AiCardProps = CardProps;
|
|
576
|
-
declare const AiCard: ({ sx, children, ...rest }: AiCardProps) =>
|
|
575
|
+
declare const AiCard: ({ sx, children, ...rest }: AiCardProps) => react.JSX.Element;
|
|
577
576
|
|
|
578
577
|
type GlassCardProps = CardProps;
|
|
579
|
-
declare const GlassCard: ({ sx, ...rest }: GlassCardProps) =>
|
|
578
|
+
declare const GlassCard: ({ sx, ...rest }: GlassCardProps) => react.JSX.Element;
|
|
580
579
|
|
|
581
580
|
type AiGlassCardProps = GlassCardProps;
|
|
582
|
-
declare const AiGlassCard: ({ sx, children, ...rest }: AiGlassCardProps) =>
|
|
581
|
+
declare const AiGlassCard: ({ sx, children, ...rest }: AiGlassCardProps) => react.JSX.Element;
|
|
583
582
|
|
|
584
|
-
declare const Paper: ({ children, ...rest }: PaperProps) =>
|
|
583
|
+
declare const Paper: ({ children, ...rest }: PaperProps) => react.JSX.Element;
|
|
585
584
|
|
|
586
585
|
type AiPaperProps = PaperProps;
|
|
587
|
-
declare const AiPaper: ({ sx, children, ...rest }: AiPaperProps) =>
|
|
586
|
+
declare const AiPaper: ({ sx, children, ...rest }: AiPaperProps) => react.JSX.Element;
|
|
588
587
|
|
|
589
588
|
type GlassPaperProps = PaperProps;
|
|
590
|
-
declare const GlassPaper: ({ sx, children, ...rest }: GlassPaperProps) =>
|
|
589
|
+
declare const GlassPaper: ({ sx, children, ...rest }: GlassPaperProps) => react.JSX.Element;
|
|
591
590
|
|
|
592
591
|
type AiGlassPaperProps = GlassPaperProps;
|
|
593
|
-
declare const AiGlassPaper: ({ sx, children, ...rest }: AiGlassPaperProps) =>
|
|
592
|
+
declare const AiGlassPaper: ({ sx, children, ...rest }: AiGlassPaperProps) => react.JSX.Element;
|
|
594
593
|
|
|
595
|
-
declare const Collapse: ({ children, ...rest }: CollapseProps) =>
|
|
594
|
+
declare const Collapse: ({ children, ...rest }: CollapseProps) => react.JSX.Element;
|
|
596
595
|
|
|
597
|
-
declare const NexusDataGrid: ({ sx, ...rest }: DataGridProps) =>
|
|
596
|
+
declare const NexusDataGrid: ({ sx, ...rest }: DataGridProps) => react.JSX.Element;
|
|
598
597
|
|
|
599
|
-
declare const ButtonBase: (props: ButtonBaseProps) =>
|
|
598
|
+
declare const ButtonBase: (props: ButtonBaseProps) => react.JSX.Element;
|
|
600
599
|
|
|
601
600
|
interface CheckboxGroupProps {
|
|
602
601
|
title?: React.ReactNode;
|
|
@@ -609,15 +608,15 @@ interface CheckboxGroupProps {
|
|
|
609
608
|
}
|
|
610
609
|
declare const CheckboxGroup: React.FC<CheckboxGroupProps>;
|
|
611
610
|
|
|
612
|
-
declare const Chip: (props: ChipProps) =>
|
|
611
|
+
declare const Chip: (props: ChipProps) => react.JSX.Element;
|
|
613
612
|
|
|
614
|
-
declare const Dialog: (props: DialogProps) =>
|
|
615
|
-
declare const DialogTitle: (props: DialogTitleProps) =>
|
|
616
|
-
declare const DialogContent: (props: DialogContentProps) =>
|
|
617
|
-
declare const DialogActions: (props: DialogActionsProps) =>
|
|
618
|
-
declare const DialogContentText: (props: DialogContentTextProps) =>
|
|
613
|
+
declare const Dialog: (props: DialogProps) => react.JSX.Element;
|
|
614
|
+
declare const DialogTitle: (props: DialogTitleProps) => react.JSX.Element;
|
|
615
|
+
declare const DialogContent: (props: DialogContentProps) => react.JSX.Element;
|
|
616
|
+
declare const DialogActions: (props: DialogActionsProps) => react.JSX.Element;
|
|
617
|
+
declare const DialogContentText: (props: DialogContentTextProps) => react.JSX.Element;
|
|
619
618
|
|
|
620
|
-
declare const Divider: ({ children, ...rest }: DividerProps) =>
|
|
619
|
+
declare const Divider: ({ children, ...rest }: DividerProps) => react.JSX.Element;
|
|
621
620
|
|
|
622
621
|
type GlassPaperAsyncProps = Omit<GlassPaperProps, "children"> & {
|
|
623
622
|
title: string;
|
|
@@ -630,7 +629,7 @@ type GlassPaperAsyncProps = Omit<GlassPaperProps, "children"> & {
|
|
|
630
629
|
errorMessage?: string;
|
|
631
630
|
children?: ReactNode;
|
|
632
631
|
};
|
|
633
|
-
declare const GlassPaperAsync: ({ title, description, actions, isLoading, isError, errorMessage, children, ...rest }: GlassPaperAsyncProps) =>
|
|
632
|
+
declare const GlassPaperAsync: ({ title, description, actions, isLoading, isError, errorMessage, children, ...rest }: GlassPaperAsyncProps) => react.JSX.Element;
|
|
634
633
|
|
|
635
634
|
type PaperAsyncProps = Omit<PaperProps, "children"> & {
|
|
636
635
|
title: string;
|
|
@@ -641,10 +640,10 @@ type PaperAsyncProps = Omit<PaperProps, "children"> & {
|
|
|
641
640
|
errorMessage?: string;
|
|
642
641
|
children?: ReactNode;
|
|
643
642
|
};
|
|
644
|
-
declare const PaperAsync: ({ title, description, actions, isLoading, isError, errorMessage, children, ...rest }: PaperAsyncProps) =>
|
|
643
|
+
declare const PaperAsync: ({ title, description, actions, isLoading, isError, errorMessage, children, ...rest }: PaperAsyncProps) => react.JSX.Element;
|
|
645
644
|
|
|
646
645
|
type GreenWaveBackgroundProps = BoxProps;
|
|
647
|
-
declare const GreenWaveBackground: ({ sx, children, ...rest }: GreenWaveBackgroundProps) =>
|
|
646
|
+
declare const GreenWaveBackground: ({ sx, children, ...rest }: GreenWaveBackgroundProps) => react.JSX.Element;
|
|
648
647
|
|
|
649
648
|
type IconButtonVariant = "standard" | "filled";
|
|
650
649
|
type IconButtonProps = Omit<IconButtonProps$1, "title"> & {
|
|
@@ -656,7 +655,7 @@ type IconButtonProps = Omit<IconButtonProps$1, "title"> & {
|
|
|
656
655
|
*/
|
|
657
656
|
variant?: IconButtonVariant;
|
|
658
657
|
};
|
|
659
|
-
declare const IconButton: ({ title, ariaLabel, children, disabled, variant, sx, ...rest }: IconButtonProps) =>
|
|
658
|
+
declare const IconButton: ({ title, ariaLabel, children, disabled, variant, sx, ...rest }: IconButtonProps) => react.JSX.Element;
|
|
660
659
|
|
|
661
660
|
type AvatarSize = "sm" | "md" | "lg";
|
|
662
661
|
type AvatarVariant = "primary" | "secondary";
|
|
@@ -681,12 +680,12 @@ interface AvatarProps {
|
|
|
681
680
|
* empty-state illustrations. Use `sx` only for positioning/spacing overrides;
|
|
682
681
|
* let `variant` and `size` control the visual design.
|
|
683
682
|
*/
|
|
684
|
-
declare const Avatar: ({ size, variant, children, sx, }: AvatarProps) =>
|
|
683
|
+
declare const Avatar: ({ size, variant, children, sx, }: AvatarProps) => react.JSX.Element;
|
|
685
684
|
|
|
686
685
|
interface LoadingSpinnerNexusProps {
|
|
687
686
|
variant?: "small" | "large";
|
|
688
687
|
}
|
|
689
|
-
declare const LoadingSpinnerNexus: ({ variant, }: LoadingSpinnerNexusProps) =>
|
|
688
|
+
declare const LoadingSpinnerNexus: ({ variant, }: LoadingSpinnerNexusProps) => react.JSX.Element;
|
|
690
689
|
|
|
691
690
|
interface LocationMultiSelectProps {
|
|
692
691
|
ariaLabel?: string;
|
|
@@ -719,52 +718,52 @@ type LogoOptionBaseProps = {
|
|
|
719
718
|
};
|
|
720
719
|
|
|
721
720
|
declare const LogoOptions: {
|
|
722
|
-
LogoOptionBase: ({ size, fontFamily, fontWeight, text, letterSpacing, nodeShimmerMode, baselineOffset, ariaLabel, }: LogoOptionBaseProps) =>
|
|
721
|
+
LogoOptionBase: ({ size, fontFamily, fontWeight, text, letterSpacing, nodeShimmerMode, baselineOffset, ariaLabel, }: LogoOptionBaseProps) => react.JSX.Element;
|
|
723
722
|
LogoOption1: ({ size }: {
|
|
724
723
|
size?: "sm" | "md" | "lg";
|
|
725
|
-
}) =>
|
|
724
|
+
}) => react.JSX.Element;
|
|
726
725
|
LogoOption2: ({ size }: {
|
|
727
726
|
size?: "sm" | "md" | "lg";
|
|
728
|
-
}) =>
|
|
727
|
+
}) => react.JSX.Element;
|
|
729
728
|
LogoOption3: ({ size }: {
|
|
730
729
|
size?: "sm" | "md" | "lg";
|
|
731
|
-
}) =>
|
|
730
|
+
}) => react.JSX.Element;
|
|
732
731
|
LogoOption4: ({ size }: {
|
|
733
732
|
size?: "sm" | "md" | "lg";
|
|
734
|
-
}) =>
|
|
733
|
+
}) => react.JSX.Element;
|
|
735
734
|
LogoOption5: ({ size }: {
|
|
736
735
|
size?: "sm" | "md" | "lg";
|
|
737
|
-
}) =>
|
|
736
|
+
}) => react.JSX.Element;
|
|
738
737
|
LogoOption6: ({ size }: {
|
|
739
738
|
size?: "sm" | "md" | "lg";
|
|
740
|
-
}) =>
|
|
739
|
+
}) => react.JSX.Element;
|
|
741
740
|
LogoOption7: ({ size }: {
|
|
742
741
|
size?: "sm" | "md" | "lg";
|
|
743
|
-
}) =>
|
|
742
|
+
}) => react.JSX.Element;
|
|
744
743
|
LogoOption8: ({ size }: {
|
|
745
744
|
size?: "sm" | "md" | "lg";
|
|
746
|
-
}) =>
|
|
745
|
+
}) => react.JSX.Element;
|
|
747
746
|
LogoOption9: ({ size }: {
|
|
748
747
|
size?: "sm" | "md" | "lg";
|
|
749
|
-
}) =>
|
|
748
|
+
}) => react.JSX.Element;
|
|
750
749
|
LogoOption10: ({ size }: {
|
|
751
750
|
size?: "sm" | "md" | "lg";
|
|
752
|
-
}) =>
|
|
751
|
+
}) => react.JSX.Element;
|
|
753
752
|
LogoOption11: ({ size }: {
|
|
754
753
|
size?: "sm" | "md" | "lg";
|
|
755
|
-
}) =>
|
|
754
|
+
}) => react.JSX.Element;
|
|
756
755
|
LogoOption12: ({ size }: {
|
|
757
756
|
size?: "sm" | "md" | "lg";
|
|
758
|
-
}) =>
|
|
757
|
+
}) => react.JSX.Element;
|
|
759
758
|
LogoOption13: ({ size }: {
|
|
760
759
|
size?: "sm" | "md" | "lg";
|
|
761
|
-
}) =>
|
|
760
|
+
}) => react.JSX.Element;
|
|
762
761
|
LogoOption14: ({ size }: {
|
|
763
762
|
size?: "sm" | "md" | "lg";
|
|
764
|
-
}) =>
|
|
763
|
+
}) => react.JSX.Element;
|
|
765
764
|
LogoOption15: ({ size }: {
|
|
766
765
|
size?: "sm" | "md" | "lg";
|
|
767
|
-
}) =>
|
|
766
|
+
}) => react.JSX.Element;
|
|
768
767
|
};
|
|
769
768
|
|
|
770
769
|
interface NexusHomeProps {
|
|
@@ -776,7 +775,7 @@ type LogoProps = {
|
|
|
776
775
|
size?: "sm" | "md" | "lg";
|
|
777
776
|
};
|
|
778
777
|
/** Option 7 — Sage UI Medium weight, NEXUS all-caps, shimmer on whole word */
|
|
779
|
-
declare const NexusLogo: ({ size }: LogoProps) =>
|
|
778
|
+
declare const NexusLogo: ({ size }: LogoProps) => react.JSX.Element;
|
|
780
779
|
|
|
781
780
|
interface PrimaryButtonProps extends Omit<ButtonProps, "variant" | "color"> {
|
|
782
781
|
size?: "small" | "medium" | "large";
|
|
@@ -796,7 +795,7 @@ type RagStatus = "On Track" | "At Risk" | "Off Track" | string;
|
|
|
796
795
|
interface RagDotProps {
|
|
797
796
|
status: RagStatus;
|
|
798
797
|
}
|
|
799
|
-
declare const RagDot: ({ status }: RagDotProps) =>
|
|
798
|
+
declare const RagDot: ({ status }: RagDotProps) => react.JSX.Element;
|
|
800
799
|
|
|
801
800
|
type ColourProp = "jade" | "amber" | "cherry" | string;
|
|
802
801
|
interface RagChipProps extends Omit<ChipProps, "label" | "color" | "icon"> {
|
|
@@ -804,7 +803,7 @@ interface RagChipProps extends Omit<ChipProps, "label" | "color" | "icon"> {
|
|
|
804
803
|
status?: string;
|
|
805
804
|
colour?: ColourProp;
|
|
806
805
|
}
|
|
807
|
-
declare const RagChip: ({ label, status, colour, size, variant, sx, ...rest }: RagChipProps) =>
|
|
806
|
+
declare const RagChip: ({ label, status, colour, size, variant, sx, ...rest }: RagChipProps) => react.JSX.Element;
|
|
808
807
|
|
|
809
808
|
interface SecondaryButtonLinkProps extends Omit<SecondaryButtonProps, "href" | "component"> {
|
|
810
809
|
href: string;
|
|
@@ -842,7 +841,7 @@ interface SideBladeProps {
|
|
|
842
841
|
* On mobile (< sm) it becomes a full temporary overlay drawer.
|
|
843
842
|
* Content is fully customisable via `children`.
|
|
844
843
|
*/
|
|
845
|
-
declare const SideBlade: ({ open, onToggle, children, collapsedContent, expandedWidth, collapsedWidth, sx, headerActions, }: SideBladeProps) =>
|
|
844
|
+
declare const SideBlade: ({ open, onToggle, children, collapsedContent, expandedWidth, collapsedWidth, sx, headerActions, }: SideBladeProps) => react.JSX.Element;
|
|
846
845
|
|
|
847
846
|
interface SideBladeNavItem {
|
|
848
847
|
label: string;
|
|
@@ -861,7 +860,7 @@ interface SideBladeNavListItemProps {
|
|
|
861
860
|
}>;
|
|
862
861
|
onSelect?: (item: SideBladeNavItem) => void;
|
|
863
862
|
}
|
|
864
|
-
declare const SideBladeNavListItem: ({ item, isActive, collapsed, linkComponent, onSelect, }: SideBladeNavListItemProps) =>
|
|
863
|
+
declare const SideBladeNavListItem: ({ item, isActive, collapsed, linkComponent, onSelect, }: SideBladeNavListItemProps) => react.JSX.Element;
|
|
865
864
|
|
|
866
865
|
interface SideBladeNavListProps {
|
|
867
866
|
items: SideBladeNavItem[];
|
|
@@ -874,7 +873,7 @@ interface SideBladeNavListProps {
|
|
|
874
873
|
}>;
|
|
875
874
|
onItemSelect?: (item: SideBladeNavItem) => void;
|
|
876
875
|
}
|
|
877
|
-
declare const SideBladeNavList: ({ items, currentPathname, selectedHref, collapsed, linkComponent, onItemSelect, }: SideBladeNavListProps) =>
|
|
876
|
+
declare const SideBladeNavList: ({ items, currentPathname, selectedHref, collapsed, linkComponent, onItemSelect, }: SideBladeNavListProps) => react.JSX.Element;
|
|
878
877
|
|
|
879
878
|
type SkeletonProps = SkeletonProps$1;
|
|
880
879
|
/**
|
|
@@ -888,7 +887,7 @@ type SkeletonProps = SkeletonProps$1;
|
|
|
888
887
|
* - `variant="circular"` — pass explicit `width` and `height` for an avatar
|
|
889
888
|
* placeholder.
|
|
890
889
|
*/
|
|
891
|
-
declare const Skeleton: ({ variant, width, ...rest }: SkeletonProps) =>
|
|
890
|
+
declare const Skeleton: ({ variant, width, ...rest }: SkeletonProps) => react.JSX.Element;
|
|
892
891
|
|
|
893
892
|
interface SkillChipProps extends ChipProps {
|
|
894
893
|
label?: react__default.ReactNode;
|
|
@@ -896,7 +895,7 @@ interface SkillChipProps extends ChipProps {
|
|
|
896
895
|
}
|
|
897
896
|
declare const SkillChip: react__default.FC<SkillChipProps>;
|
|
898
897
|
|
|
899
|
-
declare const Stack: ({ children, ...rest }: StackProps) =>
|
|
898
|
+
declare const Stack: ({ children, ...rest }: StackProps) => react.JSX.Element;
|
|
900
899
|
|
|
901
900
|
type ChipSize = "default" | "small";
|
|
902
901
|
interface StatusChipProps extends ChipProps {
|
|
@@ -906,11 +905,11 @@ interface StatusChipProps extends ChipProps {
|
|
|
906
905
|
}
|
|
907
906
|
declare const StatusChip: React.FC<StatusChipProps>;
|
|
908
907
|
|
|
909
|
-
declare const Tab: (props: TabProps) =>
|
|
908
|
+
declare const Tab: (props: TabProps) => react.JSX.Element;
|
|
910
909
|
|
|
911
|
-
declare const Tabs: (props: TabsProps) =>
|
|
910
|
+
declare const Tabs: (props: TabsProps) => react.JSX.Element;
|
|
912
911
|
|
|
913
|
-
declare const TextField: (props: TextFieldProps) =>
|
|
912
|
+
declare const TextField: (props: TextFieldProps) => react.JSX.Element;
|
|
914
913
|
|
|
915
914
|
declare const ThemeToggle: React.FC;
|
|
916
915
|
|
|
@@ -918,18 +917,18 @@ interface TooltipProps extends Omit<TooltipProps$1, "title"> {
|
|
|
918
917
|
/** The tooltip content. Accepts a plain string, any ReactNode, or a React element for rich content. */
|
|
919
918
|
title: ReactNode;
|
|
920
919
|
}
|
|
921
|
-
declare const Tooltip: ({ title, children, ...rest }: TooltipProps) =>
|
|
920
|
+
declare const Tooltip: ({ title, children, ...rest }: TooltipProps) => react.JSX.Element;
|
|
922
921
|
|
|
923
922
|
type NexusLineChartProps = Omit<LineChartProps, "colors"> & {
|
|
924
923
|
children?: React.ReactNode;
|
|
925
924
|
};
|
|
926
|
-
declare function NexusLineChart({ sx, xAxis, grid, series, slots, slotProps, children, ...props }: NexusLineChartProps):
|
|
925
|
+
declare function NexusLineChart({ sx, xAxis, grid, series, slots, slotProps, children, ...props }: NexusLineChartProps): react.JSX.Element;
|
|
927
926
|
|
|
928
927
|
type NexusBarChartProps = Omit<BarChartProps, "colors">;
|
|
929
|
-
declare function NexusBarChart({ slotProps, slots, ...props }: NexusBarChartProps):
|
|
928
|
+
declare function NexusBarChart({ slotProps, slots, ...props }: NexusBarChartProps): react.JSX.Element;
|
|
930
929
|
|
|
931
930
|
type NexusPieChartProps = Omit<PieChartProps, "colors">;
|
|
932
|
-
declare function NexusPieChart({ slotProps, slots, ...props }: NexusPieChartProps):
|
|
931
|
+
declare function NexusPieChart({ slotProps, slots, ...props }: NexusPieChartProps): react.JSX.Element;
|
|
933
932
|
|
|
934
933
|
declare const getFaviconUrls: (versioned?: boolean) => {
|
|
935
934
|
svg: string;
|
|
@@ -1022,7 +1021,7 @@ declare const useTokens: () => ModeTokens;
|
|
|
1022
1021
|
type MuiAppThemeProviderProps = PropsWithChildren<{
|
|
1023
1022
|
mode?: ThemeMode;
|
|
1024
1023
|
}>;
|
|
1025
|
-
declare const MuiAppThemeProvider: ({ children, mode, }: MuiAppThemeProviderProps) =>
|
|
1024
|
+
declare const MuiAppThemeProvider: ({ children, mode, }: MuiAppThemeProviderProps) => react.JSX.Element;
|
|
1026
1025
|
|
|
1027
1026
|
type ThemeModeContextValue = {
|
|
1028
1027
|
mode: ThemeMode;
|
|
@@ -1034,7 +1033,7 @@ declare const useThemeMode: () => ThemeModeContextValue;
|
|
|
1034
1033
|
type ThemeModeProviderProps = PropsWithChildren<{
|
|
1035
1034
|
mode?: ThemeMode;
|
|
1036
1035
|
}>;
|
|
1037
|
-
declare const ThemeModeProvider: ({ children, mode: initialMode, }: ThemeModeProviderProps) =>
|
|
1036
|
+
declare const ThemeModeProvider: ({ children, mode: initialMode, }: ThemeModeProviderProps) => react.JSX.Element;
|
|
1038
1037
|
|
|
1039
1038
|
declare function formatSurnameFirstname(name: string | null): string | null;
|
|
1040
1039
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{lowerPlatform as t,maxTouchPoints as s,lowerUserAgent as i}from"./shared.mjs";const o=/^i(os$|p)/.test(t)||"macintel"===t&&s>1,n="android";t===n||i.includes(n);const r=!o&&t.startsWith("mac");t.startsWith("win");const a=r||o;export{a as apple,o as ios,r as mac};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const{userAgent:o,platform:r,maxTouchPoints:t}=function(){if("undefined"==typeof navigator)return{userAgent:"",platform:"",maxTouchPoints:0};if("production"!==process.env.NODE_ENV){const o=navigator.userAgentData;if(o&&Array.isArray(o.brands))return{userAgent:o.brands.map(({brand:o,version:r})=>`${o}/${r}`).join(" "),platform:o.platform??navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0}}return{userAgent:navigator.userAgent,platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??0}}(),a=o.toLowerCase(),n=r.toLowerCase();export{n as lowerPlatform,a as lowerUserAgent,t as maxTouchPoints};
|