@octoguide/mui-ui-toolkit 0.4.0 → 0.6.0
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/index.d.mts +120 -53
- package/dist/index.d.ts +120 -53
- package/dist/index.js +911 -78
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +901 -78
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -26,6 +26,7 @@ import { DateTimeFieldProps as DateTimeFieldProps$1 } from '@mui/x-date-pickers/
|
|
|
26
26
|
import { StaticDateTimePickerProps as StaticDateTimePickerProps$1 } from '@mui/x-date-pickers/StaticDateTimePicker';
|
|
27
27
|
import { DateCalendarProps as DateCalendarProps$1 } from '@mui/x-date-pickers/DateCalendar';
|
|
28
28
|
import { Dayjs } from 'dayjs';
|
|
29
|
+
import { PaginationProps as PaginationProps$1 } from '@mui/material/Pagination';
|
|
29
30
|
export { default as AvatarGroup, AvatarGroupProps } from '@mui/material/AvatarGroup';
|
|
30
31
|
|
|
31
32
|
/**
|
|
@@ -776,6 +777,111 @@ interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
|
776
777
|
}
|
|
777
778
|
declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
778
779
|
|
|
780
|
+
interface LogoLinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
781
|
+
/** Logo content — pass an `<img>`, inline SVG, or any React node */
|
|
782
|
+
children: React.ReactNode;
|
|
783
|
+
/** Link destination, defaults to '/' */
|
|
784
|
+
href?: string;
|
|
785
|
+
/** Compact height mode (45px instead of 55px) */
|
|
786
|
+
isSmall?: boolean;
|
|
787
|
+
/** Accessible title for the link, defaults to 'Home' */
|
|
788
|
+
title?: string;
|
|
789
|
+
/** Swap the rendered element — pass a React Router `<Link>` or similar */
|
|
790
|
+
component?: React.ElementType;
|
|
791
|
+
}
|
|
792
|
+
declare const LogoLink: React.ForwardRefExoticComponent<LogoLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
793
|
+
|
|
794
|
+
interface PageSpinnerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'role'> {
|
|
795
|
+
/** Loading message shown below the spinner */
|
|
796
|
+
message?: string;
|
|
797
|
+
/** Override the visible message with a React node (the `message` prop is still announced to screen readers) */
|
|
798
|
+
customMessageLayout?: React.ReactNode;
|
|
799
|
+
/** Use light-on-dark colour scheme */
|
|
800
|
+
isOnDarkBg?: boolean;
|
|
801
|
+
/** Additional screen reader text when no visible message is needed */
|
|
802
|
+
srText?: string;
|
|
803
|
+
/** DOM node to portal into (defaults to document.body) */
|
|
804
|
+
rootNode?: Element;
|
|
805
|
+
/** Aria-live politeness for the screen reader announcement */
|
|
806
|
+
messageTone?: 'assertive' | 'polite';
|
|
807
|
+
}
|
|
808
|
+
declare const PageSpinner: React.ForwardRefExoticComponent<PageSpinnerProps & React.RefAttributes<HTMLDivElement>>;
|
|
809
|
+
|
|
810
|
+
type PaginationVariant = 'text' | 'outlined' | 'soft';
|
|
811
|
+
type PaginationShape = 'circular' | 'rounded';
|
|
812
|
+
type PaginationColor = 'default' | 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
|
|
813
|
+
interface PaginationProps extends Omit<PaginationProps$1, 'variant' | 'color' | 'shape'> {
|
|
814
|
+
/** Visual style variant */
|
|
815
|
+
variant?: PaginationVariant;
|
|
816
|
+
/** Shape of pagination items */
|
|
817
|
+
shape?: PaginationShape;
|
|
818
|
+
/** Color applied to the selected/active item */
|
|
819
|
+
color?: PaginationColor;
|
|
820
|
+
}
|
|
821
|
+
declare const Pagination: React.ForwardRefExoticComponent<Omit<PaginationProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
822
|
+
|
|
823
|
+
interface ParagraphProps extends Omit<React.HTMLAttributes<HTMLParagraphElement>, 'color'> {
|
|
824
|
+
/** Visual style variant */
|
|
825
|
+
variant?: 'regular' | 'semibold' | 'bold' | 'overline' | 'primary' | 'secondary';
|
|
826
|
+
/** Renders the correct text colour on a dark background */
|
|
827
|
+
isOnDarkBg?: boolean;
|
|
828
|
+
children: React.ReactNode;
|
|
829
|
+
}
|
|
830
|
+
declare const Paragraph: React.ForwardRefExoticComponent<ParagraphProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
831
|
+
|
|
832
|
+
interface PasswordProps {
|
|
833
|
+
isInvalid?: boolean;
|
|
834
|
+
value?: string;
|
|
835
|
+
label?: string;
|
|
836
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
837
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>, isCriteriaMet: boolean) => void;
|
|
838
|
+
ariaDescribedby?: string;
|
|
839
|
+
ariaLabelledby?: string;
|
|
840
|
+
className?: string;
|
|
841
|
+
id?: string;
|
|
842
|
+
}
|
|
843
|
+
declare const Password: React.ForwardRefExoticComponent<PasswordProps & React.RefAttributes<HTMLInputElement>>;
|
|
844
|
+
|
|
845
|
+
interface PasswordCriteriaProps {
|
|
846
|
+
show?: boolean;
|
|
847
|
+
value?: string;
|
|
848
|
+
}
|
|
849
|
+
declare const PasswordRules: {
|
|
850
|
+
key: string;
|
|
851
|
+
rule: string;
|
|
852
|
+
}[];
|
|
853
|
+
declare const passwordValidator: (value: string) => Record<string, boolean>;
|
|
854
|
+
declare const PasswordCriteria: {
|
|
855
|
+
({ show, value }: PasswordCriteriaProps): react_jsx_runtime.JSX.Element;
|
|
856
|
+
displayName: string;
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
interface PasswordRuleProps {
|
|
860
|
+
valid?: boolean;
|
|
861
|
+
rule?: string;
|
|
862
|
+
idx?: number;
|
|
863
|
+
}
|
|
864
|
+
declare const PasswordRule: {
|
|
865
|
+
({ valid, rule, idx }: PasswordRuleProps): react_jsx_runtime.JSX.Element;
|
|
866
|
+
displayName: string;
|
|
867
|
+
};
|
|
868
|
+
|
|
869
|
+
type SpinnerSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
870
|
+
|
|
871
|
+
interface SpinnerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'role'> {
|
|
872
|
+
/** Size of the spinner */
|
|
873
|
+
size?: SpinnerSize;
|
|
874
|
+
/** Message displayed below (or beside when isInline) the spinner */
|
|
875
|
+
message?: React.ReactNode;
|
|
876
|
+
/** Use light-on-dark colour scheme */
|
|
877
|
+
isOnDarkBg?: boolean;
|
|
878
|
+
/** Screen reader text when no visible message is provided */
|
|
879
|
+
srText?: string;
|
|
880
|
+
/** Display the spinner and message side by side */
|
|
881
|
+
isInline?: boolean;
|
|
882
|
+
}
|
|
883
|
+
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLDivElement>>;
|
|
884
|
+
|
|
779
885
|
interface ToggleProps extends Omit<React.HTMLAttributes<HTMLFieldSetElement>, 'onChange'> {
|
|
780
886
|
/** Unique name for the radio inputs */
|
|
781
887
|
name: string;
|
|
@@ -836,93 +942,54 @@ declare const TableSortLabel: _mui_material.ExtendButtonBase<_mui_material.Table
|
|
|
836
942
|
|
|
837
943
|
interface H1Props extends Omit<TypographyProps, 'variant'> {
|
|
838
944
|
}
|
|
839
|
-
declare
|
|
840
|
-
declare namespace H1 {
|
|
841
|
-
var displayName: string;
|
|
842
|
-
}
|
|
945
|
+
declare const H1: React.ForwardRefExoticComponent<Omit<H1Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
843
946
|
|
|
844
947
|
interface H2Props extends Omit<TypographyProps, 'variant'> {
|
|
845
948
|
}
|
|
846
|
-
declare
|
|
847
|
-
declare namespace H2 {
|
|
848
|
-
var displayName: string;
|
|
849
|
-
}
|
|
949
|
+
declare const H2: React.ForwardRefExoticComponent<Omit<H2Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
850
950
|
|
|
851
951
|
interface H3Props extends Omit<TypographyProps, 'variant'> {
|
|
852
952
|
}
|
|
853
|
-
declare
|
|
854
|
-
declare namespace H3 {
|
|
855
|
-
var displayName: string;
|
|
856
|
-
}
|
|
953
|
+
declare const H3: React.ForwardRefExoticComponent<Omit<H3Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
857
954
|
|
|
858
955
|
interface H4Props extends Omit<TypographyProps, 'variant'> {
|
|
859
956
|
}
|
|
860
|
-
declare
|
|
861
|
-
declare namespace H4 {
|
|
862
|
-
var displayName: string;
|
|
863
|
-
}
|
|
957
|
+
declare const H4: React.ForwardRefExoticComponent<Omit<H4Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
864
958
|
|
|
865
959
|
interface H5Props extends Omit<TypographyProps, 'variant'> {
|
|
866
960
|
}
|
|
867
|
-
declare
|
|
868
|
-
declare namespace H5 {
|
|
869
|
-
var displayName: string;
|
|
870
|
-
}
|
|
961
|
+
declare const H5: React.ForwardRefExoticComponent<Omit<H5Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
871
962
|
|
|
872
963
|
interface H6Props extends Omit<TypographyProps, 'variant'> {
|
|
873
964
|
}
|
|
874
|
-
declare
|
|
875
|
-
declare namespace H6 {
|
|
876
|
-
var displayName: string;
|
|
877
|
-
}
|
|
965
|
+
declare const H6: React.ForwardRefExoticComponent<Omit<H6Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
878
966
|
|
|
879
967
|
interface Subtitle1Props extends Omit<TypographyProps, 'variant'> {
|
|
880
968
|
}
|
|
881
|
-
declare
|
|
882
|
-
declare namespace Subtitle1 {
|
|
883
|
-
var displayName: string;
|
|
884
|
-
}
|
|
969
|
+
declare const Subtitle1: React.ForwardRefExoticComponent<Omit<Subtitle1Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
885
970
|
|
|
886
971
|
interface Subtitle2Props extends Omit<TypographyProps, 'variant'> {
|
|
887
972
|
}
|
|
888
|
-
declare
|
|
889
|
-
declare namespace Subtitle2 {
|
|
890
|
-
var displayName: string;
|
|
891
|
-
}
|
|
973
|
+
declare const Subtitle2: React.ForwardRefExoticComponent<Omit<Subtitle2Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
892
974
|
|
|
893
975
|
interface Body1Props extends Omit<TypographyProps, 'variant'> {
|
|
894
976
|
}
|
|
895
|
-
declare
|
|
896
|
-
declare namespace Body1 {
|
|
897
|
-
var displayName: string;
|
|
898
|
-
}
|
|
977
|
+
declare const Body1: React.ForwardRefExoticComponent<Omit<Body1Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
899
978
|
|
|
900
979
|
interface Body2Props extends Omit<TypographyProps, 'variant'> {
|
|
901
980
|
}
|
|
902
|
-
declare
|
|
903
|
-
declare namespace Body2 {
|
|
904
|
-
var displayName: string;
|
|
905
|
-
}
|
|
981
|
+
declare const Body2: React.ForwardRefExoticComponent<Omit<Body2Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
906
982
|
|
|
907
983
|
interface CaptionProps extends Omit<TypographyProps, 'variant'> {
|
|
908
984
|
}
|
|
909
|
-
declare
|
|
910
|
-
declare namespace Caption {
|
|
911
|
-
var displayName: string;
|
|
912
|
-
}
|
|
985
|
+
declare const Caption: React.ForwardRefExoticComponent<Omit<CaptionProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
913
986
|
|
|
914
987
|
interface OverlineProps extends Omit<TypographyProps, 'variant'> {
|
|
915
988
|
}
|
|
916
|
-
declare
|
|
917
|
-
declare namespace Overline {
|
|
918
|
-
var displayName: string;
|
|
919
|
-
}
|
|
989
|
+
declare const Overline: React.ForwardRefExoticComponent<Omit<OverlineProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
920
990
|
|
|
921
991
|
interface TypographyButtonProps extends Omit<TypographyProps, 'variant'> {
|
|
922
992
|
}
|
|
923
|
-
declare
|
|
924
|
-
declare namespace TypographyButton {
|
|
925
|
-
var displayName: string;
|
|
926
|
-
}
|
|
993
|
+
declare const TypographyButton: React.ForwardRefExoticComponent<Omit<TypographyButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
927
994
|
|
|
928
|
-
export { ABNInput, type ABNInputProps, Accordion, AccordionDetails, type AccordionDetailsProps, type AccordionProps, AccordionSummary, type AccordionSummaryProps, Alert, type AlertProps, AlertTitle, type AlertTitleProps, Avatar, type AvatarProps, type AvatarSize, Body1, type Body1Props, Body2, type Body2Props, type BorderRadiusTokens, Button, type ButtonProps, Caption, type CaptionProps, Card, CardActions, CardContent, CardHeader, type CardProps, Chip, type ChipProps, type ColorTokens, type ComponentTokens, DateCalendar, type DateCalendarProps, DateField, type DateFieldProps, DateLocalizationProvider, type DateLocalizationProviderProps, DatePicker, type DatePickerProps, DateRangePickerCalendar, type DateRangePickerCalendarProps, DateRangePickerInput, type DateRangePickerInputProps, type DateRangeValue, DateTimeField, type DateTimeFieldProps, DateTimePicker, type DateTimePickerProps, DesktopDatePicker, type DesktopDatePickerProps, DesktopDateTimePicker, type DesktopDateTimePickerProps, DesktopTimePicker, type DesktopTimePickerProps, Grid, type GridProps, H1, type H1Props, H2, type H2Props, H3, type H3Props, H4, type H4Props, H5, type H5Props, H6, type H6Props, InternalLinkItem, type InternalLinkItemProps, Link, type LinkProps, MobileDatePicker, type MobileDatePickerProps, MobileDateTimePicker, type MobileDateTimePickerProps, MobileTimePicker, type MobileTimePickerProps, Overline, type OverlineProps, type ShadowTokens, type SpacingTokens, StandaloneAccordion, StaticDatePicker, type StaticDatePickerProps, StaticDateTimePicker, type StaticDateTimePickerProps, StaticTimePicker, type StaticTimePickerProps, Subtitle1, type Subtitle1Props, Subtitle2, type Subtitle2Props, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableContainer, type TableContainerProps, TableHead, TableHeadCell, type TableHeadProps, TablePagination, type TableProps, TableRow, type TableRowProps, TableSortLabel, TextField, type TextFieldProps, type ThemeName, type ThemeTokens, TimeField, type TimeFieldProps, TimePicker, type TimePickerProps, Toggle, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToolkitThemeProvider, type TransitionTokens, TypographyButton, type TypographyButtonProps, type TypographyTokens, Variant, type ZIndexTokens, createMuiTheme, getThemeTokens, resolveThemeName, themeRegistry };
|
|
995
|
+
export { ABNInput, type ABNInputProps, Accordion, AccordionDetails, type AccordionDetailsProps, type AccordionProps, AccordionSummary, type AccordionSummaryProps, Alert, type AlertProps, AlertTitle, type AlertTitleProps, Avatar, type AvatarProps, type AvatarSize, Body1, type Body1Props, Body2, type Body2Props, type BorderRadiusTokens, Button, type ButtonProps, Caption, type CaptionProps, Card, CardActions, CardContent, CardHeader, type CardProps, Chip, type ChipProps, type ColorTokens, type ComponentTokens, DateCalendar, type DateCalendarProps, DateField, type DateFieldProps, DateLocalizationProvider, type DateLocalizationProviderProps, DatePicker, type DatePickerProps, DateRangePickerCalendar, type DateRangePickerCalendarProps, DateRangePickerInput, type DateRangePickerInputProps, type DateRangeValue, DateTimeField, type DateTimeFieldProps, DateTimePicker, type DateTimePickerProps, DesktopDatePicker, type DesktopDatePickerProps, DesktopDateTimePicker, type DesktopDateTimePickerProps, DesktopTimePicker, type DesktopTimePickerProps, Grid, type GridProps, H1, type H1Props, H2, type H2Props, H3, type H3Props, H4, type H4Props, H5, type H5Props, H6, type H6Props, InternalLinkItem, type InternalLinkItemProps, Link, type LinkProps, LogoLink, type LogoLinkProps, MobileDatePicker, type MobileDatePickerProps, MobileDateTimePicker, type MobileDateTimePickerProps, MobileTimePicker, type MobileTimePickerProps, Overline, type OverlineProps, PageSpinner, type PageSpinnerProps, Pagination, type PaginationColor, type PaginationProps, type PaginationShape, type PaginationVariant, Paragraph, type ParagraphProps, Password, PasswordCriteria, type PasswordCriteriaProps, type PasswordProps, PasswordRule, type PasswordRuleProps, PasswordRules, type ShadowTokens, type SpacingTokens, Spinner, type SpinnerProps, type SpinnerSize, StandaloneAccordion, StaticDatePicker, type StaticDatePickerProps, StaticDateTimePicker, type StaticDateTimePickerProps, StaticTimePicker, type StaticTimePickerProps, Subtitle1, type Subtitle1Props, Subtitle2, type Subtitle2Props, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableContainer, type TableContainerProps, TableHead, TableHeadCell, type TableHeadProps, TablePagination, type TableProps, TableRow, type TableRowProps, TableSortLabel, TextField, type TextFieldProps, type ThemeName, type ThemeTokens, TimeField, type TimeFieldProps, TimePicker, type TimePickerProps, Toggle, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToolkitThemeProvider, type TransitionTokens, TypographyButton, type TypographyButtonProps, type TypographyTokens, Variant, type ZIndexTokens, createMuiTheme, getThemeTokens, passwordValidator, resolveThemeName, themeRegistry };
|
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { DateTimeFieldProps as DateTimeFieldProps$1 } from '@mui/x-date-pickers/
|
|
|
26
26
|
import { StaticDateTimePickerProps as StaticDateTimePickerProps$1 } from '@mui/x-date-pickers/StaticDateTimePicker';
|
|
27
27
|
import { DateCalendarProps as DateCalendarProps$1 } from '@mui/x-date-pickers/DateCalendar';
|
|
28
28
|
import { Dayjs } from 'dayjs';
|
|
29
|
+
import { PaginationProps as PaginationProps$1 } from '@mui/material/Pagination';
|
|
29
30
|
export { default as AvatarGroup, AvatarGroupProps } from '@mui/material/AvatarGroup';
|
|
30
31
|
|
|
31
32
|
/**
|
|
@@ -776,6 +777,111 @@ interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
|
776
777
|
}
|
|
777
778
|
declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
778
779
|
|
|
780
|
+
interface LogoLinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
781
|
+
/** Logo content — pass an `<img>`, inline SVG, or any React node */
|
|
782
|
+
children: React.ReactNode;
|
|
783
|
+
/** Link destination, defaults to '/' */
|
|
784
|
+
href?: string;
|
|
785
|
+
/** Compact height mode (45px instead of 55px) */
|
|
786
|
+
isSmall?: boolean;
|
|
787
|
+
/** Accessible title for the link, defaults to 'Home' */
|
|
788
|
+
title?: string;
|
|
789
|
+
/** Swap the rendered element — pass a React Router `<Link>` or similar */
|
|
790
|
+
component?: React.ElementType;
|
|
791
|
+
}
|
|
792
|
+
declare const LogoLink: React.ForwardRefExoticComponent<LogoLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
793
|
+
|
|
794
|
+
interface PageSpinnerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'role'> {
|
|
795
|
+
/** Loading message shown below the spinner */
|
|
796
|
+
message?: string;
|
|
797
|
+
/** Override the visible message with a React node (the `message` prop is still announced to screen readers) */
|
|
798
|
+
customMessageLayout?: React.ReactNode;
|
|
799
|
+
/** Use light-on-dark colour scheme */
|
|
800
|
+
isOnDarkBg?: boolean;
|
|
801
|
+
/** Additional screen reader text when no visible message is needed */
|
|
802
|
+
srText?: string;
|
|
803
|
+
/** DOM node to portal into (defaults to document.body) */
|
|
804
|
+
rootNode?: Element;
|
|
805
|
+
/** Aria-live politeness for the screen reader announcement */
|
|
806
|
+
messageTone?: 'assertive' | 'polite';
|
|
807
|
+
}
|
|
808
|
+
declare const PageSpinner: React.ForwardRefExoticComponent<PageSpinnerProps & React.RefAttributes<HTMLDivElement>>;
|
|
809
|
+
|
|
810
|
+
type PaginationVariant = 'text' | 'outlined' | 'soft';
|
|
811
|
+
type PaginationShape = 'circular' | 'rounded';
|
|
812
|
+
type PaginationColor = 'default' | 'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'error';
|
|
813
|
+
interface PaginationProps extends Omit<PaginationProps$1, 'variant' | 'color' | 'shape'> {
|
|
814
|
+
/** Visual style variant */
|
|
815
|
+
variant?: PaginationVariant;
|
|
816
|
+
/** Shape of pagination items */
|
|
817
|
+
shape?: PaginationShape;
|
|
818
|
+
/** Color applied to the selected/active item */
|
|
819
|
+
color?: PaginationColor;
|
|
820
|
+
}
|
|
821
|
+
declare const Pagination: React.ForwardRefExoticComponent<Omit<PaginationProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
822
|
+
|
|
823
|
+
interface ParagraphProps extends Omit<React.HTMLAttributes<HTMLParagraphElement>, 'color'> {
|
|
824
|
+
/** Visual style variant */
|
|
825
|
+
variant?: 'regular' | 'semibold' | 'bold' | 'overline' | 'primary' | 'secondary';
|
|
826
|
+
/** Renders the correct text colour on a dark background */
|
|
827
|
+
isOnDarkBg?: boolean;
|
|
828
|
+
children: React.ReactNode;
|
|
829
|
+
}
|
|
830
|
+
declare const Paragraph: React.ForwardRefExoticComponent<ParagraphProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
831
|
+
|
|
832
|
+
interface PasswordProps {
|
|
833
|
+
isInvalid?: boolean;
|
|
834
|
+
value?: string;
|
|
835
|
+
label?: string;
|
|
836
|
+
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
|
|
837
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>, isCriteriaMet: boolean) => void;
|
|
838
|
+
ariaDescribedby?: string;
|
|
839
|
+
ariaLabelledby?: string;
|
|
840
|
+
className?: string;
|
|
841
|
+
id?: string;
|
|
842
|
+
}
|
|
843
|
+
declare const Password: React.ForwardRefExoticComponent<PasswordProps & React.RefAttributes<HTMLInputElement>>;
|
|
844
|
+
|
|
845
|
+
interface PasswordCriteriaProps {
|
|
846
|
+
show?: boolean;
|
|
847
|
+
value?: string;
|
|
848
|
+
}
|
|
849
|
+
declare const PasswordRules: {
|
|
850
|
+
key: string;
|
|
851
|
+
rule: string;
|
|
852
|
+
}[];
|
|
853
|
+
declare const passwordValidator: (value: string) => Record<string, boolean>;
|
|
854
|
+
declare const PasswordCriteria: {
|
|
855
|
+
({ show, value }: PasswordCriteriaProps): react_jsx_runtime.JSX.Element;
|
|
856
|
+
displayName: string;
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
interface PasswordRuleProps {
|
|
860
|
+
valid?: boolean;
|
|
861
|
+
rule?: string;
|
|
862
|
+
idx?: number;
|
|
863
|
+
}
|
|
864
|
+
declare const PasswordRule: {
|
|
865
|
+
({ valid, rule, idx }: PasswordRuleProps): react_jsx_runtime.JSX.Element;
|
|
866
|
+
displayName: string;
|
|
867
|
+
};
|
|
868
|
+
|
|
869
|
+
type SpinnerSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
870
|
+
|
|
871
|
+
interface SpinnerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'role'> {
|
|
872
|
+
/** Size of the spinner */
|
|
873
|
+
size?: SpinnerSize;
|
|
874
|
+
/** Message displayed below (or beside when isInline) the spinner */
|
|
875
|
+
message?: React.ReactNode;
|
|
876
|
+
/** Use light-on-dark colour scheme */
|
|
877
|
+
isOnDarkBg?: boolean;
|
|
878
|
+
/** Screen reader text when no visible message is provided */
|
|
879
|
+
srText?: string;
|
|
880
|
+
/** Display the spinner and message side by side */
|
|
881
|
+
isInline?: boolean;
|
|
882
|
+
}
|
|
883
|
+
declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLDivElement>>;
|
|
884
|
+
|
|
779
885
|
interface ToggleProps extends Omit<React.HTMLAttributes<HTMLFieldSetElement>, 'onChange'> {
|
|
780
886
|
/** Unique name for the radio inputs */
|
|
781
887
|
name: string;
|
|
@@ -836,93 +942,54 @@ declare const TableSortLabel: _mui_material.ExtendButtonBase<_mui_material.Table
|
|
|
836
942
|
|
|
837
943
|
interface H1Props extends Omit<TypographyProps, 'variant'> {
|
|
838
944
|
}
|
|
839
|
-
declare
|
|
840
|
-
declare namespace H1 {
|
|
841
|
-
var displayName: string;
|
|
842
|
-
}
|
|
945
|
+
declare const H1: React.ForwardRefExoticComponent<Omit<H1Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
843
946
|
|
|
844
947
|
interface H2Props extends Omit<TypographyProps, 'variant'> {
|
|
845
948
|
}
|
|
846
|
-
declare
|
|
847
|
-
declare namespace H2 {
|
|
848
|
-
var displayName: string;
|
|
849
|
-
}
|
|
949
|
+
declare const H2: React.ForwardRefExoticComponent<Omit<H2Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
850
950
|
|
|
851
951
|
interface H3Props extends Omit<TypographyProps, 'variant'> {
|
|
852
952
|
}
|
|
853
|
-
declare
|
|
854
|
-
declare namespace H3 {
|
|
855
|
-
var displayName: string;
|
|
856
|
-
}
|
|
953
|
+
declare const H3: React.ForwardRefExoticComponent<Omit<H3Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
857
954
|
|
|
858
955
|
interface H4Props extends Omit<TypographyProps, 'variant'> {
|
|
859
956
|
}
|
|
860
|
-
declare
|
|
861
|
-
declare namespace H4 {
|
|
862
|
-
var displayName: string;
|
|
863
|
-
}
|
|
957
|
+
declare const H4: React.ForwardRefExoticComponent<Omit<H4Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
864
958
|
|
|
865
959
|
interface H5Props extends Omit<TypographyProps, 'variant'> {
|
|
866
960
|
}
|
|
867
|
-
declare
|
|
868
|
-
declare namespace H5 {
|
|
869
|
-
var displayName: string;
|
|
870
|
-
}
|
|
961
|
+
declare const H5: React.ForwardRefExoticComponent<Omit<H5Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
871
962
|
|
|
872
963
|
interface H6Props extends Omit<TypographyProps, 'variant'> {
|
|
873
964
|
}
|
|
874
|
-
declare
|
|
875
|
-
declare namespace H6 {
|
|
876
|
-
var displayName: string;
|
|
877
|
-
}
|
|
965
|
+
declare const H6: React.ForwardRefExoticComponent<Omit<H6Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
878
966
|
|
|
879
967
|
interface Subtitle1Props extends Omit<TypographyProps, 'variant'> {
|
|
880
968
|
}
|
|
881
|
-
declare
|
|
882
|
-
declare namespace Subtitle1 {
|
|
883
|
-
var displayName: string;
|
|
884
|
-
}
|
|
969
|
+
declare const Subtitle1: React.ForwardRefExoticComponent<Omit<Subtitle1Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
885
970
|
|
|
886
971
|
interface Subtitle2Props extends Omit<TypographyProps, 'variant'> {
|
|
887
972
|
}
|
|
888
|
-
declare
|
|
889
|
-
declare namespace Subtitle2 {
|
|
890
|
-
var displayName: string;
|
|
891
|
-
}
|
|
973
|
+
declare const Subtitle2: React.ForwardRefExoticComponent<Omit<Subtitle2Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
892
974
|
|
|
893
975
|
interface Body1Props extends Omit<TypographyProps, 'variant'> {
|
|
894
976
|
}
|
|
895
|
-
declare
|
|
896
|
-
declare namespace Body1 {
|
|
897
|
-
var displayName: string;
|
|
898
|
-
}
|
|
977
|
+
declare const Body1: React.ForwardRefExoticComponent<Omit<Body1Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
899
978
|
|
|
900
979
|
interface Body2Props extends Omit<TypographyProps, 'variant'> {
|
|
901
980
|
}
|
|
902
|
-
declare
|
|
903
|
-
declare namespace Body2 {
|
|
904
|
-
var displayName: string;
|
|
905
|
-
}
|
|
981
|
+
declare const Body2: React.ForwardRefExoticComponent<Omit<Body2Props, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
906
982
|
|
|
907
983
|
interface CaptionProps extends Omit<TypographyProps, 'variant'> {
|
|
908
984
|
}
|
|
909
|
-
declare
|
|
910
|
-
declare namespace Caption {
|
|
911
|
-
var displayName: string;
|
|
912
|
-
}
|
|
985
|
+
declare const Caption: React.ForwardRefExoticComponent<Omit<CaptionProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
913
986
|
|
|
914
987
|
interface OverlineProps extends Omit<TypographyProps, 'variant'> {
|
|
915
988
|
}
|
|
916
|
-
declare
|
|
917
|
-
declare namespace Overline {
|
|
918
|
-
var displayName: string;
|
|
919
|
-
}
|
|
989
|
+
declare const Overline: React.ForwardRefExoticComponent<Omit<OverlineProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
920
990
|
|
|
921
991
|
interface TypographyButtonProps extends Omit<TypographyProps, 'variant'> {
|
|
922
992
|
}
|
|
923
|
-
declare
|
|
924
|
-
declare namespace TypographyButton {
|
|
925
|
-
var displayName: string;
|
|
926
|
-
}
|
|
993
|
+
declare const TypographyButton: React.ForwardRefExoticComponent<Omit<TypographyButtonProps, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
927
994
|
|
|
928
|
-
export { ABNInput, type ABNInputProps, Accordion, AccordionDetails, type AccordionDetailsProps, type AccordionProps, AccordionSummary, type AccordionSummaryProps, Alert, type AlertProps, AlertTitle, type AlertTitleProps, Avatar, type AvatarProps, type AvatarSize, Body1, type Body1Props, Body2, type Body2Props, type BorderRadiusTokens, Button, type ButtonProps, Caption, type CaptionProps, Card, CardActions, CardContent, CardHeader, type CardProps, Chip, type ChipProps, type ColorTokens, type ComponentTokens, DateCalendar, type DateCalendarProps, DateField, type DateFieldProps, DateLocalizationProvider, type DateLocalizationProviderProps, DatePicker, type DatePickerProps, DateRangePickerCalendar, type DateRangePickerCalendarProps, DateRangePickerInput, type DateRangePickerInputProps, type DateRangeValue, DateTimeField, type DateTimeFieldProps, DateTimePicker, type DateTimePickerProps, DesktopDatePicker, type DesktopDatePickerProps, DesktopDateTimePicker, type DesktopDateTimePickerProps, DesktopTimePicker, type DesktopTimePickerProps, Grid, type GridProps, H1, type H1Props, H2, type H2Props, H3, type H3Props, H4, type H4Props, H5, type H5Props, H6, type H6Props, InternalLinkItem, type InternalLinkItemProps, Link, type LinkProps, MobileDatePicker, type MobileDatePickerProps, MobileDateTimePicker, type MobileDateTimePickerProps, MobileTimePicker, type MobileTimePickerProps, Overline, type OverlineProps, type ShadowTokens, type SpacingTokens, StandaloneAccordion, StaticDatePicker, type StaticDatePickerProps, StaticDateTimePicker, type StaticDateTimePickerProps, StaticTimePicker, type StaticTimePickerProps, Subtitle1, type Subtitle1Props, Subtitle2, type Subtitle2Props, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableContainer, type TableContainerProps, TableHead, TableHeadCell, type TableHeadProps, TablePagination, type TableProps, TableRow, type TableRowProps, TableSortLabel, TextField, type TextFieldProps, type ThemeName, type ThemeTokens, TimeField, type TimeFieldProps, TimePicker, type TimePickerProps, Toggle, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToolkitThemeProvider, type TransitionTokens, TypographyButton, type TypographyButtonProps, type TypographyTokens, Variant, type ZIndexTokens, createMuiTheme, getThemeTokens, resolveThemeName, themeRegistry };
|
|
995
|
+
export { ABNInput, type ABNInputProps, Accordion, AccordionDetails, type AccordionDetailsProps, type AccordionProps, AccordionSummary, type AccordionSummaryProps, Alert, type AlertProps, AlertTitle, type AlertTitleProps, Avatar, type AvatarProps, type AvatarSize, Body1, type Body1Props, Body2, type Body2Props, type BorderRadiusTokens, Button, type ButtonProps, Caption, type CaptionProps, Card, CardActions, CardContent, CardHeader, type CardProps, Chip, type ChipProps, type ColorTokens, type ComponentTokens, DateCalendar, type DateCalendarProps, DateField, type DateFieldProps, DateLocalizationProvider, type DateLocalizationProviderProps, DatePicker, type DatePickerProps, DateRangePickerCalendar, type DateRangePickerCalendarProps, DateRangePickerInput, type DateRangePickerInputProps, type DateRangeValue, DateTimeField, type DateTimeFieldProps, DateTimePicker, type DateTimePickerProps, DesktopDatePicker, type DesktopDatePickerProps, DesktopDateTimePicker, type DesktopDateTimePickerProps, DesktopTimePicker, type DesktopTimePickerProps, Grid, type GridProps, H1, type H1Props, H2, type H2Props, H3, type H3Props, H4, type H4Props, H5, type H5Props, H6, type H6Props, InternalLinkItem, type InternalLinkItemProps, Link, type LinkProps, LogoLink, type LogoLinkProps, MobileDatePicker, type MobileDatePickerProps, MobileDateTimePicker, type MobileDateTimePickerProps, MobileTimePicker, type MobileTimePickerProps, Overline, type OverlineProps, PageSpinner, type PageSpinnerProps, Pagination, type PaginationColor, type PaginationProps, type PaginationShape, type PaginationVariant, Paragraph, type ParagraphProps, Password, PasswordCriteria, type PasswordCriteriaProps, type PasswordProps, PasswordRule, type PasswordRuleProps, PasswordRules, type ShadowTokens, type SpacingTokens, Spinner, type SpinnerProps, type SpinnerSize, StandaloneAccordion, StaticDatePicker, type StaticDatePickerProps, StaticDateTimePicker, type StaticDateTimePickerProps, StaticTimePicker, type StaticTimePickerProps, Subtitle1, type Subtitle1Props, Subtitle2, type Subtitle2Props, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableContainer, type TableContainerProps, TableHead, TableHeadCell, type TableHeadProps, TablePagination, type TableProps, TableRow, type TableRowProps, TableSortLabel, TextField, type TextFieldProps, type ThemeName, type ThemeTokens, TimeField, type TimeFieldProps, TimePicker, type TimePickerProps, Toggle, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, type ToggleProps, ToolkitThemeProvider, type TransitionTokens, TypographyButton, type TypographyButtonProps, type TypographyTokens, Variant, type ZIndexTokens, createMuiTheme, getThemeTokens, passwordValidator, resolveThemeName, themeRegistry };
|