@woovi/ui 5.0.5 → 6.0.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.
Files changed (91) hide show
  1. package/dist/BackButton.d.ts +1 -1
  2. package/dist/Badge.d.ts +6 -2
  3. package/dist/Banner.d.ts +6 -6
  4. package/dist/CashbackTagStatus.d.ts +3 -2
  5. package/dist/Circle.d.ts +6 -4
  6. package/dist/CircleButton.d.ts +4 -4
  7. package/dist/Column.d.ts +3 -2
  8. package/dist/EmptyMessage.d.ts +3 -5
  9. package/dist/FloatingMenu.d.ts +8 -6
  10. package/dist/LayoutRoot.d.ts +6 -1
  11. package/dist/Link.d.ts +5 -3
  12. package/dist/Loading.d.ts +3 -3
  13. package/dist/Logo.d.ts +4 -1
  14. package/dist/OverflowDiv.d.ts +3 -2
  15. package/dist/ProgressBar.d.ts +5 -4
  16. package/dist/QuestionTooltip.d.ts +11 -8
  17. package/dist/RadioCard/RadioCard.d.ts +4 -4
  18. package/dist/Row.d.ts +3 -2
  19. package/dist/Step.d.ts +3 -3
  20. package/dist/TagWebhookStatus.d.ts +4 -3
  21. package/dist/TransactionTagEntryTypes.d.ts +4 -3
  22. package/dist/UnsupportedBrowserWarning.d.ts +1 -1
  23. package/dist/assets/icon-plus.png +0 -0
  24. package/dist/auth/LoginWrapper.d.ts +4 -4
  25. package/dist/avatar/Avatar.d.ts +11 -7
  26. package/dist/avatar/AvatarGroup.d.ts +9 -4
  27. package/dist/buttons/DangerButton.d.ts +6 -1
  28. package/dist/card/Card.d.ts +8 -13
  29. package/dist/card/basicContext/CardBasicContext.d.ts +3 -3
  30. package/dist/card/cardWithActions/CardFooter.d.ts +3 -3
  31. package/dist/card/cardWithActions/CardHeader.d.ts +4 -5
  32. package/dist/card/cardWithActions/CardWithActions.d.ts +1 -1
  33. package/dist/cardGrid/CardField.d.ts +3 -4
  34. package/dist/cardGrid/Grid.d.ts +5 -5
  35. package/dist/collapsible/Collapsible.d.ts +1 -2
  36. package/dist/collapsible/CollapsibleActions.d.ts +2 -2
  37. package/dist/collapsible/CollapsibleDetails.d.ts +4 -3
  38. package/dist/collapsible/CollapsibleFillWrapper.d.ts +2 -1
  39. package/dist/collapsible/CollapsibleGroup.d.ts +2 -1
  40. package/dist/collapsible/CollapsibleInfinityActions.d.ts +2 -0
  41. package/dist/collapsible/CollapsibleStep.d.ts +3 -4
  42. package/dist/collapsible/CollapsibleStepHeader.d.ts +1 -2
  43. package/dist/collapsible/CollapsibleTree.d.ts +10 -4
  44. package/dist/collapsible/ExpandMoreIcon.d.ts +3 -4
  45. package/dist/collapsible/LeafCollapsible.d.ts +4 -4
  46. package/dist/collapsible/TransparencyCollapsibleWrapper.d.ts +5 -2
  47. package/dist/company/CompanyLogo.d.ts +5 -4
  48. package/dist/content/ActionMargin.d.ts +5 -4
  49. package/dist/content/ActionMarginText.d.ts +4 -2
  50. package/dist/content/Content.d.ts +3 -5
  51. package/dist/content/IntroText.d.ts +3 -5
  52. package/dist/device/Phone.d.ts +3 -4
  53. package/dist/drawer/DrawerResponsiveWrapper.d.ts +4 -1
  54. package/dist/error/ErrorView.d.ts +1 -1
  55. package/dist/file/IconButton.d.ts +4 -7
  56. package/dist/file/MaterialIcon.d.ts +5 -8
  57. package/dist/helpers/Divider.d.ts +3 -4
  58. package/dist/icons/CheckboxChecked.d.ts +2 -2
  59. package/dist/icons/CheckboxUnchecked.d.ts +1 -1
  60. package/dist/icons/SVG.d.ts +1 -1
  61. package/dist/import/Dropzone.d.ts +3 -1
  62. package/dist/import/DropzoneFile.d.ts +1 -1
  63. package/dist/index.cjs +3 -1299
  64. package/dist/index.js +3 -1299
  65. package/dist/layoutWrapper/LayoutWrapper.d.ts +2 -2
  66. package/dist/openpix/charge/ChargeTagStatus.d.ts +7 -11
  67. package/dist/openpix/cobr/CobrTagStatus.d.ts +12 -6
  68. package/dist/openpix/transaction/PixTransactionTypeTag.d.ts +7 -5
  69. package/dist/screenHeader/components/ScreenHeaderSubtitle.d.ts +2 -1
  70. package/dist/screenHeaderCard/ScreenHeaderCard.d.ts +1 -1
  71. package/dist/screenHeaderResponsive/components/ScreenHeaderSubtitle.d.ts +2 -1
  72. package/dist/screenHeaderTemp/components/ScreenHeaderSubtitle.d.ts +2 -1
  73. package/dist/select/SelectAll.d.ts +2 -2
  74. package/dist/sidebar/MenuList.d.ts +1 -1
  75. package/dist/sidebar/Sidebar.d.ts +2 -2
  76. package/dist/snackbar/Snackbar.d.ts +1 -1
  77. package/dist/statement/TransactionTypeText.d.ts +5 -1
  78. package/dist/table/StatusCell.d.ts +4 -7
  79. package/dist/table/cells/Cell.d.ts +2 -2
  80. package/dist/table/cells/LinkCellNode.d.ts +7 -2
  81. package/dist/table/reactTable/IndeterminateCheckbox.d.ts +2 -1
  82. package/dist/table/reactTable/InputForCells.d.ts +3 -4
  83. package/dist/table/reactTable/StatusCell.d.ts +2 -6
  84. package/dist/table/reactTable/TableCell.d.ts +3 -2
  85. package/dist/tag/Tag.d.ts +4 -6
  86. package/dist/tag/TagsContainer.d.ts +2 -4
  87. package/dist/term/Terms.d.ts +2 -1
  88. package/dist/term/TermsLink.d.ts +2 -1
  89. package/dist/unSupportedBrowser/UnsupportedBrowserWarning.d.ts +1 -1
  90. package/package.json +16 -17
  91. package/dist/hooks/useTheme.d.ts +0 -14
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ReactNode } from "react";
2
2
  type Props = {
3
3
  onClick?: () => void;
4
4
  };
package/dist/Badge.d.ts CHANGED
@@ -1,2 +1,6 @@
1
- declare const _default: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export default _default;
1
+ import type { PropsWithChildren } from "react";
2
+ type BadgeProps = {
3
+ fontSize?: string;
4
+ };
5
+ declare const Badge: ({ fontSize, children }: PropsWithChildren<BadgeProps>) => import("react/jsx-runtime").JSX.Element;
6
+ export default Badge;
package/dist/Banner.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- type VariantTypes = 'solid' | 'outline';
2
- type ColorTypes = 'primary' | 'secondary' | 'tertiary' | 'error' | 'warning' | 'info';
3
- export type BannerProps = {
4
- variant?: VariantTypes;
1
+ import { type BoxProps } from "@mui/material";
2
+ type VariantTypes = "solid" | "outline";
3
+ type ColorTypes = "primary" | "secondary" | "tertiary" | "error" | "warning" | "info" | "success";
4
+ export type BannerProps = Omit<BoxProps, "color"> & {
5
5
  color?: ColorTypes;
6
- children?: React.ReactNode;
6
+ variant?: VariantTypes;
7
7
  };
8
- export declare const Banner: import("styled-components").StyledComponent<"div", any, BannerProps, never>;
8
+ export declare const Banner: ({ sx, color, variant, children, ...rest }: BannerProps) => import("react/jsx-runtime").JSX.Element;
9
9
  export {};
@@ -1,5 +1,6 @@
1
+ import { type TagProps } from "./tag/Tag.tsx";
1
2
  type Props = {
2
3
  status: string;
3
- };
4
- export declare const CashbackTagStatus: import("styled-components").StyledComponent<(props: import("./index.ts").TagProps) => import("react").ReactNode, any, Props, never>;
4
+ } & Omit<TagProps, "status">;
5
+ export declare const CashbackTagStatus: ({ status, sx, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
5
6
  export {};
package/dist/Circle.d.ts CHANGED
@@ -1,5 +1,7 @@
1
- declare const Circle: import("styled-components").StyledComponent<"div", any, {
2
- size: number | null;
3
- color: string | null;
4
- }, never>;
1
+ import { type BoxProps } from '@mui/material';
2
+ type CircleProps = BoxProps & {
3
+ size?: number | null;
4
+ color?: string | null;
5
+ };
6
+ declare const Circle: ({ size, color, sx, ...rest }: CircleProps) => import("react/jsx-runtime").JSX.Element;
5
7
  export default Circle;
@@ -1,7 +1,7 @@
1
- interface Props {
1
+ import { type BoxProps } from "@mui/material";
2
+ interface Props extends BoxProps {
2
3
  symbol?: string;
3
- onClick?: Function;
4
- children?: React.ReactNode;
4
+ onClick?: () => void;
5
5
  }
6
- declare const CircleButton: ({ children, symbol, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ declare const CircleButton: ({ sx, symbol, children, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
7
7
  export default CircleButton;
package/dist/Column.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- declare const _default: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export default _default;
1
+ import { type BoxProps } from '@mui/material';
2
+ declare const Column: ({ sx, ...props }: BoxProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Column;
@@ -1,6 +1,4 @@
1
- import type { ReactNode } from 'react';
2
- export type EmptyMessageProps = {
3
- children: ReactNode;
4
- };
5
- declare const EmptyMessage: ({ children }: EmptyMessageProps) => import("react/jsx-runtime").JSX.Element;
1
+ import { type BoxProps } from "@mui/material";
2
+ export type EmptyMessageProps = BoxProps;
3
+ declare const EmptyMessage: ({ sx, children, ...props }: EmptyMessageProps) => import("react/jsx-runtime").JSX.Element;
6
4
  export default EmptyMessage;
@@ -1,15 +1,17 @@
1
- import type { ReactNode } from 'react';
1
+ import { type BoxProps } from "@mui/material";
2
+ import type { ReactNode } from "react";
2
3
  type Item = {
3
- onClick: () => void;
4
4
  icon: string;
5
5
  label: string;
6
- color: string;
6
+ color?: 'inherit' | 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
7
7
  filter?: () => boolean;
8
+ onClick: () => void;
9
+ dataTestId?: string;
8
10
  };
9
- type Props = {
11
+ type Props = BoxProps & {
10
12
  items: Item[];
11
- isVisible: boolean;
12
13
  Heading?: ReactNode;
14
+ isVisible: boolean;
13
15
  };
14
- declare const FloatingMenu: (props: Props) => ReactNode;
16
+ declare const FloatingMenu: ({ items, Heading, isVisible, ...rest }: Props) => ReactNode;
15
17
  export default FloatingMenu;
@@ -1 +1,6 @@
1
- export declare const LayoutRoot: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ import { type BoxProps } from "@mui/material";
2
+ type LayoutRootProps = BoxProps & {
3
+ open?: boolean;
4
+ };
5
+ export declare const LayoutRoot: ({ open, sx, ...props }: LayoutRootProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
package/dist/Link.d.ts CHANGED
@@ -1,3 +1,5 @@
1
- import { Link } from 'react-router-dom';
2
- declare const _default: import("styled-components").StyledComponent<typeof Link, any, {}, never>;
3
- export default _default;
1
+ import { type LinkProps as MuiLinkProps } from "@mui/material";
2
+ import { type LinkProps as RouterLinkProps } from "react-router-dom";
3
+ type LinkProps = RouterLinkProps & Omit<MuiLinkProps, "component">;
4
+ declare const Link: ({ sx, ...props }: LinkProps) => import("react/jsx-runtime").JSX.Element;
5
+ export default Link;
package/dist/Loading.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import type { CircularProgressProps } from '@mui/material/CircularProgress';
1
+ import type { CircularProgressProps } from "@mui/material/CircularProgress";
2
2
  export type LoadingProps = {
3
+ size?: number;
3
4
  fullScreen?: boolean;
4
5
  wrappedInDialog?: boolean;
5
- size?: number;
6
6
  } & CircularProgressProps;
7
- declare const Loading: ({ fullScreen, wrappedInDialog, size }: LoadingProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const Loading: ({ size, fullScreen, wrappedInDialog, ...rest }: LoadingProps) => import("react/jsx-runtime").JSX.Element;
8
8
  export default Loading;
package/dist/Logo.d.ts CHANGED
@@ -1 +1,4 @@
1
- export declare const Logo: import("styled-components").StyledComponent<"img", any, {}, never>;
1
+ import { type BoxProps } from "@mui/material";
2
+ type LogoProps = BoxProps<"img">;
3
+ export declare const Logo: ({ sx, ...props }: LogoProps) => import("react/jsx-runtime").JSX.Element;
4
+ export {};
@@ -1,2 +1,3 @@
1
- declare const _default: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export default _default;
1
+ import { type BoxProps } from "@mui/material";
2
+ declare const OverflowDiv: ({ sx, ...props }: BoxProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default OverflowDiv;
@@ -1,10 +1,11 @@
1
- import type { ReactNode } from 'react';
2
- type Props = {
1
+ import { type BoxProps } from "@mui/material";
2
+ import type { ReactNode } from "react";
3
+ type Props = BoxProps & {
4
+ width?: string;
3
5
  percent: number;
4
6
  height?: number;
5
- width?: string;
6
7
  active?: boolean;
7
8
  barColor?: string;
8
9
  };
9
- declare const ProgressBar: ({ percent, width, active, barColor, height, ...props }: Props) => ReactNode;
10
+ declare const ProgressBar: ({ width, active, height, percent, barColor, ...props }: Props) => ReactNode;
10
11
  export default ProgressBar;
@@ -1,11 +1,14 @@
1
- import type { TooltipProps } from '@mui/material/Tooltip';
2
- export declare const Icon: import("styled-components").StyledComponent<"span", any, {}, never>;
3
- export declare const BlockDescriptionTooltip: import("styled-components").StyledComponent<"div", any, {
4
- width?: number | undefined;
5
- }, never>;
1
+ import { type BoxProps } from "@mui/material";
2
+ import type { TooltipProps } from "@mui/material/Tooltip";
3
+ export declare const Icon: ({ sx, ...props }: BoxProps) => import("react/jsx-runtime").JSX.Element;
4
+ type BlockDescriptionTooltipProps = BoxProps & {
5
+ width?: number | string;
6
+ height?: number | string;
7
+ };
8
+ export declare const BlockDescriptionTooltip: import("react").ForwardRefExoticComponent<Omit<BlockDescriptionTooltipProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
6
9
  type Props = {
7
- width: number;
8
- height: number;
9
- } & TooltipProps;
10
+ width?: number;
11
+ height?: number;
12
+ } & Omit<TooltipProps, "children">;
10
13
  declare const IconTooltip: ({ width, height, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
11
14
  export default IconTooltip;
@@ -1,9 +1,9 @@
1
- import type { CardProps } from '../card/Card.tsx';
2
- import type { ReactNode } from 'react';
1
+ import type { ReactNode } from "react";
2
+ import type { CardProps } from "../card/Card.tsx";
3
3
  export type RadioCardProps = {
4
- cardProps?: Omit<CardProps, 'children'>;
4
+ cardProps?: Omit<CardProps, "children">;
5
5
  children?: React.ReactNode;
6
- labelPlacement?: 'top' | 'end' | 'bottom' | 'start';
6
+ labelPlacement?: "top" | "end" | "bottom" | "start";
7
7
  value: unknown;
8
8
  radioTestId?: string | null;
9
9
  };
package/dist/Row.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- declare const _default: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export default _default;
1
+ import { type BoxProps } from '@mui/material';
2
+ declare const Row: ({ sx, ...props }: BoxProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Row;
package/dist/Step.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- type Props = {
2
- children: React.ReactNode;
1
+ import { type StackProps } from "@mui/material";
2
+ type Props = StackProps & {
3
3
  number: number;
4
4
  status?: boolean;
5
5
  header?: string;
6
6
  };
7
- declare const Step: ({ children, header, number, status }: Props) => import("react/jsx-runtime").JSX.Element;
7
+ declare const Step: ({ children, header, number, status, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
8
8
  export default Step;
@@ -1,4 +1,5 @@
1
1
  import { WEBHOOK_STATUS } from "./shared/webhookStatus";
2
+ import { type TagProps } from "./tag/Tag.tsx";
2
3
  export declare const TAG_WEBHOOK_STATUS_COLORS: {
3
4
  SUCCESS: string;
4
5
  PENDING: string;
@@ -6,7 +7,7 @@ export declare const TAG_WEBHOOK_STATUS_COLORS: {
6
7
  NOT_APPLY: string;
7
8
  };
8
9
  type Props = {
9
- webhookStatus?: WEBHOOK_STATUS;
10
- };
11
- export declare const TagWebhookStatus: import("styled-components").StyledComponent<(props: import("./index.ts").TagProps) => import("react").ReactNode, any, Props, never>;
10
+ webhookStatus: WEBHOOK_STATUS;
11
+ } & TagProps;
12
+ export declare const TagWebhookStatus: ({ webhookStatus, sx, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
12
13
  export {};
@@ -1,4 +1,5 @@
1
1
  import type { Theme } from "@mui/material";
2
+ import { type TagProps } from "./tag/Tag.tsx";
2
3
  export declare const TRANSACTION_TAG_ENTRYTYPE_COLOR: {
3
4
  [x: string]: string;
4
5
  };
@@ -6,7 +7,7 @@ export declare const getTransactionEntryTypeColors: (theme: Theme) => {
6
7
  [x: string]: string;
7
8
  };
8
9
  type Props = {
9
- status?: string;
10
- };
11
- export declare const TransactionTagEntryType: import("styled-components").StyledComponent<(props: import("./index.ts").TagProps) => import("react").ReactNode, any, Props, never>;
10
+ status: string;
11
+ } & Omit<TagProps, "status">;
12
+ export declare const TransactionTagEntryType: ({ status, sx, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
12
13
  export {};
@@ -1,3 +1,3 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ReactNode } from "react";
2
2
  declare const UnsupportedBrowserWarning: () => ReactNode;
3
3
  export default UnsupportedBrowserWarning;
Binary file
@@ -1,7 +1,7 @@
1
- type Props = {
2
- children: React.ReactNode;
3
- history: any;
1
+ import { type BoxProps } from "@mui/material";
2
+ type Props = BoxProps & {
3
+ history?: any;
4
4
  renderFooter?: boolean;
5
5
  };
6
- declare const LoginWrapper: ({ children, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
6
+ declare const LoginWrapper: ({ children, sx, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
7
7
  export default LoginWrapper;
@@ -1,12 +1,16 @@
1
- import type { FlexboxProps, SpaceProps } from 'styled-system';
2
- import type { ReactNode } from 'react';
3
- export declare const AvatarCircle: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").AvatarTypeMap<{}, "div">>, any, {}, never>;
4
- export type Props = {
1
+ import { type BoxProps } from "@mui/material";
2
+ import { type AvatarProps } from "@mui/material/Avatar";
3
+ import type { ReactNode } from "react";
4
+ type AvatarCircleProps = AvatarProps & {
5
+ size?: number;
6
+ };
7
+ export declare const AvatarCircle: ({ size, sx, ...props }: AvatarCircleProps) => import("react/jsx-runtime").JSX.Element;
8
+ export type Props = BoxProps & {
5
9
  name: string;
6
10
  size?: number;
7
11
  imageUrl?: string;
8
- square: boolean;
12
+ square?: boolean;
9
13
  alt?: string;
10
- } & FlexboxProps & SpaceProps;
11
- declare const AvatarUI: ({ name, size, imageUrl, alt, ...props }: Props) => ReactNode;
14
+ };
15
+ declare const AvatarUI: ({ name, size, imageUrl, alt, sx, ...props }: Props) => ReactNode;
12
16
  export default AvatarUI;
@@ -1,11 +1,16 @@
1
- import type { ReactNode } from 'react';
2
- export declare const Avatar: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").AvatarTypeMap<{}, "div">>, any, {}, never>;
3
- export declare const AvatarInfo: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").AvatarTypeMap<{}, "div">>, any, {}, never>;
1
+ import { type AvatarProps } from "@mui/material";
2
+ import type { ReactNode } from "react";
3
+ type CustomAvatarProps = {
4
+ size?: number;
5
+ excessCount?: boolean;
6
+ } & AvatarProps;
7
+ export declare const Avatar: ({ size, excessCount, sx, ...props }: CustomAvatarProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const AvatarInfo: ({ size, sx, ...props }: CustomAvatarProps) => import("react/jsx-runtime").JSX.Element;
4
9
  type Props = {
5
10
  bubbleCount: number;
6
11
  edges: any;
7
12
  size?: number;
8
13
  totalCount?: number;
9
14
  };
10
- declare const AvatarGroup: ({ bubbleCount, edges, size, totalCount, }: Props) => ReactNode;
15
+ declare const AvatarGroup: ({ bubbleCount, edges, size, totalCount }: Props) => ReactNode;
11
16
  export default AvatarGroup;
@@ -1,2 +1,7 @@
1
- declare const DangerButton: import("styled-components").StyledComponent<import("@mui/material").ExtendButtonBase<import("@mui/material").ButtonTypeMap<{}, "button">>, any, {}, never>;
1
+ import { type ButtonProps } from "@mui/material/Button";
2
+ import type { ReactNode } from "react";
3
+ type DangerButtonProps = ButtonProps & {
4
+ variant?: "contained" | "outlined";
5
+ };
6
+ declare const DangerButton: ({ variant, sx, ...props }: DangerButtonProps) => ReactNode;
2
7
  export default DangerButton;
@@ -1,16 +1,11 @@
1
- import type { CardProps as MUICardProps } from '@mui/material/Card';
2
- import CardActions from '@mui/material/CardActions';
3
- import CardContent from '@mui/material/CardContent';
4
- import CardHeader from '@mui/material/CardHeader';
5
- import CardMedia from '@mui/material/CardMedia';
6
- import type { ReactNode } from 'react';
7
- import type { SpaceProps, FlexboxProps, LayoutProps, BorderProps, PositionProps } from 'styled-system';
8
- type ExtendedCardProps = MUICardProps & FlexboxProps & LayoutProps & BorderProps & SpaceProps & PositionProps;
9
- export type CardProps = {
10
- children: ReactNode;
11
- className?: string;
1
+ import { type CardProps as MUICardProps } from "@mui/material/Card";
2
+ import CardActions from "@mui/material/CardActions";
3
+ import CardContent from "@mui/material/CardContent";
4
+ import CardHeader from "@mui/material/CardHeader";
5
+ import CardMedia from "@mui/material/CardMedia";
6
+ export type CardProps = MUICardProps & {
12
7
  disabled?: boolean;
13
- } & ExtendedCardProps;
14
- declare const Card: import("react").ForwardRefExoticComponent<Omit<CardProps, "ref"> & import("react").RefAttributes<unknown>>;
8
+ };
9
+ declare const Card: import("react").ForwardRefExoticComponent<Omit<CardProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
15
10
  export { CardContent, CardHeader, CardMedia, CardActions };
16
11
  export default Card;
@@ -2,8 +2,8 @@ import type { ButtonProps } from "@mui/material/Button";
2
2
  import type { ReactNode } from "react";
3
3
  type SVGIconProps = {
4
4
  width: number;
5
- height?: number;
6
5
  color?: string;
6
+ height?: number;
7
7
  viewBox?: string;
8
8
  };
9
9
  type SVGIcon = (props: SVGIconProps) => JSX.Element;
@@ -27,9 +27,9 @@ type ActionsPropsCustomRender = {
27
27
  };
28
28
  type ActionsProps = ActionsPropsDefault | ActionsPropsCustomRender;
29
29
  type CardBasicContextProps = {
30
- title: string;
31
- description: any;
32
30
  icon: string | SVGIcon | null;
31
+ title: string;
32
+ description: ReactNode;
33
33
  } & ActionsProps;
34
34
  declare const CardBasicContext: (props: CardBasicContextProps) => ReactNode;
35
35
  export default CardBasicContext;
@@ -1,3 +1,3 @@
1
- import CardActions from '@mui/material/CardActions';
2
- declare const _default: import("styled-components").StyledComponent<typeof CardActions, any, {}, never>;
3
- export default _default;
1
+ import { type CardActionsProps } from "@mui/material/CardActions";
2
+ declare const CardFooter: ({ sx, children, ...rest }: CardActionsProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default CardFooter;
@@ -1,6 +1,5 @@
1
- import type { ReactNode } from 'react';
2
- type Props = {
3
- children: React.ReactNode;
4
- };
5
- declare const CardHeader: ({ children }: Props) => ReactNode;
1
+ import { type BoxProps } from "@mui/material";
2
+ import type { ReactNode } from "react";
3
+ type Props = BoxProps;
4
+ declare const CardHeader: ({ sx, children, ...rest }: Props) => ReactNode;
6
5
  export default CardHeader;
@@ -23,5 +23,5 @@ type Props = {
23
23
  cardProps?: Record<string, unknown>;
24
24
  borderColor?: string;
25
25
  };
26
- declare const CardWithActions: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<unknown>>;
26
+ declare const CardWithActions: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
27
27
  export default CardWithActions;
@@ -1,9 +1,8 @@
1
- import type { AlignItemsProps } from 'styled-system';
2
- import type { ReactNode } from 'react';
1
+ import type { ReactNode } from "react";
3
2
  type CardFieldProps = {
4
3
  label: string;
5
4
  value: React.ReactNode;
6
- alignField?: AlignItemsProps['alignItems'];
5
+ alignField?: "anchor-center" | "baseline" | "normal" | "stretch" | "inherit";
7
6
  };
8
- declare const CardField: ({ label, value, alignField, }: CardFieldProps) => ReactNode;
7
+ declare const CardField: ({ label, value, alignField }: CardFieldProps) => ReactNode;
9
8
  export default CardField;
@@ -1,8 +1,8 @@
1
- import type { SpaceProps, FlexboxProps } from 'styled-system';
1
+ import { type BoxProps } from "@mui/material";
2
2
  export type GridProps = {
3
- templateColumns?: string;
4
- mobileColumns?: string;
5
3
  gap?: string;
6
- } & SpaceProps & FlexboxProps;
7
- declare const Grid: import("styled-components").StyledComponent<"div", any, GridProps, never>;
4
+ mobileColumns?: string;
5
+ templateColumns?: string;
6
+ } & Omit<BoxProps, "gap">;
7
+ declare const Grid: ({ templateColumns, mobileColumns, gap, sx, ...rest }: GridProps) => import("react/jsx-runtime").JSX.Element;
8
8
  export default Grid;
@@ -1,5 +1,4 @@
1
1
  import type { AccordionProps } from "@mui/material/Accordion";
2
- import _AccordionActions from "@mui/material/AccordionActions";
3
2
  import type { ButtonProps } from "@mui/material/Button";
4
3
  import type { ReactNode } from "react";
5
4
  type CollapsibleBaseProps = {
@@ -54,6 +53,6 @@ type ActionsPropsCustomRender = {
54
53
  };
55
54
  type ActionsProps = ActionsPropsEmpty | ActionsPropsDefault | ActionsPropsCustomRender;
56
55
  export type CollapsibleProps = SummaryProps & ActionsProps & CollapsibleBaseProps;
57
- export declare const AccordionActions: import("styled-components").StyledComponent<typeof _AccordionActions, any, {}, never>;
56
+ export declare const AccordionActions: ({ sx, ...props }: import("@mui/material").AccordionActionsProps) => import("react/jsx-runtime").JSX.Element;
58
57
  declare const Collapsible: (props: CollapsibleProps) => ReactNode;
59
58
  export default Collapsible;
@@ -1,5 +1,5 @@
1
- import type { CollapsibleProps } from './Collapsible.tsx';
2
- import type { ReactNode } from 'react';
1
+ import type { ReactNode } from "react";
2
+ import type { CollapsibleProps } from "./Collapsible.tsx";
3
3
  type Props = {
4
4
  disable?: boolean;
5
5
  } & CollapsibleProps;
@@ -1,7 +1,8 @@
1
- import type { ReactNode } from 'react';
2
- type Props = {
1
+ import { type BoxProps } from "@mui/material";
2
+ import type { ReactNode } from "react";
3
+ type Props = BoxProps & {
3
4
  leftNode: React.ReactNode;
4
5
  rightNode: React.ReactNode;
5
6
  };
6
- declare const CollapsibleDetails: ({ leftNode, rightNode }: Props) => ReactNode;
7
+ declare const CollapsibleDetails: ({ sx, leftNode, rightNode, ...rest }: Props) => ReactNode;
7
8
  export default CollapsibleDetails;
@@ -1 +1,2 @@
1
- export declare const CollapsibleFillWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ import { type BoxProps } from '@mui/material';
2
+ export declare const CollapsibleFillWrapper: (props: BoxProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,3 @@
1
- declare const CollapsibleGroup: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ import { type BoxProps } from "@mui/material";
2
+ declare const CollapsibleGroup: (props: BoxProps) => import("react/jsx-runtime").JSX.Element;
2
3
  export default CollapsibleGroup;
@@ -10,6 +10,8 @@ type CollapsibleBaseProps = {
10
10
  lazy: boolean;
11
11
  expanded: boolean | undefined;
12
12
  borderRadius?: number;
13
+ alwaysExpanded?: boolean;
14
+ isExpanded?: boolean;
13
15
  } & AccordionProps;
14
16
  type SummaryPropsDefault = {
15
17
  renderSummary?: never;
@@ -1,7 +1,6 @@
1
- import type { ReactNode } from 'react';
2
- export declare const WrapperIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export type CollapsibleStepProps = {
4
- children: ReactNode;
1
+ import { type BoxProps } from "@mui/material";
2
+ import type { ReactNode } from "react";
3
+ export type CollapsibleStepProps = BoxProps & {
5
4
  header: string;
6
5
  legend?: string;
7
6
  number?: number;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ReactNode } from "react";
2
2
  export type CollapsibleStepHeaderProps = {
3
3
  number?: number;
4
4
  header: string | JSX.Element;
@@ -6,6 +6,5 @@ export type CollapsibleStepHeaderProps = {
6
6
  status?: boolean;
7
7
  showEdit?: boolean;
8
8
  };
9
- export declare const WrapperIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
10
9
  declare const CollapsibleStepHeader: ({ number, header, status, legend, showEdit, }: CollapsibleStepHeaderProps) => ReactNode;
11
10
  export default CollapsibleStepHeader;
@@ -1,12 +1,18 @@
1
- import type { ReactNode } from 'react';
2
- import type { CollapsibleProps } from './Collapsible.tsx';
3
- export declare const CollapsibleTreeActions: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent.d.ts").OverridableComponent<import("@mui/material").StackTypeMap<{}, "div">>, any, {
1
+ import { type BoxProps } from "@mui/material";
2
+ import type { ReactNode } from "react";
3
+ import type { CollapsibleProps } from "./Collapsible.tsx";
4
+ export declare const CollapsibleTreeActions: ({ isParent, noBorder, sx, ...props }: import("@mui/material").StackOwnProps & import("@mui/material/OverridableComponent.d.ts").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
5
+ ref?: import("react").RefObject<HTMLDivElement> | ((instance: HTMLDivElement | null) => void) | null | undefined;
6
+ }, keyof import("@mui/material/OverridableComponent.d.ts").CommonProps | keyof import("@mui/material").StackOwnProps> & {
7
+ component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
+ } & {
4
9
  isParent: boolean;
5
10
  noBorder: boolean;
6
- }, never>;
11
+ }) => import("react/jsx-runtime").JSX.Element;
7
12
  type Props = {
8
13
  disable?: boolean;
9
14
  borderRadius?: number;
15
+ rootProps?: BoxProps;
10
16
  } & CollapsibleProps;
11
17
  declare const CollapsibleTree: (props: Props) => ReactNode;
12
18
  export default CollapsibleTree;
@@ -1,7 +1,6 @@
1
- type ExpandMoreIconProps = {
1
+ import type { SvgIconProps } from "@mui/material";
2
+ type ExpandMoreIconProps = SvgIconProps & {
2
3
  hide?: boolean;
3
4
  };
4
- declare const ExpandMoreIcon: import("styled-components").StyledComponent<import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
5
- muiName: string;
6
- }, any, ExpandMoreIconProps, never>;
5
+ declare const ExpandMoreIcon: ({ sx, hide, ...rest }: ExpandMoreIconProps) => import("react/jsx-runtime").JSX.Element;
7
6
  export default ExpandMoreIcon;
@@ -1,5 +1,5 @@
1
- declare const LeafCollapsible: import("styled-components").StyledComponent<(props: import("./Collapsible.tsx").CollapsibleProps) => import("react").ReactNode, any, {
2
- expanded: false;
3
- expandIcon: null;
4
- }, "expandIcon" | "expanded">;
1
+ import type { ReactNode } from 'react';
2
+ import type { CollapsibleProps } from './Collapsible.tsx';
3
+ export type LeafCollapsibleProps = Omit<CollapsibleProps, 'expandIcon'>;
4
+ declare const LeafCollapsible: (props: LeafCollapsibleProps) => ReactNode;
5
5
  export default LeafCollapsible;
@@ -1,2 +1,5 @@
1
- export declare const transparentMixin: import("styled-components").FlattenSimpleInterpolation;
2
- export declare const TransparencyCollapsibleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ import Box from '@mui/material/Box';
2
+ import type { Theme } from '@mui/material/styles';
3
+ import type { ComponentProps, ReactNode } from 'react';
4
+ export type TransparencyCollapsibleWrapperProps = ComponentProps<typeof Box>;
5
+ export declare const TransparencyCollapsibleWrapper: any;