sage-nexus-ui 1.0.23 → 1.0.25

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.
@@ -0,0 +1,2 @@
1
+ export { default as nexusLogoNode } from "./nexus-logo-node.svg";
2
+ export { default as nexusLogoFavicon } from "./nexus-logo-favicon.svg";
@@ -1,8 +1,6 @@
1
1
  import { type SecondaryButtonProps } from "./SecondaryButton";
2
2
  export interface AiButtonProps extends Omit<SecondaryButtonProps, "color" | "children" | "startIcon"> {
3
- /** Button label. Defaults to "Nexus Insights". */
4
3
  label?: string;
5
- /** Override the start icon. Defaults to AutoAwesomeIcon. */
6
4
  startIcon?: React.ReactNode;
7
5
  }
8
6
  export declare const AiButton: React.FC<AiButtonProps>;
@@ -0,0 +1,10 @@
1
+ import type { ReactNode } from "react";
2
+ import type { GlassPaperProps } from "./GlassPaper";
3
+ export type GlassPaperAsyncProps = Omit<GlassPaperProps, "children"> & {
4
+ title: string;
5
+ isLoading: boolean;
6
+ isError: boolean;
7
+ errorMessage?: string;
8
+ children?: ReactNode;
9
+ };
10
+ export declare const GlassPaperAsync: ({ title, isLoading, isError, errorMessage, children, ...rest }: GlassPaperAsyncProps) => import("react/jsx-runtime").JSX.Element;
@@ -31,13 +31,14 @@ export type { DividerProps } from "./Divider";
31
31
  export { GlassCard } from "./GlassCard";
32
32
  export type { GlassCardProps } from "./GlassCard";
33
33
  export { GlassPaper } from "./GlassPaper";
34
+ export type { GlassPaperProps } from "./GlassPaper";
35
+ export { GlassPaperAsync } from "./GlassPaperAsync";
36
+ export type { GlassPaperAsyncProps } from "./GlassPaperAsync";
34
37
  export { GreenWaveBackground } from "./GreenWaveBackground";
35
38
  export type { GreenWaveBackgroundProps } from "./GreenWaveBackground";
36
39
  export { IconButton } from "./IconButton";
37
40
  export type { IconButtonProps } from "./IconButton";
38
41
  export { LocationMultiSelect } from "./LocationMultiSelect";
39
- export { LoadingSpinner } from "./LoadingSpinner";
40
- export type { LoadingSpinnerProps } from "./LoadingSpinner";
41
42
  export { LoadingSpinnerNexus } from "./LoadingSpinnerNexus";
42
43
  export type { LoadingSpinnerNexusProps } from "./LoadingSpinnerNexus";
43
44
  export { NexusHome } from "./NexusHome";
package/dist/index.d.ts CHANGED
@@ -5,6 +5,8 @@ export { BoxProps, ButtonBaseProps, ChipProps, DialogActionsProps, DialogContent
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
  import { SxProps as SxProps$1 } from '@mui/system';
7
7
  import { Theme as Theme$1, SxProps as SxProps$2 } from '@mui/material/styles';
8
+ export { default as nexusLogoNode } from './assets/images/nexus-logo-node.svg';
9
+ export { default as nexusLogoFavicon } from './assets/images/nexus-logo-favicon.svg';
8
10
 
9
11
  declare const getFiscalPeriod: (date: Date) => {
10
12
  fiscalYear: number;
@@ -70,9 +72,7 @@ interface SecondaryButtonProps extends Omit<ButtonProps, "variant" | "color"> {
70
72
  declare const SecondaryButton: React.FC<SecondaryButtonProps>;
71
73
 
72
74
  interface AiButtonProps extends Omit<SecondaryButtonProps, "color" | "children" | "startIcon"> {
73
- /** Button label. Defaults to "Nexus Insights". */
74
75
  label?: string;
75
- /** Override the start icon. Defaults to AutoAwesomeIcon. */
76
76
  startIcon?: React.ReactNode;
77
77
  }
78
78
  declare const AiButton: React.FC<AiButtonProps>;
@@ -137,6 +137,15 @@ declare const DialogContentText: (props: DialogContentTextProps) => react_jsx_ru
137
137
 
138
138
  declare const Divider: ({ children, ...rest }: DividerProps) => react_jsx_runtime.JSX.Element;
139
139
 
140
+ type GlassPaperAsyncProps = Omit<GlassPaperProps, "children"> & {
141
+ title: string;
142
+ isLoading: boolean;
143
+ isError: boolean;
144
+ errorMessage?: string;
145
+ children?: ReactNode;
146
+ };
147
+ declare const GlassPaperAsync: ({ title, isLoading, isError, errorMessage, children, ...rest }: GlassPaperAsyncProps) => react_jsx_runtime.JSX.Element;
148
+
140
149
  type GreenWaveBackgroundProps = BoxProps;
141
150
  declare const GreenWaveBackground: ({ sx, children, ...rest }: GreenWaveBackgroundProps) => react_jsx_runtime.JSX.Element;
142
151
 
@@ -154,12 +163,6 @@ interface LocationMultiSelectProps {
154
163
  }
155
164
  declare const LocationMultiSelect: react__default.FC<LocationMultiSelectProps>;
156
165
 
157
- interface LoadingSpinnerProps {
158
- variant?: "small" | "large";
159
- color?: string;
160
- }
161
- declare const LoadingSpinner: ({ variant, color, }: LoadingSpinnerProps) => react_jsx_runtime.JSX.Element;
162
-
163
166
  interface LoadingSpinnerNexusProps {
164
167
  variant?: "small" | "large";
165
168
  }
@@ -296,6 +299,7 @@ declare const gradients: {
296
299
  };
297
300
  declare const fontSageText = "SageText, Inter, Segoe UI, sans-serif";
298
301
  declare const fontSageUI = "SageUI, Inter, Segoe UI, sans-serif";
302
+ declare const fontSageHeadline = "Sage Headline, Inter, Segoe UI, sans-serif";
299
303
  declare const getModeTokens: (mode: ThemeMode) => ModeTokens;
300
304
 
301
305
  declare module "@mui/material/styles" {
@@ -357,5 +361,5 @@ declare const getGradientBorderStyles: (theme: Theme$1, options?: GradientBorder
357
361
  declare const leftPipe: SxProps$2<Theme$1>;
358
362
  declare const expandableText: (isExpanded: boolean) => SxProps$2<Theme$1>;
359
363
 
360
- export { AccordionGroup, AccordionGroupItem, AccordionSingle, ActionBar, ActionBarTitle, AiButton, AiCard, AiGlassCard, AiGlassPaper, AiPaper, Body1, Body2, Box, ButtonBase, Caption, Card, CheckboxGroup, Chip, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, GlassCard, GlassPaper, GreenWaveBackground, H1, H2, H3, H4, IconButton, LoadingSpinner, LoadingSpinnerNexus, LocationMultiSelect, MuiAppThemeProvider, NexusHome, NexusLogo, Paper, PrimaryButton, PrimaryButtonLink, RagDot, SearchInput, SecondaryButton, SecondaryButtonLink, Skeleton, SkillChip, Stack, StatusChip, Tab, Tabs, TextField, ThemeModeProvider, ThemeToggle, colours, createSageTheme, expandableText, fontSageText, fontSageUI, formatDate, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, leftPipe, useThemeMode, useTokens };
361
- export type { AccordionGroupItemProps, AccordionGroupProps, AccordionSingleProps, AiButtonProps, AiCardProps, AiGlassCardProps, AiGlassPaperProps, AiPaperProps, CardProps, CardTrend, GlassCardProps, GradientBorderOptions, GreenWaveBackgroundProps, LoadingSpinnerNexusProps, LoadingSpinnerProps, ModeTokens, PrimaryButtonLinkProps, PrimaryButtonProps, SecondaryButtonLinkProps, SecondaryButtonProps, SkeletonProps, ThemeMode };
364
+ export { AccordionGroup, AccordionGroupItem, AccordionSingle, ActionBar, ActionBarTitle, AiButton, AiCard, AiGlassCard, AiGlassPaper, AiPaper, Body1, Body2, Box, ButtonBase, Caption, Card, CheckboxGroup, Chip, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, GlassCard, GlassPaper, GlassPaperAsync, GreenWaveBackground, H1, H2, H3, H4, IconButton, LoadingSpinnerNexus, LocationMultiSelect, MuiAppThemeProvider, NexusHome, NexusLogo, Paper, PrimaryButton, PrimaryButtonLink, RagDot, SearchInput, SecondaryButton, SecondaryButtonLink, Skeleton, SkillChip, Stack, StatusChip, Tab, Tabs, TextField, ThemeModeProvider, ThemeToggle, colours, createSageTheme, expandableText, fontSageHeadline, fontSageText, fontSageUI, formatDate, getFiscalPeriod, getGradientBorderStyles, getModeTokens, gradients, leftPipe, useThemeMode, useTokens };
365
+ export type { AccordionGroupItemProps, AccordionGroupProps, AccordionSingleProps, AiButtonProps, AiCardProps, AiGlassCardProps, AiGlassPaperProps, AiPaperProps, CardProps, CardTrend, GlassCardProps, GlassPaperAsyncProps, GlassPaperProps, GradientBorderOptions, GreenWaveBackgroundProps, LoadingSpinnerNexusProps, ModeTokens, PrimaryButtonLinkProps, PrimaryButtonProps, SecondaryButtonLinkProps, SecondaryButtonProps, SkeletonProps, ThemeMode };