@octoguide/mui-ui-toolkit 0.9.0 → 0.10.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
@@ -1058,6 +1058,17 @@ declare namespace Toggle {
1058
1058
  var displayName: string;
1059
1059
  }
1060
1060
 
1061
+ type ToastVariant = 'error' | 'warning' | 'success';
1062
+ interface ToastProps extends React__default.HTMLAttributes<HTMLDivElement> {
1063
+ onClose?: () => void;
1064
+ variant?: ToastVariant;
1065
+ isVisible?: boolean;
1066
+ /** Custom icon element. When omitted a default icon for the variant is used. */
1067
+ icon?: React__default.ReactNode;
1068
+ message: string;
1069
+ }
1070
+ declare const Toast: React__default.ForwardRefExoticComponent<ToastProps & React__default.RefAttributes<HTMLDivElement>>;
1071
+
1061
1072
  type TableProps = TableProps$1;
1062
1073
  type TableHeadProps = TableHeadProps$1;
1063
1074
  type TableBodyProps = TableBodyProps$1;
@@ -1147,4 +1158,4 @@ interface TypographyButtonProps extends Omit<TypographyProps, 'variant'> {
1147
1158
  }
1148
1159
  declare const TypographyButton: React__default.ForwardRefExoticComponent<Omit<TypographyButtonProps, "ref"> & React__default.RefAttributes<HTMLElement>>;
1149
1160
 
1150
- 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, RadioCardGroup, type RadioCardGroupProps, type RadioCardOption, 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 };
1161
+ 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, RadioCardGroup, type RadioCardGroupProps, type RadioCardOption, 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, Toast, type ToastProps, type ToastVariant, 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
@@ -1058,6 +1058,17 @@ declare namespace Toggle {
1058
1058
  var displayName: string;
1059
1059
  }
1060
1060
 
1061
+ type ToastVariant = 'error' | 'warning' | 'success';
1062
+ interface ToastProps extends React__default.HTMLAttributes<HTMLDivElement> {
1063
+ onClose?: () => void;
1064
+ variant?: ToastVariant;
1065
+ isVisible?: boolean;
1066
+ /** Custom icon element. When omitted a default icon for the variant is used. */
1067
+ icon?: React__default.ReactNode;
1068
+ message: string;
1069
+ }
1070
+ declare const Toast: React__default.ForwardRefExoticComponent<ToastProps & React__default.RefAttributes<HTMLDivElement>>;
1071
+
1061
1072
  type TableProps = TableProps$1;
1062
1073
  type TableHeadProps = TableHeadProps$1;
1063
1074
  type TableBodyProps = TableBodyProps$1;
@@ -1147,4 +1158,4 @@ interface TypographyButtonProps extends Omit<TypographyProps, 'variant'> {
1147
1158
  }
1148
1159
  declare const TypographyButton: React__default.ForwardRefExoticComponent<Omit<TypographyButtonProps, "ref"> & React__default.RefAttributes<HTMLElement>>;
1149
1160
 
1150
- 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, RadioCardGroup, type RadioCardGroupProps, type RadioCardOption, 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 };
1161
+ 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, RadioCardGroup, type RadioCardGroupProps, type RadioCardOption, 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, Toast, type ToastProps, type ToastVariant, 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.js CHANGED
@@ -103,6 +103,7 @@ __export(index_exports, {
103
103
  TextField: () => TextField,
104
104
  TimeField: () => TimeField,
105
105
  TimePicker: () => TimePicker,
106
+ Toast: () => Toast,
106
107
  Toggle: () => Toggle,
107
108
  ToggleButton: () => ToggleButton,
108
109
  ToggleButtonGroup: () => ToggleButtonGroup,
@@ -3909,192 +3910,315 @@ function Toggle({
3909
3910
  }
3910
3911
  Toggle.displayName = "ToolkitToggle";
3911
3912
 
3912
- // src/components/Table/Table.tsx
3913
- var import_material11 = require("@mui/material");
3914
- var import_styles25 = require("@mui/material/styles");
3915
- var import_jsx_runtime28 = require("react/jsx-runtime");
3916
- var StyledTableContainer = (0, import_styles25.styled)(import_material11.TableContainer)(() => ({
3917
- overflowX: "auto"
3918
- }));
3919
- var StyledHeadCell = (0, import_styles25.styled)(import_material11.TableCell)(({ theme }) => ({
3920
- fontWeight: theme.tokens.components.table.headerFontWeight,
3921
- backgroundColor: theme.tokens.components.table.headerBackground,
3922
- borderBottomWidth: theme.tokens.components.table.borderWidth,
3923
- borderBottomColor: theme.tokens.components.table.borderColor
3924
- }));
3925
- function Table(props) {
3926
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material11.Table, { ...props });
3927
- }
3928
- function TableHead(props) {
3929
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material11.TableHead, { ...props });
3930
- }
3931
- function TableBody(props) {
3932
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material11.TableBody, { ...props });
3933
- }
3934
- function TableRow(props) {
3935
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material11.TableRow, { ...props });
3936
- }
3937
- function TableCell(props) {
3938
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material11.TableCell, { ...props });
3939
- }
3940
- function TableHeadCell(props) {
3941
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StyledHeadCell, { component: "th", scope: "col", ...props });
3942
- }
3943
- function TableContainer(props) {
3944
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(StyledTableContainer, { ...props });
3945
- }
3946
- var TablePagination = import_material11.TablePagination;
3947
- var TableSortLabel = import_material11.TableSortLabel;
3948
- Table.displayName = "ToolkitTable";
3949
- TableHead.displayName = "ToolkitTableHead";
3950
- TableBody.displayName = "ToolkitTableBody";
3951
- TableRow.displayName = "ToolkitTableRow";
3952
- TableCell.displayName = "ToolkitTableCell";
3953
- TableHeadCell.displayName = "ToolkitTableHeadCell";
3954
- TableContainer.displayName = "ToolkitTableContainer";
3913
+ // src/components/Toast/Toast.tsx
3914
+ var import_react29 = __toESM(require("react"));
3915
+ var import_Check = __toESM(require("@mui/icons-material/Check"));
3916
+ var import_Close = __toESM(require("@mui/icons-material/Close"));
3917
+ var import_Info = __toESM(require("@mui/icons-material/Info"));
3918
+ var import_Warning = __toESM(require("@mui/icons-material/Warning"));
3955
3919
 
3956
3920
  // src/foundation/H1/H1.tsx
3957
3921
  var import_react16 = __toESM(require("react"));
3958
- var import_material12 = require("@mui/material");
3959
- var import_jsx_runtime29 = require("react/jsx-runtime");
3922
+ var import_material11 = require("@mui/material");
3923
+ var import_jsx_runtime28 = require("react/jsx-runtime");
3960
3924
  var H1 = import_react16.default.forwardRef(
3961
3925
  function H12({ color = "text.primary", children, ...props }, ref) {
3962
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_material12.Typography, { ref, variant: "h1", color, ...props, children });
3926
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_material11.Typography, { ref, variant: "h1", color, ...props, children });
3963
3927
  }
3964
3928
  );
3965
3929
  H1.displayName = "ToolkitH1";
3966
3930
 
3967
3931
  // src/foundation/H2/H2.tsx
3968
3932
  var import_react17 = __toESM(require("react"));
3969
- var import_material13 = require("@mui/material");
3970
- var import_jsx_runtime30 = require("react/jsx-runtime");
3933
+ var import_material12 = require("@mui/material");
3934
+ var import_jsx_runtime29 = require("react/jsx-runtime");
3971
3935
  var H2 = import_react17.default.forwardRef(
3972
3936
  function H22({ color = "text.primary", children, ...props }, ref) {
3973
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_material13.Typography, { ref, variant: "h2", color, ...props, children });
3937
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_material12.Typography, { ref, variant: "h2", color, ...props, children });
3974
3938
  }
3975
3939
  );
3976
3940
  H2.displayName = "ToolkitH2";
3977
3941
 
3978
3942
  // src/foundation/H3/H3.tsx
3979
3943
  var import_react18 = __toESM(require("react"));
3980
- var import_material14 = require("@mui/material");
3981
- var import_jsx_runtime31 = require("react/jsx-runtime");
3944
+ var import_material13 = require("@mui/material");
3945
+ var import_jsx_runtime30 = require("react/jsx-runtime");
3982
3946
  var H3 = import_react18.default.forwardRef(
3983
3947
  function H32({ color = "text.primary", children, ...props }, ref) {
3984
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_material14.Typography, { ref, variant: "h3", color, ...props, children });
3948
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_material13.Typography, { ref, variant: "h3", color, ...props, children });
3985
3949
  }
3986
3950
  );
3987
3951
  H3.displayName = "ToolkitH3";
3988
3952
 
3989
3953
  // src/foundation/H4/H4.tsx
3990
3954
  var import_react19 = __toESM(require("react"));
3991
- var import_material15 = require("@mui/material");
3992
- var import_jsx_runtime32 = require("react/jsx-runtime");
3955
+ var import_material14 = require("@mui/material");
3956
+ var import_jsx_runtime31 = require("react/jsx-runtime");
3993
3957
  var H4 = import_react19.default.forwardRef(
3994
3958
  function H42({ color = "text.primary", children, ...props }, ref) {
3995
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material15.Typography, { ref, variant: "h4", color, ...props, children });
3959
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_material14.Typography, { ref, variant: "h4", color, ...props, children });
3996
3960
  }
3997
3961
  );
3998
3962
  H4.displayName = "ToolkitH4";
3999
3963
 
4000
3964
  // src/foundation/H5/H5.tsx
4001
3965
  var import_react20 = __toESM(require("react"));
4002
- var import_material16 = require("@mui/material");
4003
- var import_jsx_runtime33 = require("react/jsx-runtime");
3966
+ var import_material15 = require("@mui/material");
3967
+ var import_jsx_runtime32 = require("react/jsx-runtime");
4004
3968
  var H5 = import_react20.default.forwardRef(
4005
3969
  function H52({ color = "text.primary", children, ...props }, ref) {
4006
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material16.Typography, { ref, variant: "h5", color, ...props, children });
3970
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_material15.Typography, { ref, variant: "h5", color, ...props, children });
4007
3971
  }
4008
3972
  );
4009
3973
  H5.displayName = "ToolkitH5";
4010
3974
 
4011
3975
  // src/foundation/H6/H6.tsx
4012
3976
  var import_react21 = __toESM(require("react"));
4013
- var import_material17 = require("@mui/material");
4014
- var import_jsx_runtime34 = require("react/jsx-runtime");
3977
+ var import_material16 = require("@mui/material");
3978
+ var import_jsx_runtime33 = require("react/jsx-runtime");
4015
3979
  var H6 = import_react21.default.forwardRef(
4016
3980
  function H62({ color = "text.primary", children, ...props }, ref) {
4017
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material17.Typography, { ref, variant: "h6", color, ...props, children });
3981
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_material16.Typography, { ref, variant: "h6", color, ...props, children });
4018
3982
  }
4019
3983
  );
4020
3984
  H6.displayName = "ToolkitH6";
4021
3985
 
4022
3986
  // src/foundation/Subtitle1/Subtitle1.tsx
4023
3987
  var import_react22 = __toESM(require("react"));
4024
- var import_material18 = require("@mui/material");
4025
- var import_jsx_runtime35 = require("react/jsx-runtime");
3988
+ var import_material17 = require("@mui/material");
3989
+ var import_jsx_runtime34 = require("react/jsx-runtime");
4026
3990
  var Subtitle1 = import_react22.default.forwardRef(
4027
3991
  function Subtitle12({ color = "text.primary", children, ...props }, ref) {
4028
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_material18.Typography, { ref, variant: "subtitle1", color, ...props, children });
3992
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_material17.Typography, { ref, variant: "subtitle1", color, ...props, children });
4029
3993
  }
4030
3994
  );
4031
3995
  Subtitle1.displayName = "ToolkitSubtitle1";
4032
3996
 
4033
3997
  // src/foundation/Subtitle2/Subtitle2.tsx
4034
3998
  var import_react23 = __toESM(require("react"));
4035
- var import_material19 = require("@mui/material");
4036
- var import_jsx_runtime36 = require("react/jsx-runtime");
3999
+ var import_material18 = require("@mui/material");
4000
+ var import_jsx_runtime35 = require("react/jsx-runtime");
4037
4001
  var Subtitle2 = import_react23.default.forwardRef(
4038
4002
  function Subtitle22({ color = "text.primary", children, ...props }, ref) {
4039
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material19.Typography, { ref, variant: "subtitle2", color, ...props, children });
4003
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_material18.Typography, { ref, variant: "subtitle2", color, ...props, children });
4040
4004
  }
4041
4005
  );
4042
4006
  Subtitle2.displayName = "ToolkitSubtitle2";
4043
4007
 
4044
4008
  // src/foundation/Body1/Body1.tsx
4045
4009
  var import_react24 = __toESM(require("react"));
4046
- var import_material20 = require("@mui/material");
4047
- var import_jsx_runtime37 = require("react/jsx-runtime");
4010
+ var import_material19 = require("@mui/material");
4011
+ var import_jsx_runtime36 = require("react/jsx-runtime");
4048
4012
  var Body1 = import_react24.default.forwardRef(
4049
4013
  function Body12({ color = "text.primary", children, ...props }, ref) {
4050
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Typography, { ref, variant: "body1", color, ...props, children });
4014
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_material19.Typography, { ref, variant: "body1", color, ...props, children });
4051
4015
  }
4052
4016
  );
4053
4017
  Body1.displayName = "ToolkitBody1";
4054
4018
 
4055
4019
  // src/foundation/Body2/Body2.tsx
4056
4020
  var import_react25 = __toESM(require("react"));
4057
- var import_material21 = require("@mui/material");
4058
- var import_jsx_runtime38 = require("react/jsx-runtime");
4021
+ var import_material20 = require("@mui/material");
4022
+ var import_jsx_runtime37 = require("react/jsx-runtime");
4059
4023
  var Body2 = import_react25.default.forwardRef(
4060
4024
  function Body22({ color = "text.primary", children, ...props }, ref) {
4061
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_material21.Typography, { ref, variant: "body2", color, ...props, children });
4025
+ return /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_material20.Typography, { ref, variant: "body2", color, ...props, children });
4062
4026
  }
4063
4027
  );
4064
4028
  Body2.displayName = "ToolkitBody2";
4065
4029
 
4066
4030
  // src/foundation/Caption/Caption.tsx
4067
4031
  var import_react26 = __toESM(require("react"));
4068
- var import_material22 = require("@mui/material");
4069
- var import_jsx_runtime39 = require("react/jsx-runtime");
4032
+ var import_material21 = require("@mui/material");
4033
+ var import_jsx_runtime38 = require("react/jsx-runtime");
4070
4034
  var Caption = import_react26.default.forwardRef(
4071
4035
  function Caption2({ color = "text.primary", children, ...props }, ref) {
4072
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_material22.Typography, { ref, variant: "caption", color, ...props, children });
4036
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_material21.Typography, { ref, variant: "caption", color, ...props, children });
4073
4037
  }
4074
4038
  );
4075
4039
  Caption.displayName = "ToolkitCaption";
4076
4040
 
4077
4041
  // src/foundation/Overline/Overline.tsx
4078
4042
  var import_react27 = __toESM(require("react"));
4079
- var import_material23 = require("@mui/material");
4080
- var import_jsx_runtime40 = require("react/jsx-runtime");
4043
+ var import_material22 = require("@mui/material");
4044
+ var import_jsx_runtime39 = require("react/jsx-runtime");
4081
4045
  var Overline = import_react27.default.forwardRef(
4082
4046
  function Overline2({ color = "text.primary", children, ...props }, ref) {
4083
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material23.Typography, { ref, variant: "overline", color, ...props, children });
4047
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_material22.Typography, { ref, variant: "overline", color, ...props, children });
4084
4048
  }
4085
4049
  );
4086
4050
  Overline.displayName = "ToolkitOverline";
4087
4051
 
4088
4052
  // src/foundation/TypographyButton/TypographyButton.tsx
4089
4053
  var import_react28 = __toESM(require("react"));
4090
- var import_material24 = require("@mui/material");
4091
- var import_jsx_runtime41 = require("react/jsx-runtime");
4054
+ var import_material23 = require("@mui/material");
4055
+ var import_jsx_runtime40 = require("react/jsx-runtime");
4092
4056
  var TypographyButton = import_react28.default.forwardRef(
4093
4057
  function TypographyButton2({ color = "text.primary", children, ...props }, ref) {
4094
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_material24.Typography, { ref, variant: "button", color, ...props, children });
4058
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_material23.Typography, { ref, variant: "button", color, ...props, children });
4095
4059
  }
4096
4060
  );
4097
4061
  TypographyButton.displayName = "ToolkitTypographyButton";
4062
+
4063
+ // src/components/Toast/Toast.styles.tsx
4064
+ var import_styles25 = require("@mui/material/styles");
4065
+ var import_IconButton = __toESM(require("@mui/material/IconButton"));
4066
+ var StyledToastRoot = (0, import_styles25.styled)("div")(
4067
+ ({ theme, ownerState }) => {
4068
+ const bgMap = {
4069
+ success: theme.tokens.colors.success,
4070
+ warning: theme.tokens.colors.warning,
4071
+ error: theme.tokens.colors.error
4072
+ };
4073
+ const colorMap = {
4074
+ success: theme.palette.common.white,
4075
+ warning: theme.tokens.colors.textPrimary,
4076
+ error: theme.palette.common.white
4077
+ };
4078
+ return {
4079
+ position: "fixed",
4080
+ top: 0,
4081
+ left: 0,
4082
+ width: "100%",
4083
+ zIndex: theme.tokens.zIndex.toast,
4084
+ backgroundColor: bgMap[ownerState.variant],
4085
+ color: colorMap[ownerState.variant],
4086
+ WebkitFontSmoothing: "antialiased",
4087
+ boxSizing: "border-box"
4088
+ };
4089
+ }
4090
+ );
4091
+ var StyledToastInner = (0, import_styles25.styled)("div")(({ theme }) => ({
4092
+ display: "flex",
4093
+ alignItems: "center",
4094
+ padding: `${theme.spacing(2.25)} ${theme.spacing(7)} ${theme.spacing(2.25)} ${theme.spacing(1.25)}`,
4095
+ [theme.breakpoints.up("md")]: {
4096
+ maxWidth: 800,
4097
+ padding: `${theme.spacing(2.25)} ${theme.spacing(13.75)}`,
4098
+ margin: "0 auto",
4099
+ justifyContent: "center"
4100
+ }
4101
+ }));
4102
+ var StyledToastIconWrapper = (0, import_styles25.styled)("span")(({ theme }) => ({
4103
+ display: "flex",
4104
+ alignItems: "flex-start",
4105
+ marginRight: theme.spacing(1.25),
4106
+ flexShrink: 0,
4107
+ "& svg": {
4108
+ height: 28,
4109
+ width: 28
4110
+ }
4111
+ }));
4112
+ var StyledToastCloseButton = (0, import_styles25.styled)(import_IconButton.default)(({ theme, ownerState }) => ({
4113
+ position: "absolute",
4114
+ top: theme.spacing(1.25),
4115
+ right: theme.spacing(1.25),
4116
+ color: ownerState.variant === "warning" ? theme.tokens.colors.textPrimary : theme.palette.common.white,
4117
+ fontFamily: theme.tokens.typography.fontFamilyBase,
4118
+ fontSize: theme.tokens.typography.fontSizeLg,
4119
+ borderRadius: theme.tokens.borderRadius.md,
4120
+ "&:hover": {
4121
+ backgroundColor: "rgba(0,0,0,0.08)"
4122
+ }
4123
+ }));
4124
+
4125
+ // src/components/Toast/Toast.tsx
4126
+ var import_jsx_runtime41 = require("react/jsx-runtime");
4127
+ var defaultIconMap = {
4128
+ success: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_Check.default, {}),
4129
+ warning: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_Info.default, {}),
4130
+ error: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_Warning.default, {})
4131
+ };
4132
+ var roleMap = {
4133
+ success: void 0,
4134
+ warning: "alert",
4135
+ error: "alert"
4136
+ };
4137
+ var Toast = import_react29.default.forwardRef(
4138
+ ({
4139
+ onClose,
4140
+ variant = "success",
4141
+ isVisible = false,
4142
+ icon,
4143
+ message,
4144
+ className,
4145
+ ...restProps
4146
+ }, ref) => {
4147
+ if (!isVisible) return null;
4148
+ const ownerState = { variant };
4149
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
4150
+ StyledToastRoot,
4151
+ {
4152
+ ownerState,
4153
+ ref,
4154
+ className,
4155
+ role: roleMap[variant],
4156
+ ...getCleanProps(restProps),
4157
+ children: [
4158
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(StyledToastInner, { children: [
4159
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(StyledToastIconWrapper, { "aria-hidden": "true", children: icon ?? defaultIconMap[variant] }),
4160
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Body1, { component: "span", sx: { color: "inherit" }, children: message })
4161
+ ] }),
4162
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4163
+ StyledToastCloseButton,
4164
+ {
4165
+ ownerState,
4166
+ onClick: onClose,
4167
+ "aria-label": "Close notification",
4168
+ size: "small",
4169
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_Close.default, { fontSize: "small" })
4170
+ }
4171
+ )
4172
+ ]
4173
+ }
4174
+ );
4175
+ }
4176
+ );
4177
+ Toast.displayName = "ToolkitToast";
4178
+
4179
+ // src/components/Table/Table.tsx
4180
+ var import_material24 = require("@mui/material");
4181
+ var import_styles26 = require("@mui/material/styles");
4182
+ var import_jsx_runtime42 = require("react/jsx-runtime");
4183
+ var StyledTableContainer = (0, import_styles26.styled)(import_material24.TableContainer)(() => ({
4184
+ overflowX: "auto"
4185
+ }));
4186
+ var StyledHeadCell = (0, import_styles26.styled)(import_material24.TableCell)(({ theme }) => ({
4187
+ fontWeight: theme.tokens.components.table.headerFontWeight,
4188
+ backgroundColor: theme.tokens.components.table.headerBackground,
4189
+ borderBottomWidth: theme.tokens.components.table.borderWidth,
4190
+ borderBottomColor: theme.tokens.components.table.borderColor
4191
+ }));
4192
+ function Table(props) {
4193
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material24.Table, { ...props });
4194
+ }
4195
+ function TableHead(props) {
4196
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material24.TableHead, { ...props });
4197
+ }
4198
+ function TableBody(props) {
4199
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material24.TableBody, { ...props });
4200
+ }
4201
+ function TableRow(props) {
4202
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material24.TableRow, { ...props });
4203
+ }
4204
+ function TableCell(props) {
4205
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(import_material24.TableCell, { ...props });
4206
+ }
4207
+ function TableHeadCell(props) {
4208
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(StyledHeadCell, { component: "th", scope: "col", ...props });
4209
+ }
4210
+ function TableContainer(props) {
4211
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(StyledTableContainer, { ...props });
4212
+ }
4213
+ var TablePagination = import_material24.TablePagination;
4214
+ var TableSortLabel = import_material24.TableSortLabel;
4215
+ Table.displayName = "ToolkitTable";
4216
+ TableHead.displayName = "ToolkitTableHead";
4217
+ TableBody.displayName = "ToolkitTableBody";
4218
+ TableRow.displayName = "ToolkitTableRow";
4219
+ TableCell.displayName = "ToolkitTableCell";
4220
+ TableHeadCell.displayName = "ToolkitTableHeadCell";
4221
+ TableContainer.displayName = "ToolkitTableContainer";
4098
4222
  // Annotate the CommonJS export names for ESM import in node:
4099
4223
  0 && (module.exports = {
4100
4224
  ABNInput,
@@ -4170,6 +4294,7 @@ TypographyButton.displayName = "ToolkitTypographyButton";
4170
4294
  TextField,
4171
4295
  TimeField,
4172
4296
  TimePicker,
4297
+ Toast,
4173
4298
  Toggle,
4174
4299
  ToggleButton,
4175
4300
  ToggleButtonGroup,