@octoguide/mui-ui-toolkit 0.7.6 → 0.8.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/index.d.mts +99 -77
- package/dist/index.d.ts +99 -77
- package/dist/index.js +292 -195
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +224 -128
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React from 'react';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import React__default from 'react';
|
|
3
4
|
import { Theme } from '@mui/material/styles';
|
|
4
5
|
import * as _mui_material from '@mui/material';
|
|
5
|
-
import { TextFieldProps as TextFieldProps$1, ButtonProps as ButtonProps$1, ChipProps as ChipProps$1, CardProps as CardProps$1, CardActions as CardActions$1, AlertProps as AlertProps$1, AlertTitleProps as AlertTitleProps$1, AccordionProps as AccordionProps$1, AccordionDetailsProps as AccordionDetailsProps$1, AccordionSummaryProps as AccordionSummaryProps$1,
|
|
6
|
+
import { TextFieldProps as TextFieldProps$1, ButtonProps as ButtonProps$1, ChipProps as ChipProps$1, CardProps as CardProps$1, CardActions as CardActions$1, AlertProps as AlertProps$1, AlertTitleProps as AlertTitleProps$1, AccordionProps as AccordionProps$1, AccordionDetailsProps as AccordionDetailsProps$1, AccordionSummaryProps as AccordionSummaryProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1, ToggleButtonProps as ToggleButtonProps$1, Grid2Props, SvgIconProps, TableProps as TableProps$1, TableBodyProps as TableBodyProps$1, TableCellProps as TableCellProps$1, TableContainerProps as TableContainerProps$1, TableHeadProps as TableHeadProps$1, TableRowProps as TableRowProps$1, TypographyProps } from '@mui/material';
|
|
6
7
|
export { CardActionsProps, CardHeaderProps, TablePaginationProps, TableSortLabelProps } from '@mui/material';
|
|
7
8
|
import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
|
|
8
9
|
import * as _emotion_styled from '@emotion/styled';
|
|
@@ -352,7 +353,7 @@ interface ToolkitThemeProviderProps {
|
|
|
352
353
|
* to let a user switch themes at runtime.
|
|
353
354
|
*/
|
|
354
355
|
theme?: ThemeName;
|
|
355
|
-
children:
|
|
356
|
+
children: React__default.ReactNode;
|
|
356
357
|
/**
|
|
357
358
|
* Inject MUI's CssBaseline (recommended for normalizing browser styles).
|
|
358
359
|
* Defaults to true.
|
|
@@ -424,7 +425,7 @@ type TextFieldProps = TextFieldProps$1 & {
|
|
|
424
425
|
/** When true and type="password", renders a visibility toggle icon button as end adornment. */
|
|
425
426
|
showPasswordToggle?: boolean;
|
|
426
427
|
};
|
|
427
|
-
declare const TextField:
|
|
428
|
+
declare const TextField: React__default.ForwardRefExoticComponent<(Omit<_mui_material.OutlinedTextFieldProps & {
|
|
428
429
|
/** When true and type="password", renders a visibility toggle icon button as end adornment. */
|
|
429
430
|
showPasswordToggle?: boolean;
|
|
430
431
|
}, "ref"> | Omit<_mui_material.FilledTextFieldProps & {
|
|
@@ -433,7 +434,7 @@ declare const TextField: React.ForwardRefExoticComponent<(Omit<_mui_material.Out
|
|
|
433
434
|
}, "ref"> | Omit<_mui_material.StandardTextFieldProps & {
|
|
434
435
|
/** When true and type="password", renders a visibility toggle icon button as end adornment. */
|
|
435
436
|
showPasswordToggle?: boolean;
|
|
436
|
-
}, "ref">) &
|
|
437
|
+
}, "ref">) & React__default.RefAttributes<HTMLInputElement>>;
|
|
437
438
|
|
|
438
439
|
interface ABNInputProps extends Omit<TextFieldProps, 'onChange'> {
|
|
439
440
|
/** Marks the field as invalid — maps to MUI's `error` prop */
|
|
@@ -443,14 +444,14 @@ interface ABNInputProps extends Omit<TextFieldProps, 'onChange'> {
|
|
|
443
444
|
/** Makes the input read-only */
|
|
444
445
|
readOnly?: boolean;
|
|
445
446
|
/** Called with the synthetic event and `{ value, unformattedValue }` */
|
|
446
|
-
onChange?: (event:
|
|
447
|
+
onChange?: (event: React__default.ChangeEvent<HTMLInputElement>, values: {
|
|
447
448
|
value: string;
|
|
448
449
|
unformattedValue: string;
|
|
449
450
|
}) => void;
|
|
450
451
|
/** Current value — digits or pre-formatted ABN string */
|
|
451
452
|
value?: string;
|
|
452
453
|
}
|
|
453
|
-
declare const ABNInput:
|
|
454
|
+
declare const ABNInput: React__default.ForwardRefExoticComponent<Omit<ABNInputProps, "ref"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
454
455
|
|
|
455
456
|
interface ButtonProps extends ButtonProps$1 {
|
|
456
457
|
/** Show a loading spinner and disable interaction */
|
|
@@ -467,7 +468,7 @@ interface ConfirmDialogProps {
|
|
|
467
468
|
/** Dialog heading */
|
|
468
469
|
title: string;
|
|
469
470
|
/** Supporting text below the title */
|
|
470
|
-
description?:
|
|
471
|
+
description?: React__default.ReactNode;
|
|
471
472
|
/** Label for the confirm button — defaults to "Confirm" */
|
|
472
473
|
confirmLabel?: string;
|
|
473
474
|
/** Label for the cancel button — defaults to "Cancel" */
|
|
@@ -548,20 +549,20 @@ type AccordionDetailsProps = AccordionDetailsProps$1;
|
|
|
548
549
|
* independent card-per-item styling.
|
|
549
550
|
*/
|
|
550
551
|
declare const StandaloneAccordion: _emotion_styled.StyledComponent<{
|
|
551
|
-
children: NonNullable<
|
|
552
|
+
children: NonNullable<React__default.ReactNode>;
|
|
552
553
|
classes?: Partial<_mui_material.AccordionClasses>;
|
|
553
554
|
defaultExpanded?: boolean;
|
|
554
555
|
disabled?: boolean;
|
|
555
556
|
disableGutters?: boolean;
|
|
556
557
|
expanded?: boolean;
|
|
557
|
-
onChange?: (event:
|
|
558
|
+
onChange?: (event: React__default.SyntheticEvent, expanded: boolean) => void;
|
|
558
559
|
sx?: _mui_system.SxProps<_mui_material.Theme>;
|
|
559
|
-
TransitionComponent?:
|
|
560
|
-
children?:
|
|
560
|
+
TransitionComponent?: React__default.JSXElementConstructor<_mui_material_transitions.TransitionProps & {
|
|
561
|
+
children?: React__default.ReactElement<unknown, any>;
|
|
561
562
|
}>;
|
|
562
563
|
TransitionProps?: _mui_material_transitions.TransitionProps;
|
|
563
|
-
} & _mui_material.AccordionSlotsAndSlotProps & Omit<_mui_material.PaperOwnProps, "classes" | "onChange"> & _mui_material_OverridableComponent.CommonProps & Omit<Omit<
|
|
564
|
-
ref?: ((instance: HTMLDivElement | null) => void |
|
|
564
|
+
} & _mui_material.AccordionSlotsAndSlotProps & Omit<_mui_material.PaperOwnProps, "classes" | "onChange"> & _mui_material_OverridableComponent.CommonProps & Omit<Omit<React__default.DetailedHTMLProps<React__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
565
|
+
ref?: ((instance: HTMLDivElement | null) => void | React__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React__default.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React__default.RefObject<HTMLDivElement> | null | undefined;
|
|
565
566
|
}, "disabled" | keyof _mui_material_OverridableComponent.CommonProps | "children" | "sx" | "variant" | "onChange" | "elevation" | "square" | "expanded" | "defaultExpanded" | "disableGutters" | "TransitionComponent" | "TransitionProps" | keyof _mui_material.AccordionSlotsAndSlotProps> & _mui_system.MUIStyledCommonProps<_mui_material.Theme>, {}, {}>;
|
|
566
567
|
declare function Accordion(props: AccordionProps): react_jsx_runtime.JSX.Element;
|
|
567
568
|
declare namespace Accordion {
|
|
@@ -602,14 +603,20 @@ declare function Avatar({ size, ...props }: AvatarProps): react_jsx_runtime.JSX.
|
|
|
602
603
|
|
|
603
604
|
type ToggleButtonProps = ToggleButtonProps$1;
|
|
604
605
|
type ToggleButtonGroupProps = ToggleButtonGroupProps$1;
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
declare
|
|
611
|
-
|
|
612
|
-
|
|
606
|
+
/**
|
|
607
|
+
* A bordered pill-style container that groups ToggleButton options.
|
|
608
|
+
* Styled to match the toolkit Toggle component aesthetic by default.
|
|
609
|
+
* All MuiToggleButtonGroup props are supported — override via sx as needed.
|
|
610
|
+
*/
|
|
611
|
+
declare const ToggleButtonGroup: _emotion_styled.StyledComponent<ToggleButtonGroupProps$1 & _mui_system.MUIStyledCommonProps<_mui_material.Theme>, {}, {}>;
|
|
612
|
+
/**
|
|
613
|
+
* A single option within a ToggleButtonGroup.
|
|
614
|
+
* Selected state fills with primary colour and white text, matching the
|
|
615
|
+
* toolkit Toggle "On" button. All MuiToggleButton props are supported.
|
|
616
|
+
*/
|
|
617
|
+
declare const ToggleButton: _emotion_styled.StyledComponent<_mui_material.ToggleButtonOwnProps & Omit<_mui_material.ButtonBaseOwnProps, "classes"> & _mui_material_OverridableComponent.CommonProps & Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
618
|
+
ref?: ((instance: HTMLButtonElement | null) => void | React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof React.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
619
|
+
}, "color" | "disabled" | "className" | "style" | "classes" | "action" | "centerRipple" | "children" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "tabIndex" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "fullWidth" | "size" | "value" | "onChange" | "onClick" | "selected"> & _mui_system.MUIStyledCommonProps<_mui_material.Theme>, {}, {}>;
|
|
613
620
|
|
|
614
621
|
type DatePickerProps = DatePickerProps$1;
|
|
615
622
|
type DesktopDatePickerProps = DesktopDatePickerProps$1;
|
|
@@ -628,7 +635,7 @@ type DateTimeFieldProps = DateTimeFieldProps$1;
|
|
|
628
635
|
type StaticDateTimePickerProps = StaticDateTimePickerProps$1;
|
|
629
636
|
type DateCalendarProps = DateCalendarProps$1;
|
|
630
637
|
interface DateLocalizationProviderProps {
|
|
631
|
-
children:
|
|
638
|
+
children: React__default.ReactNode;
|
|
632
639
|
}
|
|
633
640
|
declare function DateLocalizationProvider({ children }: DateLocalizationProviderProps): react_jsx_runtime.JSX.Element;
|
|
634
641
|
declare namespace DateLocalizationProvider {
|
|
@@ -771,7 +778,7 @@ interface IconTextSymbol {
|
|
|
771
778
|
viewBox?: string;
|
|
772
779
|
isMounted?: boolean;
|
|
773
780
|
}
|
|
774
|
-
interface IconTextProps extends
|
|
781
|
+
interface IconTextProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
775
782
|
/** SVG symbol object (e.g. from @online/symbols or an inline SVG descriptor) */
|
|
776
783
|
symbol: IconTextSymbol;
|
|
777
784
|
/** Props forwarded to the MUI SvgIcon wrapper */
|
|
@@ -781,9 +788,9 @@ interface IconTextProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
781
788
|
/** Inherit font-family and line-height from the parent (useful inside buttons, links) */
|
|
782
789
|
inheritFontFamily?: boolean;
|
|
783
790
|
}
|
|
784
|
-
declare const IconText:
|
|
791
|
+
declare const IconText: React__default.ForwardRefExoticComponent<IconTextProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
785
792
|
|
|
786
|
-
interface InternalLinkItemProps extends Omit<
|
|
793
|
+
interface InternalLinkItemProps extends Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
787
794
|
/** URL for the anchor href */
|
|
788
795
|
link?: string;
|
|
789
796
|
/** The label to display */
|
|
@@ -791,13 +798,13 @@ interface InternalLinkItemProps extends Omit<React.AnchorHTMLAttributes<HTMLAnch
|
|
|
791
798
|
/** Secondary text displayed beneath the label */
|
|
792
799
|
caption?: string;
|
|
793
800
|
/** Optional icon rendered on the left */
|
|
794
|
-
icon?:
|
|
801
|
+
icon?: React__default.ReactNode;
|
|
795
802
|
/**
|
|
796
803
|
* Swap the rendered element — pass a React Router `<Link>` or any
|
|
797
804
|
* component that accepts an `href`/`to` prop.
|
|
798
805
|
* Defaults to a plain `<a>`.
|
|
799
806
|
*/
|
|
800
|
-
component?:
|
|
807
|
+
component?: React__default.ElementType;
|
|
801
808
|
}
|
|
802
809
|
declare function InternalLinkItem({ link, icon, label, caption, component, ...restProps }: InternalLinkItemProps): react_jsx_runtime.JSX.Element;
|
|
803
810
|
declare namespace InternalLinkItem {
|
|
@@ -809,13 +816,13 @@ declare const Variant: {
|
|
|
809
816
|
readonly external: "external";
|
|
810
817
|
readonly file: "file";
|
|
811
818
|
};
|
|
812
|
-
interface LinkProps extends Omit<
|
|
819
|
+
interface LinkProps extends Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
|
|
813
820
|
/** Content of the link */
|
|
814
|
-
children:
|
|
821
|
+
children: React__default.ReactNode;
|
|
815
822
|
/** Visual variant — controls icon and default target */
|
|
816
823
|
variant?: 'standard' | 'external' | 'file';
|
|
817
824
|
/** Custom icon component (standard variant only) */
|
|
818
|
-
icon?:
|
|
825
|
+
icon?: React__default.ElementType;
|
|
819
826
|
/** Render the icon on the right instead of the left */
|
|
820
827
|
iconToRight?: boolean;
|
|
821
828
|
/** Extra padding, renders the link as a standalone block-level call-to-action */
|
|
@@ -827,13 +834,13 @@ interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>,
|
|
|
827
834
|
/** Link URL */
|
|
828
835
|
href?: string;
|
|
829
836
|
/** Swap the rendered element — pass a React Router `<Link>` or similar */
|
|
830
|
-
component?:
|
|
837
|
+
component?: React__default.ElementType;
|
|
831
838
|
}
|
|
832
|
-
declare const Link:
|
|
839
|
+
declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
|
|
833
840
|
|
|
834
|
-
interface LogoLinkProps extends Omit<
|
|
841
|
+
interface LogoLinkProps extends Omit<React__default.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
835
842
|
/** Logo content — pass an `<img>`, inline SVG, or any React node */
|
|
836
|
-
children:
|
|
843
|
+
children: React__default.ReactNode;
|
|
837
844
|
/** Link destination, defaults to '/' */
|
|
838
845
|
href?: string;
|
|
839
846
|
/** Compact height mode (45px instead of 55px) */
|
|
@@ -841,13 +848,13 @@ interface LogoLinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElemen
|
|
|
841
848
|
/** Accessible title for the link, defaults to 'Home' */
|
|
842
849
|
title?: string;
|
|
843
850
|
/** Swap the rendered element — pass a React Router `<Link>` or similar */
|
|
844
|
-
component?:
|
|
851
|
+
component?: React__default.ElementType;
|
|
845
852
|
}
|
|
846
|
-
declare const LogoLink:
|
|
853
|
+
declare const LogoLink: React__default.ForwardRefExoticComponent<LogoLinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
|
|
847
854
|
|
|
848
855
|
interface MultiSelectOption {
|
|
849
856
|
value: string;
|
|
850
|
-
label: string |
|
|
857
|
+
label: string | React__default.ReactNode;
|
|
851
858
|
}
|
|
852
859
|
interface MultiSelectProps {
|
|
853
860
|
options: MultiSelectOption[];
|
|
@@ -858,9 +865,9 @@ interface MultiSelectProps {
|
|
|
858
865
|
};
|
|
859
866
|
preSelectedOptions?: Array<{
|
|
860
867
|
value: string;
|
|
861
|
-
label?: string |
|
|
868
|
+
label?: string | React__default.ReactNode;
|
|
862
869
|
}>;
|
|
863
|
-
renderOption: (option: any, currentOptionIndex: number, handleSelectOption: (event:
|
|
870
|
+
renderOption: (option: any, currentOptionIndex: number, handleSelectOption: (event: React__default.SyntheticEvent, option: any) => void, checked: boolean, inputId: string) => React__default.ReactNode;
|
|
864
871
|
label?: string;
|
|
865
872
|
inputId: string;
|
|
866
873
|
hasError?: boolean;
|
|
@@ -868,14 +875,14 @@ interface MultiSelectProps {
|
|
|
868
875
|
hasSelectAll?: boolean;
|
|
869
876
|
hasTooltip?: boolean;
|
|
870
877
|
required?: boolean;
|
|
871
|
-
selectButtonRef?:
|
|
872
|
-
onBlur?: (e:
|
|
873
|
-
onFocus?: (e:
|
|
874
|
-
onKeyUp?: (e:
|
|
875
|
-
onKeyDown?: (e:
|
|
876
|
-
onClick?: (e:
|
|
877
|
-
onTouchStart?: (e:
|
|
878
|
-
onTouchEnd?: (e:
|
|
878
|
+
selectButtonRef?: React__default.Ref<any>;
|
|
879
|
+
onBlur?: (e: React__default.FocusEvent<any>) => void;
|
|
880
|
+
onFocus?: (e: React__default.FocusEvent<any>) => void;
|
|
881
|
+
onKeyUp?: (e: React__default.KeyboardEvent<any>) => void;
|
|
882
|
+
onKeyDown?: (e: React__default.KeyboardEvent<any>) => void;
|
|
883
|
+
onClick?: (e: React__default.MouseEvent<any>) => void;
|
|
884
|
+
onTouchStart?: (e: React__default.TouchEvent<any>) => void;
|
|
885
|
+
onTouchEnd?: (e: React__default.TouchEvent<any>) => void;
|
|
879
886
|
className?: string;
|
|
880
887
|
id?: string;
|
|
881
888
|
}
|
|
@@ -884,11 +891,26 @@ declare const MultiSelect: {
|
|
|
884
891
|
displayName: string;
|
|
885
892
|
};
|
|
886
893
|
|
|
887
|
-
interface
|
|
894
|
+
interface OtpInputProps {
|
|
895
|
+
/** Current OTP string value (up to 6 digits) */
|
|
896
|
+
value: string;
|
|
897
|
+
/** Called with the updated value string whenever any digit changes */
|
|
898
|
+
onChange: (value: string) => void;
|
|
899
|
+
/** Marks all digit inputs as invalid */
|
|
900
|
+
error?: boolean;
|
|
901
|
+
/** Disables all digit inputs */
|
|
902
|
+
disabled?: boolean;
|
|
903
|
+
}
|
|
904
|
+
declare const OtpInput: {
|
|
905
|
+
({ value, onChange, error, disabled }: OtpInputProps): react_jsx_runtime.JSX.Element;
|
|
906
|
+
displayName: string;
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
interface PageSpinnerProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'role'> {
|
|
888
910
|
/** Loading message shown below the spinner */
|
|
889
911
|
message?: string;
|
|
890
912
|
/** Override the visible message with a React node (the `message` prop is still announced to screen readers) */
|
|
891
|
-
customMessageLayout?:
|
|
913
|
+
customMessageLayout?: React__default.ReactNode;
|
|
892
914
|
/** Use light-on-dark colour scheme */
|
|
893
915
|
isOnDarkBg?: boolean;
|
|
894
916
|
/** Additional screen reader text when no visible message is needed */
|
|
@@ -898,7 +920,7 @@ interface PageSpinnerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'r
|
|
|
898
920
|
/** Aria-live politeness for the screen reader announcement */
|
|
899
921
|
messageTone?: 'assertive' | 'polite';
|
|
900
922
|
}
|
|
901
|
-
declare const PageSpinner:
|
|
923
|
+
declare const PageSpinner: React__default.ForwardRefExoticComponent<PageSpinnerProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
902
924
|
|
|
903
925
|
type PaginationVariant = 'text' | 'outlined' | 'soft';
|
|
904
926
|
type PaginationShape = 'circular' | 'rounded';
|
|
@@ -911,29 +933,29 @@ interface PaginationProps extends Omit<PaginationProps$1, 'variant' | 'color' |
|
|
|
911
933
|
/** Color applied to the selected/active item */
|
|
912
934
|
color?: PaginationColor;
|
|
913
935
|
}
|
|
914
|
-
declare const Pagination:
|
|
936
|
+
declare const Pagination: React__default.ForwardRefExoticComponent<Omit<PaginationProps, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
915
937
|
|
|
916
|
-
interface ParagraphProps extends Omit<
|
|
938
|
+
interface ParagraphProps extends Omit<React__default.HTMLAttributes<HTMLParagraphElement>, 'color'> {
|
|
917
939
|
/** Visual style variant */
|
|
918
940
|
variant?: 'regular' | 'semibold' | 'bold' | 'overline' | 'primary' | 'secondary';
|
|
919
941
|
/** Renders the correct text colour on a dark background */
|
|
920
942
|
isOnDarkBg?: boolean;
|
|
921
|
-
children:
|
|
943
|
+
children: React__default.ReactNode;
|
|
922
944
|
}
|
|
923
|
-
declare const Paragraph:
|
|
945
|
+
declare const Paragraph: React__default.ForwardRefExoticComponent<ParagraphProps & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
924
946
|
|
|
925
947
|
interface PasswordProps {
|
|
926
948
|
isInvalid?: boolean;
|
|
927
949
|
value?: string;
|
|
928
950
|
label?: string;
|
|
929
|
-
onBlur?: (event:
|
|
930
|
-
onChange?: (event:
|
|
951
|
+
onBlur?: (event: React__default.FocusEvent<HTMLInputElement>) => void;
|
|
952
|
+
onChange?: (event: React__default.ChangeEvent<HTMLInputElement>, isCriteriaMet: boolean) => void;
|
|
931
953
|
ariaDescribedby?: string;
|
|
932
954
|
ariaLabelledby?: string;
|
|
933
955
|
className?: string;
|
|
934
956
|
id?: string;
|
|
935
957
|
}
|
|
936
|
-
declare const Password:
|
|
958
|
+
declare const Password: React__default.ForwardRefExoticComponent<PasswordProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
937
959
|
|
|
938
960
|
interface PasswordCriteriaProps {
|
|
939
961
|
show?: boolean;
|
|
@@ -962,11 +984,11 @@ declare const PasswordRule: {
|
|
|
962
984
|
|
|
963
985
|
type SpinnerSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
964
986
|
|
|
965
|
-
interface SpinnerProps extends Omit<
|
|
987
|
+
interface SpinnerProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'role'> {
|
|
966
988
|
/** Size of the spinner */
|
|
967
989
|
size?: SpinnerSize;
|
|
968
990
|
/** Message displayed below (or beside when isInline) the spinner */
|
|
969
|
-
message?:
|
|
991
|
+
message?: React__default.ReactNode;
|
|
970
992
|
/** Use light-on-dark colour scheme */
|
|
971
993
|
isOnDarkBg?: boolean;
|
|
972
994
|
/** Screen reader text when no visible message is provided */
|
|
@@ -974,9 +996,9 @@ interface SpinnerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'role'
|
|
|
974
996
|
/** Display the spinner and message side by side */
|
|
975
997
|
isInline?: boolean;
|
|
976
998
|
}
|
|
977
|
-
declare const Spinner:
|
|
999
|
+
declare const Spinner: React__default.ForwardRefExoticComponent<SpinnerProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
978
1000
|
|
|
979
|
-
interface ToggleProps extends Omit<
|
|
1001
|
+
interface ToggleProps extends Omit<React__default.HTMLAttributes<HTMLFieldSetElement>, 'onChange'> {
|
|
980
1002
|
/** Unique name for the radio inputs */
|
|
981
1003
|
name: string;
|
|
982
1004
|
/** Whether the toggle is in the "on" state */
|
|
@@ -1031,59 +1053,59 @@ declare function TableContainer(props: TableContainerProps): react_jsx_runtime.J
|
|
|
1031
1053
|
declare namespace TableContainer {
|
|
1032
1054
|
var displayName: string;
|
|
1033
1055
|
}
|
|
1034
|
-
declare const TablePagination: _mui_material_OverridableComponent.OverridableComponent<_mui_material.TablePaginationTypeMap<{},
|
|
1056
|
+
declare const TablePagination: _mui_material_OverridableComponent.OverridableComponent<_mui_material.TablePaginationTypeMap<{}, React__default.JSXElementConstructor<_mui_material.TablePaginationBaseProps>>>;
|
|
1035
1057
|
declare const TableSortLabel: _mui_material.ExtendButtonBase<_mui_material.TableSortLabelTypeMap<{}, "span">>;
|
|
1036
1058
|
|
|
1037
1059
|
interface H1Props extends Omit<TypographyProps, 'variant'> {
|
|
1038
1060
|
}
|
|
1039
|
-
declare const H1:
|
|
1061
|
+
declare const H1: React__default.ForwardRefExoticComponent<Omit<H1Props, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1040
1062
|
|
|
1041
1063
|
interface H2Props extends Omit<TypographyProps, 'variant'> {
|
|
1042
1064
|
}
|
|
1043
|
-
declare const H2:
|
|
1065
|
+
declare const H2: React__default.ForwardRefExoticComponent<Omit<H2Props, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1044
1066
|
|
|
1045
1067
|
interface H3Props extends Omit<TypographyProps, 'variant'> {
|
|
1046
1068
|
}
|
|
1047
|
-
declare const H3:
|
|
1069
|
+
declare const H3: React__default.ForwardRefExoticComponent<Omit<H3Props, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1048
1070
|
|
|
1049
1071
|
interface H4Props extends Omit<TypographyProps, 'variant'> {
|
|
1050
1072
|
}
|
|
1051
|
-
declare const H4:
|
|
1073
|
+
declare const H4: React__default.ForwardRefExoticComponent<Omit<H4Props, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1052
1074
|
|
|
1053
1075
|
interface H5Props extends Omit<TypographyProps, 'variant'> {
|
|
1054
1076
|
}
|
|
1055
|
-
declare const H5:
|
|
1077
|
+
declare const H5: React__default.ForwardRefExoticComponent<Omit<H5Props, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1056
1078
|
|
|
1057
1079
|
interface H6Props extends Omit<TypographyProps, 'variant'> {
|
|
1058
1080
|
}
|
|
1059
|
-
declare const H6:
|
|
1081
|
+
declare const H6: React__default.ForwardRefExoticComponent<Omit<H6Props, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1060
1082
|
|
|
1061
1083
|
interface Subtitle1Props extends Omit<TypographyProps, 'variant'> {
|
|
1062
1084
|
}
|
|
1063
|
-
declare const Subtitle1:
|
|
1085
|
+
declare const Subtitle1: React__default.ForwardRefExoticComponent<Omit<Subtitle1Props, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1064
1086
|
|
|
1065
1087
|
interface Subtitle2Props extends Omit<TypographyProps, 'variant'> {
|
|
1066
1088
|
}
|
|
1067
|
-
declare const Subtitle2:
|
|
1089
|
+
declare const Subtitle2: React__default.ForwardRefExoticComponent<Omit<Subtitle2Props, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1068
1090
|
|
|
1069
1091
|
interface Body1Props extends Omit<TypographyProps, 'variant'> {
|
|
1070
1092
|
}
|
|
1071
|
-
declare const Body1:
|
|
1093
|
+
declare const Body1: React__default.ForwardRefExoticComponent<Omit<Body1Props, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1072
1094
|
|
|
1073
1095
|
interface Body2Props extends Omit<TypographyProps, 'variant'> {
|
|
1074
1096
|
}
|
|
1075
|
-
declare const Body2:
|
|
1097
|
+
declare const Body2: React__default.ForwardRefExoticComponent<Omit<Body2Props, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1076
1098
|
|
|
1077
1099
|
interface CaptionProps extends Omit<TypographyProps, 'variant'> {
|
|
1078
1100
|
}
|
|
1079
|
-
declare const Caption:
|
|
1101
|
+
declare const Caption: React__default.ForwardRefExoticComponent<Omit<CaptionProps, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1080
1102
|
|
|
1081
1103
|
interface OverlineProps extends Omit<TypographyProps, 'variant'> {
|
|
1082
1104
|
}
|
|
1083
|
-
declare const Overline:
|
|
1105
|
+
declare const Overline: React__default.ForwardRefExoticComponent<Omit<OverlineProps, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1084
1106
|
|
|
1085
1107
|
interface TypographyButtonProps extends Omit<TypographyProps, 'variant'> {
|
|
1086
1108
|
}
|
|
1087
|
-
declare const TypographyButton:
|
|
1109
|
+
declare const TypographyButton: React__default.ForwardRefExoticComponent<Omit<TypographyButtonProps, "ref"> & React__default.RefAttributes<HTMLElement>>;
|
|
1088
1110
|
|
|
1089
|
-
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, ConfirmDialog, type ConfirmDialogProps, 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, IconText, type IconTextProps, type IconTextSymbol, InternalLinkItem, type InternalLinkItemProps, Link, type LinkProps, LogoLink, type LogoLinkProps, MobileDatePicker, type MobileDatePickerProps, MobileDateTimePicker, type MobileDateTimePickerProps, MobileTimePicker, type MobileTimePickerProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, 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 };
|
|
1111
|
+
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, ConfirmDialog, type ConfirmDialogProps, 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, IconText, type IconTextProps, type IconTextSymbol, InternalLinkItem, type InternalLinkItemProps, Link, type LinkProps, LogoLink, type LogoLinkProps, MobileDatePicker, type MobileDatePickerProps, MobileDateTimePicker, type MobileDateTimePickerProps, MobileTimePicker, type MobileTimePickerProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, OtpInput, type OtpInputProps, 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 };
|