it-data-nexus-ui-library 2.5.3 → 2.5.4

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.
@@ -1 +1 @@
1
- import{jsxs as c,jsx as e}from"react/jsx-runtime";import r from"@mui/material/SvgIcon";const t=({className:t,fontSize:i,titleAccess:o})=>c(r,{className:t,fontSize:i,titleAccess:o,viewBox:"44 44 112 112",children:[[0,60,120,180,240,300].map(r=>c("g",{transform:`rotate(${r} 100 100)`,children:[e("rect",{x:"100",y:"97",width:"40",height:"6",rx:"3"}),e("circle",{cx:"144",cy:"100",r:"10"})]},r)),e("circle",{cx:"100",cy:"100",r:"14"})]});export{t as NexusNodeIcon};
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import r from"@mui/material/SvgIcon";import{colours as o}from"../../theme/tokens.mjs";import{useTokens as i}from"../../theme/useTokens.mjs";const c={sm:24,md:32,lg:40},m=({className:m,size:s,fontSize:n,titleAccess:l,tone:a="default"})=>{const f=i(),d="brand"===a?o.brilliantGreen:"default"===a?f.text.greens:void 0;return e(r,{className:m,fontSize:s?void 0:n,titleAccess:l,viewBox:"44 44 112 112",sx:{...s?{fontSize:c[s]}:{},...d?{color:d}:{}},children:[[0,60,120,180,240,300].map(r=>e("g",{transform:`rotate(${r} 100 100)`,children:[t("rect",{x:"100",y:"97",width:"40",height:"6",rx:"3"}),t("circle",{cx:"144",cy:"100",r:"10"})]},r)),t("circle",{cx:"100",cy:"100",r:"14"})]})};export{m as NexusNodeIcon};
@@ -1 +1 @@
1
- const o="2.5.3";export{o as SAGE_NEXUS_UI_VERSION};
1
+ const o="2.5.4";export{o as SAGE_NEXUS_UI_VERSION};
package/dist/index.d.ts CHANGED
@@ -992,12 +992,19 @@ type LogoProps = {
992
992
  /** Option 7 — Sage UI Medium weight, NEXUS all-caps, shimmer on whole word */
993
993
  declare const NexusLogo: ({ size }: LogoProps) => react.JSX.Element;
994
994
 
995
+ type NexusNodeIconSize = "sm" | "md" | "lg";
996
+ type NexusNodeIconTone = "default" | "brand" | "inherit";
995
997
  interface NexusNodeIconProps {
996
998
  className?: string;
999
+ /** Nexus size scale — sm 24px, md 32px, lg 40px. Takes precedence over fontSize. */
1000
+ size?: NexusNodeIconSize;
1001
+ /** MUI compatibility size. Prefer the Nexus size scale for new code. */
997
1002
  fontSize?: "inherit" | "small" | "medium" | "large";
998
1003
  titleAccess?: string;
1004
+ /** default uses the theme-aware Nexus green; brand is fixed brilliant green. */
1005
+ tone?: NexusNodeIconTone;
999
1006
  }
1000
- declare const NexusNodeIcon: ({ className, fontSize, titleAccess, }: NexusNodeIconProps) => react.JSX.Element;
1007
+ declare const NexusNodeIcon: ({ className, size, fontSize, titleAccess, tone, }: NexusNodeIconProps) => react.JSX.Element;
1001
1008
 
1002
1009
  interface SageLogoSvgProps {
1003
1010
  /** Height in px; width is calculated automatically from the 60×34 aspect ratio. */
@@ -1383,4 +1390,4 @@ declare const leftPipe: SxProps<Theme>;
1383
1390
  declare const expandableText: (isExpanded: boolean) => SxProps<Theme>;
1384
1391
 
1385
1392
  export { AccordionGroup, AccordionGroupItem, AccordionSingle, ActionBar, ActionBarTitle, AgentChatWindow, AgentChatWindowHeader, AiButton, AiCard, AiChip, AiGlassCard, AiGlassPaper, AiPaper, Alert, Avatar, Body1, Body2, Box, Breadcrumbs, ButtonBase, Caption, Card, ChatAvatar, ChatHistory, ChatHistoryAgentItem, ChatHistoryButtonBase, ChatHistoryHeader, ChatInput, ChatWindowBody, Checkbox, CheckboxGroup, Chip, CircularProgress, Code, Collapse, Container, CopyableTableContainer, DateRangeFilter, DateRangePicker, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, EmptyState, FABButton, FaviconLinks, FormControlLabel, FormGroup, GhostButton, GlassCard, GlassPaper, GlassPaperAsync, GreenWaveBackground, Grid, H1, H2, H3, H4, IconButton, Link, LoadingSpinnerNexus, LocationMultiSelect, LogoOptions, MarkdownContent, MessageBubble, MessageFeedbackBar, MessageList, MetricCard, MetricStat, MetricValue, MuiAppThemeProvider, NexusBarChart, NexusChatDialog, NexusChatWidget, NexusDataGrid, NexusHome, NexusLineChart, NexusLogo, NexusNodeIcon, NexusPieChart, NexusScatterChart, NexusiFrame, Paper, PaperAsync, PrimaryButton, PrimaryButtonLink, RagChip, RagDot, SageLogoSvg, SearchInput, SecondaryButton, SecondaryButtonLink, SegmentedControl, Select, SelectableList, SideBlade, SideBladeNavList, SideBladeNavListItem, Skeleton, SkillChip, SkipLink, SourceCitations, Span, Stack, StatusBadge, StatusChip, StreamingBubble, SuggestedPrompts, Switch, Tab, Table, TableBody, TableCell, TableHead, TableRow, Tabs, TextField, ThemeModeContext, ThemeModeProvider, ThemeToggle, Tooltip, TypingIndicator, chatHistoryMatchesQuery, chatWindowMarkdownComponents, colours, createSageTheme, expandableText, filterChatHistoryConversations, fontSageHeadline, fontSageText, fontSageUI, formatDate, formatSurnameFirstname, getFaviconUrls, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, latestTraceLabel, leftPipe, ragColorForDelta, useThemeMode, useTokens };
1386
- export type { AccordionGroupItemProps, AccordionGroupProps, AccordionSingleProps, ActivitySummary, AgentChatWindowHeaderProps, AgentChatWindowProps, AiButtonProps, AiCardProps, AiChipProps, AiGlassCardProps, AiGlassPaperProps, AiPaperProps, AvatarProps, AvatarSize, AvatarVariant, BreadcrumbItem, BreadcrumbsProps, CardProps, CardTrend, ChartAsyncProps, ChatAvatarProps, ChatHistoryAgent, ChatHistoryAgentItemProps, ChatHistoryButtonBaseProps, ChatHistoryConversation, ChatHistoryHeaderProps, ChatHistoryProps, ChatInputProps, ChatMessage, CodeBlock, CopyableTableContainerProps, DateRangeFilterProps, DateRangePickerProps, DateRangePreset, DateRangeValue, EmptyStateProps, FABButtonProps, FileArtifact, GhostButtonProps, GlassCardProps, GlassPaperAsyncProps, GlassPaperProps, GradientBorderOptions, GreenWaveBackgroundProps, IconButtonProps, IconButtonVariant, LatencyMetrics, LinkProps, LoadingSpinnerNexusProps, MarkdownContentProps, MessageBubbleProps, MessageFeedbackBarProps, MessageListProps, MetricCardProps, MetricStatProps, MetricValueSize, ModeTokens, NexusBarChartProps, NexusChatDialogProps, NexusChatWidgetProps, NexusLineChartProps, NexusNodeIconProps, NexusPieChartProps, NexusScatterChartProps, NexusiFrameProps, PaperAsyncProps, ParsedActivity, PrimaryButtonLinkProps, PrimaryButtonProps, SecondaryButtonLinkProps, SecondaryButtonProps, SegmentedControlOption, SegmentedControlProps, SelectOption, SelectProps, SelectableListItem, SelectableListProps, SideBladeNavItem, SideBladeNavListItemProps, SideBladeNavListProps, SideBladeProps, SkeletonProps, SkipLinkProps, SourceCitationsProps, StatusBadgeProps, StatusBadgeVariant, StreamingBubbleProps, SuggestedPromptsProps, ThemeMode, TooltipProps, TraceEvent, TypingIndicatorProps };
1393
+ export type { AccordionGroupItemProps, AccordionGroupProps, AccordionSingleProps, ActivitySummary, AgentChatWindowHeaderProps, AgentChatWindowProps, AiButtonProps, AiCardProps, AiChipProps, AiGlassCardProps, AiGlassPaperProps, AiPaperProps, AvatarProps, AvatarSize, AvatarVariant, BreadcrumbItem, BreadcrumbsProps, CardProps, CardTrend, ChartAsyncProps, ChatAvatarProps, ChatHistoryAgent, ChatHistoryAgentItemProps, ChatHistoryButtonBaseProps, ChatHistoryConversation, ChatHistoryHeaderProps, ChatHistoryProps, ChatInputProps, ChatMessage, CodeBlock, CopyableTableContainerProps, DateRangeFilterProps, DateRangePickerProps, DateRangePreset, DateRangeValue, EmptyStateProps, FABButtonProps, FileArtifact, GhostButtonProps, GlassCardProps, GlassPaperAsyncProps, GlassPaperProps, GradientBorderOptions, GreenWaveBackgroundProps, IconButtonProps, IconButtonVariant, LatencyMetrics, LinkProps, LoadingSpinnerNexusProps, MarkdownContentProps, MessageBubbleProps, MessageFeedbackBarProps, MessageListProps, MetricCardProps, MetricStatProps, MetricValueSize, ModeTokens, NexusBarChartProps, NexusChatDialogProps, NexusChatWidgetProps, NexusLineChartProps, NexusNodeIconProps, NexusNodeIconSize, NexusNodeIconTone, NexusPieChartProps, NexusScatterChartProps, NexusiFrameProps, PaperAsyncProps, ParsedActivity, PrimaryButtonLinkProps, PrimaryButtonProps, SecondaryButtonLinkProps, SecondaryButtonProps, SegmentedControlOption, SegmentedControlProps, SelectOption, SelectProps, SelectableListItem, SelectableListProps, SideBladeNavItem, SideBladeNavListItemProps, SideBladeNavListProps, SideBladeProps, SkeletonProps, SkipLinkProps, SourceCitationsProps, StatusBadgeProps, StatusBadgeVariant, StreamingBubbleProps, SuggestedPromptsProps, ThemeMode, TooltipProps, TraceEvent, TypingIndicatorProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "it-data-nexus-ui-library",
3
- "version": "2.5.3",
3
+ "version": "2.5.4",
4
4
  "description": "Nexus core components",
5
5
  "license": "ISC",
6
6
  "author": "emsmart-sage",