@woovi/ui 0.0.1 → 0.0.3
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/buttons/ResponsiveSplitButton.d.ts +5 -5
- package/dist/buttons/SplitButton.d.ts +5 -5
- package/dist/cardAnalytics/CardAnalyticsSmall.d.ts +11 -0
- package/dist/helpers/Divider.d.ts +1 -1
- package/dist/index.cjs +173 -173
- package/dist/index.d.ts +2 -1
- package/dist/index.js +209 -209
- package/dist/rslib-runtime.js +1 -0
- package/dist/theme/HeaderButtonTheme.d.ts +1 -1
- package/package.json +18 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { MenuItemProps } from
|
|
2
|
-
import type { ReactNode } from
|
|
3
|
-
import type { ActionButtonProps } from
|
|
4
|
-
type OmitWithValue<T> = Omit<T,
|
|
1
|
+
import type { MenuItemProps } from "@mui/material/MenuItem";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
import type { ActionButtonProps } from "./ActionButton.tsx";
|
|
4
|
+
type OmitWithValue<T> = Omit<T, "children"> & {
|
|
5
5
|
value: string;
|
|
6
6
|
};
|
|
7
7
|
export type SplitButtonProps = {
|
|
@@ -15,5 +15,5 @@ export type SplitButtonProps = {
|
|
|
15
15
|
*
|
|
16
16
|
* @see https://mui.com/material-ui/react-button-group/#split-button
|
|
17
17
|
*/
|
|
18
|
-
declare const ResponsiveSplitButton: ({ mainButtonProps, options
|
|
18
|
+
declare const ResponsiveSplitButton: ({ mainButtonProps, options }: SplitButtonProps) => ReactNode;
|
|
19
19
|
export default ResponsiveSplitButton;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { MenuItemProps } from
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
type OmitWithValue<T> = Omit<T,
|
|
1
|
+
import type { MenuItemProps } from "@mui/material/MenuItem";
|
|
2
|
+
import type { ReactNode } from "react";
|
|
3
|
+
import type { ActionButtonProps } from "./ActionButton.tsx";
|
|
4
|
+
type OmitWithValue<T> = Omit<T, "children"> & {
|
|
5
5
|
value: string;
|
|
6
6
|
};
|
|
7
7
|
export type SplitButtonProps = {
|
|
@@ -15,5 +15,5 @@ export type SplitButtonProps = {
|
|
|
15
15
|
*
|
|
16
16
|
* @see https://mui.com/material-ui/react-button-group/#split-button
|
|
17
17
|
*/
|
|
18
|
-
declare const SplitButton: ({ mainButtonProps, options
|
|
18
|
+
declare const SplitButton: ({ mainButtonProps, options }: SplitButtonProps) => ReactNode;
|
|
19
19
|
export default SplitButton;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
type CardAnalyticsSmallProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
total?: string | number;
|
|
5
|
+
value: string | number | null | ReactNode;
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
onClick?: () => any;
|
|
8
|
+
color?: "primary" | "secondary" | "tertiary" | "info" | "success" | "error" | "warning" | "";
|
|
9
|
+
};
|
|
10
|
+
declare const CardAnalyticsSmall: ({ title, value, total, color, onClick, loading, }: CardAnalyticsSmallProps) => ReactNode;
|
|
11
|
+
export default CardAnalyticsSmall;
|
|
@@ -4,5 +4,5 @@ type OwnProps = {
|
|
|
4
4
|
opacity: number;
|
|
5
5
|
};
|
|
6
6
|
type Props = BoxProps & OwnProps;
|
|
7
|
-
declare const Divider: import("styled-components").StyledComponent<ComponentType<Props>, any,
|
|
7
|
+
declare const Divider: import("styled-components").StyledComponent<ComponentType<Props>, any, {}, never>;
|
|
8
8
|
export default Divider;
|