@octoguide/mui-ui-toolkit 0.3.0 → 0.4.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 CHANGED
@@ -2,8 +2,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React from 'react';
3
3
  import { Theme } from '@mui/material/styles';
4
4
  import * as _mui_material from '@mui/material';
5
- import { ButtonProps as ButtonProps$1, ChipProps as ChipProps$1, CardProps as CardProps$1, CardActions as CardActions$1, TextFieldProps as TextFieldProps$1, AlertProps as AlertProps$1, AlertTitleProps as AlertTitleProps$1, AccordionProps as AccordionProps$1, AccordionDetailsProps as AccordionDetailsProps$1, AccordionSummaryProps as AccordionSummaryProps$1, ToggleButtonProps as ToggleButtonProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1, Grid2Props, TypographyProps } from '@mui/material';
6
- export { CardActionsProps, CardHeaderProps } 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, ToggleButtonProps as ToggleButtonProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1, Grid2Props, 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
+ export { CardActionsProps, CardHeaderProps, TablePaginationProps, TableSortLabelProps } from '@mui/material';
7
7
  import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
8
8
  import * as _emotion_styled from '@emotion/styled';
9
9
  import * as _mui_material_transitions from '@mui/material/transitions';
@@ -145,8 +145,27 @@ interface FooterTokens {
145
145
  linkColor: string;
146
146
  linkHoverColor: string;
147
147
  }
148
+ interface IconTokens {
149
+ /** 12px — tiny inline icons (e.g. back arrows) */
150
+ xs: string;
151
+ /** 16px — small inline icons */
152
+ sm: string;
153
+ /** 20px — standard small icons (e.g. nav, button icons) */
154
+ md: string;
155
+ /** 24px — standard icons */
156
+ lg: string;
157
+ /** 28px — medium feature icons */
158
+ xl: string;
159
+ /** 32px — large feature icons */
160
+ xxl: string;
161
+ /** 36px — hero / confirmation icons */
162
+ xxxl: string;
163
+ /** 56px — decorative / background icons */
164
+ display: string;
165
+ }
148
166
  interface ComponentTokens {
149
167
  footer: FooterTokens;
168
+ icon: IconTokens;
150
169
  button: {
151
170
  paddingX: string;
152
171
  paddingY: string;
@@ -395,6 +414,38 @@ declare function createMuiTheme(tokens: ThemeTokens): Theme;
395
414
  */
396
415
  declare function resolveThemeName(): ThemeName;
397
416
 
417
+ type TextFieldProps = TextFieldProps$1 & {
418
+ /** When true and type="password", renders a visibility toggle icon button as end adornment. */
419
+ showPasswordToggle?: boolean;
420
+ };
421
+ declare const TextField: React.ForwardRefExoticComponent<(Omit<_mui_material.OutlinedTextFieldProps & {
422
+ /** When true and type="password", renders a visibility toggle icon button as end adornment. */
423
+ showPasswordToggle?: boolean;
424
+ }, "ref"> | Omit<_mui_material.FilledTextFieldProps & {
425
+ /** When true and type="password", renders a visibility toggle icon button as end adornment. */
426
+ showPasswordToggle?: boolean;
427
+ }, "ref"> | Omit<_mui_material.StandardTextFieldProps & {
428
+ /** When true and type="password", renders a visibility toggle icon button as end adornment. */
429
+ showPasswordToggle?: boolean;
430
+ }, "ref">) & React.RefAttributes<HTMLInputElement>>;
431
+
432
+ interface ABNInputProps extends Omit<TextFieldProps, 'onChange'> {
433
+ /** Marks the field as invalid — maps to MUI's `error` prop */
434
+ isInvalid?: boolean;
435
+ /** Shows a loading spinner in the end adornment */
436
+ isLoading?: boolean;
437
+ /** Makes the input read-only */
438
+ readOnly?: boolean;
439
+ /** Called with the synthetic event and `{ value, unformattedValue }` */
440
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>, values: {
441
+ value: string;
442
+ unformattedValue: string;
443
+ }) => void;
444
+ /** Current value — digits or pre-formatted ABN string */
445
+ value?: string;
446
+ }
447
+ declare const ABNInput: React.ForwardRefExoticComponent<Omit<ABNInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
448
+
398
449
  interface ButtonProps extends ButtonProps$1 {
399
450
  /** Show a loading spinner and disable interaction */
400
451
  loading?: boolean;
@@ -430,21 +481,6 @@ declare const CardContent: _mui_material_OverridableComponent.OverridableCompone
430
481
  declare const CardHeader: _mui_material.OverridableCardHeader;
431
482
  declare const CardActions: typeof CardActions$1;
432
483
 
433
- type TextFieldProps = TextFieldProps$1 & {
434
- /** When true and type="password", renders a visibility toggle icon button as end adornment. */
435
- showPasswordToggle?: boolean;
436
- };
437
- declare const TextField: React.ForwardRefExoticComponent<(Omit<_mui_material.OutlinedTextFieldProps & {
438
- /** When true and type="password", renders a visibility toggle icon button as end adornment. */
439
- showPasswordToggle?: boolean;
440
- }, "ref"> | Omit<_mui_material.FilledTextFieldProps & {
441
- /** When true and type="password", renders a visibility toggle icon button as end adornment. */
442
- showPasswordToggle?: boolean;
443
- }, "ref"> | Omit<_mui_material.StandardTextFieldProps & {
444
- /** When true and type="password", renders a visibility toggle icon button as end adornment. */
445
- showPasswordToggle?: boolean;
446
- }, "ref">) & React.RefAttributes<HTMLInputElement>>;
447
-
448
484
  type AlertProps = AlertProps$1;
449
485
  type AlertTitleProps = AlertTitleProps$1;
450
486
  /**
@@ -692,6 +728,112 @@ declare namespace Grid {
692
728
  var displayName: string;
693
729
  }
694
730
 
731
+ interface InternalLinkItemProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
732
+ /** URL for the anchor href */
733
+ link?: string;
734
+ /** The label to display */
735
+ label: string;
736
+ /** Secondary text displayed beneath the label */
737
+ caption?: string;
738
+ /** Optional icon rendered on the left */
739
+ icon?: React.ReactNode;
740
+ /**
741
+ * Swap the rendered element — pass a React Router `<Link>` or any
742
+ * component that accepts an `href`/`to` prop.
743
+ * Defaults to a plain `<a>`.
744
+ */
745
+ component?: React.ElementType;
746
+ }
747
+ declare function InternalLinkItem({ link, icon, label, caption, component, ...restProps }: InternalLinkItemProps): react_jsx_runtime.JSX.Element;
748
+ declare namespace InternalLinkItem {
749
+ var displayName: string;
750
+ }
751
+
752
+ declare const Variant: {
753
+ readonly standard: "standard";
754
+ readonly external: "external";
755
+ readonly file: "file";
756
+ };
757
+ interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
758
+ /** Content of the link */
759
+ children: React.ReactNode;
760
+ /** Visual variant — controls icon and default target */
761
+ variant?: 'standard' | 'external' | 'file';
762
+ /** Custom icon component (standard variant only) */
763
+ icon?: React.ElementType;
764
+ /** Render the icon on the right instead of the left */
765
+ iconToRight?: boolean;
766
+ /** Extra padding, renders the link as a standalone block-level call-to-action */
767
+ standalone?: boolean;
768
+ /** High-contrast mode for use on dark backgrounds */
769
+ isOnDarkBg?: boolean;
770
+ /** Link colour */
771
+ color?: 'black' | 'primary' | 'error';
772
+ /** Link URL */
773
+ href?: string;
774
+ /** Swap the rendered element — pass a React Router `<Link>` or similar */
775
+ component?: React.ElementType;
776
+ }
777
+ declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
778
+
779
+ interface ToggleProps extends Omit<React.HTMLAttributes<HTMLFieldSetElement>, 'onChange'> {
780
+ /** Unique name for the radio inputs */
781
+ name: string;
782
+ /** Whether the toggle is in the "on" state */
783
+ checked?: boolean;
784
+ /** Label displayed above the toggle */
785
+ label?: string;
786
+ /** Helper text displayed beneath the label */
787
+ description?: string;
788
+ /** Error message */
789
+ error?: string;
790
+ /** Callback with the new boolean value when the toggle changes */
791
+ onChange?: (value: boolean) => void;
792
+ /** Blur handler forwarded to both radio inputs */
793
+ onBlur?: () => void;
794
+ }
795
+ declare function Toggle({ name, checked, label, description, error, onChange, onBlur, ...restProps }: ToggleProps): react_jsx_runtime.JSX.Element;
796
+ declare namespace Toggle {
797
+ var displayName: string;
798
+ }
799
+
800
+ type TableProps = TableProps$1;
801
+ type TableHeadProps = TableHeadProps$1;
802
+ type TableBodyProps = TableBodyProps$1;
803
+ type TableRowProps = TableRowProps$1;
804
+ type TableCellProps = TableCellProps$1;
805
+ type TableContainerProps = TableContainerProps$1;
806
+ declare function Table(props: TableProps): react_jsx_runtime.JSX.Element;
807
+ declare namespace Table {
808
+ var displayName: string;
809
+ }
810
+ declare function TableHead(props: TableHeadProps): react_jsx_runtime.JSX.Element;
811
+ declare namespace TableHead {
812
+ var displayName: string;
813
+ }
814
+ declare function TableBody(props: TableBodyProps): react_jsx_runtime.JSX.Element;
815
+ declare namespace TableBody {
816
+ var displayName: string;
817
+ }
818
+ declare function TableRow(props: TableRowProps): react_jsx_runtime.JSX.Element;
819
+ declare namespace TableRow {
820
+ var displayName: string;
821
+ }
822
+ declare function TableCell(props: TableCellProps): react_jsx_runtime.JSX.Element;
823
+ declare namespace TableCell {
824
+ var displayName: string;
825
+ }
826
+ declare function TableHeadCell(props: TableCellProps): react_jsx_runtime.JSX.Element;
827
+ declare namespace TableHeadCell {
828
+ var displayName: string;
829
+ }
830
+ declare function TableContainer(props: TableContainerProps): react_jsx_runtime.JSX.Element;
831
+ declare namespace TableContainer {
832
+ var displayName: string;
833
+ }
834
+ declare const TablePagination: _mui_material_OverridableComponent.OverridableComponent<_mui_material.TablePaginationTypeMap<{}, React.JSXElementConstructor<_mui_material.TablePaginationBaseProps>>>;
835
+ declare const TableSortLabel: _mui_material.ExtendButtonBase<_mui_material.TableSortLabelTypeMap<{}, "span">>;
836
+
695
837
  interface H1Props extends Omit<TypographyProps, 'variant'> {
696
838
  }
697
839
  declare function H1({ color, children, ...props }: H1Props): react_jsx_runtime.JSX.Element;
@@ -783,4 +925,4 @@ declare namespace TypographyButton {
783
925
  var displayName: string;
784
926
  }
785
927
 
786
- export { 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, 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, TextField, type TextFieldProps, type ThemeName, type ThemeTokens, TimeField, type TimeFieldProps, TimePicker, type TimePickerProps, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, ToolkitThemeProvider, type TransitionTokens, TypographyButton, type TypographyButtonProps, type TypographyTokens, type ZIndexTokens, createMuiTheme, getThemeTokens, resolveThemeName, themeRegistry };
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 };
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import React from 'react';
3
3
  import { Theme } from '@mui/material/styles';
4
4
  import * as _mui_material from '@mui/material';
5
- import { ButtonProps as ButtonProps$1, ChipProps as ChipProps$1, CardProps as CardProps$1, CardActions as CardActions$1, TextFieldProps as TextFieldProps$1, AlertProps as AlertProps$1, AlertTitleProps as AlertTitleProps$1, AccordionProps as AccordionProps$1, AccordionDetailsProps as AccordionDetailsProps$1, AccordionSummaryProps as AccordionSummaryProps$1, ToggleButtonProps as ToggleButtonProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1, Grid2Props, TypographyProps } from '@mui/material';
6
- export { CardActionsProps, CardHeaderProps } 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, ToggleButtonProps as ToggleButtonProps$1, ToggleButtonGroupProps as ToggleButtonGroupProps$1, Grid2Props, 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
+ export { CardActionsProps, CardHeaderProps, TablePaginationProps, TableSortLabelProps } from '@mui/material';
7
7
  import * as _mui_material_OverridableComponent from '@mui/material/OverridableComponent';
8
8
  import * as _emotion_styled from '@emotion/styled';
9
9
  import * as _mui_material_transitions from '@mui/material/transitions';
@@ -145,8 +145,27 @@ interface FooterTokens {
145
145
  linkColor: string;
146
146
  linkHoverColor: string;
147
147
  }
148
+ interface IconTokens {
149
+ /** 12px — tiny inline icons (e.g. back arrows) */
150
+ xs: string;
151
+ /** 16px — small inline icons */
152
+ sm: string;
153
+ /** 20px — standard small icons (e.g. nav, button icons) */
154
+ md: string;
155
+ /** 24px — standard icons */
156
+ lg: string;
157
+ /** 28px — medium feature icons */
158
+ xl: string;
159
+ /** 32px — large feature icons */
160
+ xxl: string;
161
+ /** 36px — hero / confirmation icons */
162
+ xxxl: string;
163
+ /** 56px — decorative / background icons */
164
+ display: string;
165
+ }
148
166
  interface ComponentTokens {
149
167
  footer: FooterTokens;
168
+ icon: IconTokens;
150
169
  button: {
151
170
  paddingX: string;
152
171
  paddingY: string;
@@ -395,6 +414,38 @@ declare function createMuiTheme(tokens: ThemeTokens): Theme;
395
414
  */
396
415
  declare function resolveThemeName(): ThemeName;
397
416
 
417
+ type TextFieldProps = TextFieldProps$1 & {
418
+ /** When true and type="password", renders a visibility toggle icon button as end adornment. */
419
+ showPasswordToggle?: boolean;
420
+ };
421
+ declare const TextField: React.ForwardRefExoticComponent<(Omit<_mui_material.OutlinedTextFieldProps & {
422
+ /** When true and type="password", renders a visibility toggle icon button as end adornment. */
423
+ showPasswordToggle?: boolean;
424
+ }, "ref"> | Omit<_mui_material.FilledTextFieldProps & {
425
+ /** When true and type="password", renders a visibility toggle icon button as end adornment. */
426
+ showPasswordToggle?: boolean;
427
+ }, "ref"> | Omit<_mui_material.StandardTextFieldProps & {
428
+ /** When true and type="password", renders a visibility toggle icon button as end adornment. */
429
+ showPasswordToggle?: boolean;
430
+ }, "ref">) & React.RefAttributes<HTMLInputElement>>;
431
+
432
+ interface ABNInputProps extends Omit<TextFieldProps, 'onChange'> {
433
+ /** Marks the field as invalid — maps to MUI's `error` prop */
434
+ isInvalid?: boolean;
435
+ /** Shows a loading spinner in the end adornment */
436
+ isLoading?: boolean;
437
+ /** Makes the input read-only */
438
+ readOnly?: boolean;
439
+ /** Called with the synthetic event and `{ value, unformattedValue }` */
440
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>, values: {
441
+ value: string;
442
+ unformattedValue: string;
443
+ }) => void;
444
+ /** Current value — digits or pre-formatted ABN string */
445
+ value?: string;
446
+ }
447
+ declare const ABNInput: React.ForwardRefExoticComponent<Omit<ABNInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
448
+
398
449
  interface ButtonProps extends ButtonProps$1 {
399
450
  /** Show a loading spinner and disable interaction */
400
451
  loading?: boolean;
@@ -430,21 +481,6 @@ declare const CardContent: _mui_material_OverridableComponent.OverridableCompone
430
481
  declare const CardHeader: _mui_material.OverridableCardHeader;
431
482
  declare const CardActions: typeof CardActions$1;
432
483
 
433
- type TextFieldProps = TextFieldProps$1 & {
434
- /** When true and type="password", renders a visibility toggle icon button as end adornment. */
435
- showPasswordToggle?: boolean;
436
- };
437
- declare const TextField: React.ForwardRefExoticComponent<(Omit<_mui_material.OutlinedTextFieldProps & {
438
- /** When true and type="password", renders a visibility toggle icon button as end adornment. */
439
- showPasswordToggle?: boolean;
440
- }, "ref"> | Omit<_mui_material.FilledTextFieldProps & {
441
- /** When true and type="password", renders a visibility toggle icon button as end adornment. */
442
- showPasswordToggle?: boolean;
443
- }, "ref"> | Omit<_mui_material.StandardTextFieldProps & {
444
- /** When true and type="password", renders a visibility toggle icon button as end adornment. */
445
- showPasswordToggle?: boolean;
446
- }, "ref">) & React.RefAttributes<HTMLInputElement>>;
447
-
448
484
  type AlertProps = AlertProps$1;
449
485
  type AlertTitleProps = AlertTitleProps$1;
450
486
  /**
@@ -692,6 +728,112 @@ declare namespace Grid {
692
728
  var displayName: string;
693
729
  }
694
730
 
731
+ interface InternalLinkItemProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> {
732
+ /** URL for the anchor href */
733
+ link?: string;
734
+ /** The label to display */
735
+ label: string;
736
+ /** Secondary text displayed beneath the label */
737
+ caption?: string;
738
+ /** Optional icon rendered on the left */
739
+ icon?: React.ReactNode;
740
+ /**
741
+ * Swap the rendered element — pass a React Router `<Link>` or any
742
+ * component that accepts an `href`/`to` prop.
743
+ * Defaults to a plain `<a>`.
744
+ */
745
+ component?: React.ElementType;
746
+ }
747
+ declare function InternalLinkItem({ link, icon, label, caption, component, ...restProps }: InternalLinkItemProps): react_jsx_runtime.JSX.Element;
748
+ declare namespace InternalLinkItem {
749
+ var displayName: string;
750
+ }
751
+
752
+ declare const Variant: {
753
+ readonly standard: "standard";
754
+ readonly external: "external";
755
+ readonly file: "file";
756
+ };
757
+ interface LinkProps extends Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'color'> {
758
+ /** Content of the link */
759
+ children: React.ReactNode;
760
+ /** Visual variant — controls icon and default target */
761
+ variant?: 'standard' | 'external' | 'file';
762
+ /** Custom icon component (standard variant only) */
763
+ icon?: React.ElementType;
764
+ /** Render the icon on the right instead of the left */
765
+ iconToRight?: boolean;
766
+ /** Extra padding, renders the link as a standalone block-level call-to-action */
767
+ standalone?: boolean;
768
+ /** High-contrast mode for use on dark backgrounds */
769
+ isOnDarkBg?: boolean;
770
+ /** Link colour */
771
+ color?: 'black' | 'primary' | 'error';
772
+ /** Link URL */
773
+ href?: string;
774
+ /** Swap the rendered element — pass a React Router `<Link>` or similar */
775
+ component?: React.ElementType;
776
+ }
777
+ declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
778
+
779
+ interface ToggleProps extends Omit<React.HTMLAttributes<HTMLFieldSetElement>, 'onChange'> {
780
+ /** Unique name for the radio inputs */
781
+ name: string;
782
+ /** Whether the toggle is in the "on" state */
783
+ checked?: boolean;
784
+ /** Label displayed above the toggle */
785
+ label?: string;
786
+ /** Helper text displayed beneath the label */
787
+ description?: string;
788
+ /** Error message */
789
+ error?: string;
790
+ /** Callback with the new boolean value when the toggle changes */
791
+ onChange?: (value: boolean) => void;
792
+ /** Blur handler forwarded to both radio inputs */
793
+ onBlur?: () => void;
794
+ }
795
+ declare function Toggle({ name, checked, label, description, error, onChange, onBlur, ...restProps }: ToggleProps): react_jsx_runtime.JSX.Element;
796
+ declare namespace Toggle {
797
+ var displayName: string;
798
+ }
799
+
800
+ type TableProps = TableProps$1;
801
+ type TableHeadProps = TableHeadProps$1;
802
+ type TableBodyProps = TableBodyProps$1;
803
+ type TableRowProps = TableRowProps$1;
804
+ type TableCellProps = TableCellProps$1;
805
+ type TableContainerProps = TableContainerProps$1;
806
+ declare function Table(props: TableProps): react_jsx_runtime.JSX.Element;
807
+ declare namespace Table {
808
+ var displayName: string;
809
+ }
810
+ declare function TableHead(props: TableHeadProps): react_jsx_runtime.JSX.Element;
811
+ declare namespace TableHead {
812
+ var displayName: string;
813
+ }
814
+ declare function TableBody(props: TableBodyProps): react_jsx_runtime.JSX.Element;
815
+ declare namespace TableBody {
816
+ var displayName: string;
817
+ }
818
+ declare function TableRow(props: TableRowProps): react_jsx_runtime.JSX.Element;
819
+ declare namespace TableRow {
820
+ var displayName: string;
821
+ }
822
+ declare function TableCell(props: TableCellProps): react_jsx_runtime.JSX.Element;
823
+ declare namespace TableCell {
824
+ var displayName: string;
825
+ }
826
+ declare function TableHeadCell(props: TableCellProps): react_jsx_runtime.JSX.Element;
827
+ declare namespace TableHeadCell {
828
+ var displayName: string;
829
+ }
830
+ declare function TableContainer(props: TableContainerProps): react_jsx_runtime.JSX.Element;
831
+ declare namespace TableContainer {
832
+ var displayName: string;
833
+ }
834
+ declare const TablePagination: _mui_material_OverridableComponent.OverridableComponent<_mui_material.TablePaginationTypeMap<{}, React.JSXElementConstructor<_mui_material.TablePaginationBaseProps>>>;
835
+ declare const TableSortLabel: _mui_material.ExtendButtonBase<_mui_material.TableSortLabelTypeMap<{}, "span">>;
836
+
695
837
  interface H1Props extends Omit<TypographyProps, 'variant'> {
696
838
  }
697
839
  declare function H1({ color, children, ...props }: H1Props): react_jsx_runtime.JSX.Element;
@@ -783,4 +925,4 @@ declare namespace TypographyButton {
783
925
  var displayName: string;
784
926
  }
785
927
 
786
- export { 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, 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, TextField, type TextFieldProps, type ThemeName, type ThemeTokens, TimeField, type TimeFieldProps, TimePicker, type TimePickerProps, ToggleButton, ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, ToolkitThemeProvider, type TransitionTokens, TypographyButton, type TypographyButtonProps, type TypographyTokens, type ZIndexTokens, createMuiTheme, getThemeTokens, resolveThemeName, themeRegistry };
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 };