@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,15 +1,16 @@
1
- import type { ReactNode } from 'react';
1
+ import { type BoxProps } from "@mui/material";
2
+ import type { ReactNode } from "react";
2
3
  type LogoType = {
3
4
  url: string | null;
4
5
  };
5
6
  export type CompanyType = {
6
7
  id: string | null;
7
8
  name: string | null;
8
- nameFriendly: string | null;
9
9
  logo: LogoType | null;
10
+ nameFriendly: string | null;
10
11
  };
11
- type CompanyLogoProps = {
12
+ type CompanyLogoProps = BoxProps & {
12
13
  company: CompanyType;
13
14
  };
14
- declare const CompanyLogo: ({ company }: CompanyLogoProps) => ReactNode;
15
+ declare const CompanyLogo: ({ sx, company, ...rest }: CompanyLogoProps) => ReactNode;
15
16
  export default CompanyLogo;
@@ -1,7 +1,8 @@
1
- import type { ReactNode } from 'react';
2
- export type ActionMarginProps = {
3
- rightComponent?: ReactNode;
1
+ import { type BoxProps } from "@mui/material";
2
+ import type { ReactNode } from "react";
3
+ export type ActionMarginProps = BoxProps & {
4
4
  leftComponent?: ReactNode;
5
+ rightComponent?: ReactNode;
5
6
  };
6
- declare const _default: ({ rightComponent, leftComponent }: ActionMarginProps) => import("react/jsx-runtime").JSX.Element;
7
+ declare const _default: ({ sx, rightComponent, leftComponent, ...rest }: ActionMarginProps) => import("react/jsx-runtime").JSX.Element;
7
8
  export default _default;
@@ -1,2 +1,4 @@
1
- declare const _default: import("styled-components").StyledComponent<"span", any, {}, never>;
2
- export default _default;
1
+ import { type TypographyProps } from "@mui/material";
2
+ type ActionMarginTextProps = TypographyProps;
3
+ declare const ActionMarginText: ({ sx, ...rest }: ActionMarginTextProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default ActionMarginText;
@@ -1,6 +1,4 @@
1
- import type { ReactNode } from 'react';
2
- type Props = {
3
- children: ReactNode;
4
- };
5
- declare const _default: ({ children }: Props) => import("react/jsx-runtime").JSX.Element;
1
+ import { type BoxProps } from "@mui/material";
2
+ type Props = BoxProps;
3
+ declare const _default: ({ sx, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
6
4
  export default _default;
@@ -1,6 +1,4 @@
1
- import type { ReactNode } from 'react';
2
- type Props = {
3
- children: ReactNode;
4
- };
5
- declare const _default: ({ children }: Props) => import("react/jsx-runtime").JSX.Element;
1
+ import { type BoxProps } from "@mui/material";
2
+ type Props = BoxProps;
3
+ declare const _default: ({ sx, children, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
6
4
  export default _default;
@@ -1,5 +1,4 @@
1
- interface Props {
2
- children?: React.ReactNode;
3
- }
4
- declare const Phone: ({ children }: Props) => import("react/jsx-runtime").JSX.Element;
1
+ import { type BoxProps } from "@mui/material";
2
+ type Props = BoxProps;
3
+ declare const Phone: ({ sx, children, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
5
4
  export default Phone;
@@ -1 +1,4 @@
1
- export declare const DrawerResponsiveWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ import { type BoxProps } from "@mui/material";
2
+ type DrawerResponsiveWrapperProps = BoxProps;
3
+ export declare const DrawerResponsiveWrapper: ({ sx, ...rest }: DrawerResponsiveWrapperProps) => import("react/jsx-runtime").JSX.Element;
4
+ export {};
@@ -1,4 +1,4 @@
1
- import { type ReactNode } from 'react';
1
+ import { type ReactNode } from "react";
2
2
  type Props = {
3
3
  error: string;
4
4
  retry?: () => void;
@@ -1,12 +1,9 @@
1
+ import type { ReactNode } from "react";
1
2
  type Props = {
3
+ color?: string;
2
4
  children: ReactNode;
5
+ onClick?: () => void;
3
6
  background?: string;
4
- color?: string;
5
7
  };
6
- declare function IconButton(props: Props): import("react/jsx-runtime").JSX.Element;
7
- declare namespace IconButton {
8
- var defaultProps: {
9
- background: string;
10
- };
11
- }
8
+ declare function IconButton({ color, onClick, children, background }: Props): import("react/jsx-runtime").JSX.Element;
12
9
  export default IconButton;
@@ -1,13 +1,10 @@
1
+ import type { PropsWithChildren } from "react";
1
2
  type Props = {
3
+ color?: string;
2
4
  children: React.ReactNode;
5
+ padding?: string;
6
+ fontSize?: string | number;
3
7
  className?: string;
4
8
  };
5
- declare function MaterialIcon(props: Props): import("react/jsx-runtime").JSX.Element;
6
- declare namespace MaterialIcon {
7
- var defaultProps: {
8
- color: string;
9
- fontSize: number;
10
- padding: string;
11
- };
12
- }
9
+ declare function MaterialIcon(props: PropsWithChildren<Props>): import("react/jsx-runtime").JSX.Element;
13
10
  export default MaterialIcon;
@@ -1,8 +1,7 @@
1
- import type { BoxProps } from '@mui/material/Box';
2
- import type { ComponentType } from 'react';
1
+ import type { BoxProps } from "@mui/material/Box";
3
2
  type OwnProps = {
4
- opacity: number;
3
+ opacity?: number;
5
4
  };
6
5
  type Props = BoxProps & OwnProps;
7
- declare const Divider: import("styled-components").StyledComponent<ComponentType<Props>, any, {}, never>;
6
+ declare const Divider: ({ sx, opacity, ...rest }: Props) => import("react/jsx-runtime").JSX.Element;
8
7
  export default Divider;
@@ -1,8 +1,8 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ReactNode } from "react";
2
2
  type Props = {
3
3
  size?: number;
4
4
  color?: string;
5
5
  viewBox?: string;
6
6
  };
7
- declare const CheckboxChecked: ({ size, color, viewBox, }: Props) => ReactNode;
7
+ declare const CheckboxChecked: ({ size, color, viewBox }: Props) => ReactNode;
8
8
  export default CheckboxChecked;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ReactNode } from "react";
2
2
  type Props = {
3
3
  size: number;
4
4
  color?: string;
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- CheckboxChecked: ({ size, color, viewBox, }: {
2
+ CheckboxChecked: ({ size, color, viewBox }: {
3
3
  size?: number | undefined;
4
4
  color?: string | undefined;
5
5
  viewBox?: string | undefined;
@@ -1,2 +1,4 @@
1
- declare const Dropzone: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ import type { Theme } from "@mui/material/styles";
2
+ import type { ReactNode } from "react";
3
+ declare const Dropzone: any;
2
4
  export default Dropzone;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from 'react';
1
+ import type { ReactNode } from "react";
2
2
  export declare const allowedMimeTypes: string[];
3
3
  type File = any;
4
4
  type Props = {