sage-nexus-ui 1.0.27 → 1.1.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.
@@ -0,0 +1,3 @@
1
+ import { type CollapseProps } from "@mui/material";
2
+ export type { CollapseProps };
3
+ export declare const Collapse: ({ children, ...rest }: CollapseProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,6 @@
1
- import { type IconButtonProps } from "@mui/material";
2
- export type { IconButtonProps };
3
- export declare const IconButton: ({ children, ...rest }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
1
+ import { type IconButtonProps as MuiIconButtonProps } from "@mui/material";
2
+ export type IconButtonProps = Omit<MuiIconButtonProps, "title"> & {
3
+ title?: string;
4
+ ariaLabel?: string;
5
+ };
6
+ export declare const IconButton: ({ title, ariaLabel, children, disabled, ...rest }: IconButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import type { DataGridProps } from "@mui/x-data-grid";
2
+ export type { DataGridProps };
3
+ export type { GridColDef, GridColumnVisibilityModel, GridRowsProp, GridRenderCellParams, GridValueGetter, GridSortModel, GridPaginationModel, } from "@mui/x-data-grid";
4
+ export declare const NexusDataGrid: ({ sx, ...rest }: DataGridProps) => import("react/jsx-runtime").JSX.Element;
@@ -17,6 +17,10 @@ export { AiGlassPaper } from "./AiGlassPaper";
17
17
  export type { AiGlassPaperProps } from "./AiGlassPaper";
18
18
  export { Box } from "./Box";
19
19
  export type { BoxProps } from "./Box";
20
+ export { Collapse } from "./Collapse";
21
+ export type { CollapseProps } from "./Collapse";
22
+ export { NexusDataGrid } from "./NexusDataGrid";
23
+ export type { DataGridProps, GridColDef, GridColumnVisibilityModel, GridRowsProp, GridRenderCellParams, GridValueGetter, GridSortModel, GridPaginationModel, } from "./NexusDataGrid";
20
24
  export { ButtonBase } from "./ButtonBase";
21
25
  export type { ButtonBaseProps } from "./ButtonBase";
22
26
  export { Card } from "./Card";
package/dist/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  import * as react from 'react';
2
2
  import react__default, { ReactNode, ReactElement, CSSProperties, PropsWithChildren } from 'react';
3
- import { TypographyProps, SxProps, Theme, ButtonProps, CardProps as CardProps$1, PaperProps, BoxProps, ButtonBaseProps, ChipProps, DialogProps, DialogActionsProps, DialogContentProps, DialogContentTextProps, DialogTitleProps, DividerProps, IconButtonProps, SkeletonProps as SkeletonProps$1, StackProps, TabProps, TabsProps, TextFieldProps } from '@mui/material';
4
- export { BoxProps, ButtonBaseProps, ChipProps, DialogActionsProps, DialogContentProps, DialogContentTextProps, DialogProps, DialogTitleProps, DividerProps, IconButtonProps, PaperProps, StackProps, TabProps, TabsProps, TextFieldProps, Theme, alpha, useMediaQuery, useTheme } from '@mui/material';
3
+ import { TypographyProps, SxProps, Theme, ButtonProps, CardProps as CardProps$1, PaperProps, BoxProps, CollapseProps, ButtonBaseProps, ChipProps, DialogProps, DialogActionsProps, DialogContentProps, DialogContentTextProps, DialogTitleProps, DividerProps, IconButtonProps as IconButtonProps$1, SkeletonProps as SkeletonProps$1, StackProps, TabProps, TabsProps, TextFieldProps } from '@mui/material';
4
+ export { BoxProps, ButtonBaseProps, ChipProps, CollapseProps, DialogActionsProps, DialogContentProps, DialogContentTextProps, DialogProps, DialogTitleProps, DividerProps, PaperProps, StackProps, TabProps, TabsProps, TextFieldProps, Theme, alpha, useMediaQuery, useTheme } from '@mui/material';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
+ import { DataGridProps } from '@mui/x-data-grid';
7
+ export { DataGridProps, GridColDef, GridColumnVisibilityModel, GridPaginationModel, GridRenderCellParams, GridRowsProp, GridSortModel, GridValueGetter } from '@mui/x-data-grid';
6
8
  import { SxProps as SxProps$1 } from '@mui/system';
7
9
  import { Theme as Theme$1, SxProps as SxProps$2 } from '@mui/material/styles';
8
10
  export { default as nexusLogoNode } from './assets/images/nexus-logo-node.svg';
@@ -114,6 +116,10 @@ declare const AiGlassPaper: ({ sx, children, ...rest }: AiGlassPaperProps) => re
114
116
 
115
117
  declare const Box: ({ children, ...rest }: BoxProps) => react_jsx_runtime.JSX.Element;
116
118
 
119
+ declare const Collapse: ({ children, ...rest }: CollapseProps) => react_jsx_runtime.JSX.Element;
120
+
121
+ declare const NexusDataGrid: ({ sx, ...rest }: DataGridProps) => react_jsx_runtime.JSX.Element;
122
+
117
123
  declare const ButtonBase: (props: ButtonBaseProps) => react_jsx_runtime.JSX.Element;
118
124
 
119
125
  interface CheckboxGroupProps {
@@ -149,7 +155,11 @@ declare const GlassPaperAsync: ({ title, isLoading, isError, errorMessage, child
149
155
  type GreenWaveBackgroundProps = BoxProps;
150
156
  declare const GreenWaveBackground: ({ sx, children, ...rest }: GreenWaveBackgroundProps) => react_jsx_runtime.JSX.Element;
151
157
 
152
- declare const IconButton: ({ children, ...rest }: IconButtonProps) => react_jsx_runtime.JSX.Element;
158
+ type IconButtonProps = Omit<IconButtonProps$1, "title"> & {
159
+ title?: string;
160
+ ariaLabel?: string;
161
+ };
162
+ declare const IconButton: ({ title, ariaLabel, children, disabled, ...rest }: IconButtonProps) => react_jsx_runtime.JSX.Element;
153
163
 
154
164
  interface LocationMultiSelectProps {
155
165
  ariaLabel?: string;
@@ -361,5 +371,5 @@ declare const getGradientBorderStyles: (theme: Theme$1, options?: GradientBorder
361
371
  declare const leftPipe: SxProps$2<Theme$1>;
362
372
  declare const expandableText: (isExpanded: boolean) => SxProps$2<Theme$1>;
363
373
 
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 };
374
+ export { AccordionGroup, AccordionGroupItem, AccordionSingle, ActionBar, ActionBarTitle, AiButton, AiCard, AiGlassCard, AiGlassPaper, AiPaper, Body1, Body2, Box, ButtonBase, Caption, Card, CheckboxGroup, Chip, Collapse, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider, GlassCard, GlassPaper, GlassPaperAsync, GreenWaveBackground, H1, H2, H3, H4, IconButton, LoadingSpinnerNexus, LocationMultiSelect, MuiAppThemeProvider, NexusDataGrid, 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 };
375
+ export type { AccordionGroupItemProps, AccordionGroupProps, AccordionSingleProps, AiButtonProps, AiCardProps, AiGlassCardProps, AiGlassPaperProps, AiPaperProps, CardProps, CardTrend, GlassCardProps, GlassPaperAsyncProps, GlassPaperProps, GradientBorderOptions, GreenWaveBackgroundProps, IconButtonProps, LoadingSpinnerNexusProps, ModeTokens, PrimaryButtonLinkProps, PrimaryButtonProps, SecondaryButtonLinkProps, SecondaryButtonProps, SkeletonProps, ThemeMode };