@max-ts/components 0.6.0 → 1.0.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/lib/components/Button/Button.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.d.ts +2 -7
- package/lib/components/CheckboxField/CheckboxField.d.ts +4 -0
- package/lib/components/CheckboxField/styles.d.ts +1 -1
- package/lib/components/DashboardLayout/DashboardContext.d.ts +4 -0
- package/lib/components/DashboardLayout/DashboardLayout.d.ts +13 -0
- package/lib/components/DashboardLayout/Main/Main.d.ts +6 -0
- package/lib/components/DashboardLayout/Sidebar/Sidebar.d.ts +11 -0
- package/lib/components/DashboardLayout/Sidebar/constants.d.ts +2 -0
- package/lib/components/DashboardLayout/Sidebar/styles.d.ts +8 -0
- package/lib/components/DashboardLayout/constants.d.ts +1 -0
- package/lib/components/DashboardLayout/index.d.ts +1 -0
- package/lib/components/DashboardLayout/styles.d.ts +1 -0
- package/lib/components/DataGridPagination/useLogic/useLogic.d.ts +1 -1
- package/lib/components/FormLabel/styles.d.ts +1 -1
- package/lib/components/InputOTP/InputOTP.d.ts +2 -2
- package/lib/components/InputOTP/Separator/Separator.d.ts +2 -2
- package/lib/components/ListItemButton/ListItemButton.d.ts +3 -4
- package/lib/components/Placeholder/constants.d.ts +12 -4
- package/lib/components/Profile/Profile.d.ts +1 -0
- package/lib/components/SidebarNav/MenuItem/MenuItem.d.ts +4 -0
- package/lib/components/SidebarNav/MenuItem/index.d.ts +1 -0
- package/lib/components/SidebarNav/MenuItem/styles.d.ts +11 -0
- package/lib/components/SidebarNav/SidebarNav.d.ts +6 -0
- package/lib/components/{Layout/Sidebar/SidebarNav → SidebarNav}/index.d.ts +1 -0
- package/lib/components/SidebarNav/styles.d.ts +1 -0
- package/lib/components/SidebarNav/types.d.ts +9 -0
- package/lib/components/SidebarProduct/SidebarProduct.d.ts +6 -0
- package/lib/components/SidebarProduct/index.d.ts +1 -0
- package/lib/components/SidebarProduct/styles.d.ts +25 -0
- package/lib/components/Slider/styles.d.ts +1 -1
- package/lib/components/Tag/styles.d.ts +1 -1
- package/lib/components/index.d.ts +3 -4
- package/lib/index.mjs +4981 -5535
- package/lib/theme/typography.d.ts +2 -2
- package/package.json +6 -6
- package/lib/components/Checkbox/icons.d.ts +0 -4
- package/lib/components/Checkbox/styles.d.ts +0 -5
- package/lib/components/Layout/Header/Header.d.ts +0 -8
- package/lib/components/Layout/Header/index.d.ts +0 -1
- package/lib/components/Layout/Header/styles.d.ts +0 -3
- package/lib/components/Layout/Layout.d.ts +0 -13
- package/lib/components/Layout/LayoutContext/LayoutContext.d.ts +0 -6
- package/lib/components/Layout/LayoutContext/index.d.ts +0 -1
- package/lib/components/Layout/Main/Main.d.ts +0 -10
- package/lib/components/Layout/Sidebar/Sidebar.d.ts +0 -26
- package/lib/components/Layout/Sidebar/SidebarNav/SidebarNav.d.ts +0 -5
- package/lib/components/Layout/Sidebar/SidebarNav/styles.d.ts +0 -1
- package/lib/components/Layout/Sidebar/Toggler/ToggleButton/ToggleButton.d.ts +0 -5
- package/lib/components/Layout/Sidebar/Toggler/ToggleButton/index.d.ts +0 -1
- package/lib/components/Layout/Sidebar/Toggler/ToggleButton/styles.d.ts +0 -10
- package/lib/components/Layout/Sidebar/Toggler/Toggler.d.ts +0 -5
- package/lib/components/Layout/Sidebar/Toggler/index.d.ts +0 -1
- package/lib/components/Layout/Sidebar/Toggler/styles.d.ts +0 -12
- package/lib/components/Layout/Sidebar/constants.d.ts +0 -1
- package/lib/components/Layout/Sidebar/styles.d.ts +0 -6
- package/lib/components/Layout/constants.d.ts +0 -3
- package/lib/components/Layout/hooks/index.d.ts +0 -1
- package/lib/components/Layout/hooks/useSidebar/index.d.ts +0 -1
- package/lib/components/Layout/hooks/useSidebar/useSidebar.d.ts +0 -7
- package/lib/components/Layout/index.d.ts +0 -3
- package/lib/components/Layout/styles.d.ts +0 -5
- package/lib/components/NavMenu/Item/Item.d.ts +0 -16
- package/lib/components/NavMenu/Item/ItemButton/ItemButton.d.ts +0 -11
- package/lib/components/NavMenu/Item/ItemButton/index.d.ts +0 -1
- package/lib/components/NavMenu/Item/ItemButton/styles.d.ts +0 -639
- package/lib/components/NavMenu/Item/List/List.d.ts +0 -13
- package/lib/components/NavMenu/Item/List/index.d.ts +0 -1
- package/lib/components/NavMenu/Item/index.d.ts +0 -1
- package/lib/components/NavMenu/NavMenu.d.ts +0 -15
- package/lib/components/NavMenu/index.d.ts +0 -1
- package/lib/components/Product/Product.d.ts +0 -6
- package/lib/components/Product/index.d.ts +0 -1
- package/lib/components/Product/styles.d.ts +0 -9
- package/lib/components/Profile/styles.d.ts +0 -703
- package/lib/components/SidebarButton/SidebarButton.d.ts +0 -2
- package/lib/components/SidebarButton/index.d.ts +0 -1
- package/lib/components/SidebarButton/styles.d.ts +0 -11
- package/lib/theme/components/MuiListItemButton.d.ts +0 -3
- /package/lib/components/{Layout → DashboardLayout}/Main/index.d.ts +0 -0
- /package/lib/components/{Layout → DashboardLayout}/Main/styles.d.ts +0 -0
- /package/lib/components/{Layout → DashboardLayout}/Sidebar/index.d.ts +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ElementType, ReactNode } from 'react';
|
|
2
|
-
export type ListProps = {
|
|
3
|
-
collapsedIn: boolean;
|
|
4
|
-
items: Array<[
|
|
5
|
-
key: string,
|
|
6
|
-
value: {
|
|
7
|
-
text: ReactNode;
|
|
8
|
-
active: boolean;
|
|
9
|
-
component: ElementType;
|
|
10
|
-
}
|
|
11
|
-
]>;
|
|
12
|
-
};
|
|
13
|
-
export declare const List: (props: ListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './List';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Item';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ElementType } from 'react';
|
|
2
|
-
import { ItemProps } from './Item';
|
|
3
|
-
export type NavMenuProps<TComponent extends ElementType = ElementType> = {
|
|
4
|
-
/**
|
|
5
|
-
* Состояние свернуто/развернуто меню по горизонтали
|
|
6
|
-
*/
|
|
7
|
-
collapsedIn?: boolean;
|
|
8
|
-
items: [
|
|
9
|
-
key: ItemProps['item'][0],
|
|
10
|
-
value: ItemProps['item'][1] & {
|
|
11
|
-
component?: TComponent;
|
|
12
|
-
}
|
|
13
|
-
][];
|
|
14
|
-
};
|
|
15
|
-
export declare const NavMenu: <TComponent extends ElementType>(props: NavMenuProps<TComponent>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './NavMenu';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './Product';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare const StyledButton: import('@emotion/styled').StyledComponent<Omit<import('../types').WithoutEmotionSpecific<import('@mui/material').ButtonProps<import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>>>, "color" | "variant"> & {
|
|
2
|
-
variant?: `${import('../Button').ButtonVariants}`;
|
|
3
|
-
loading?: boolean;
|
|
4
|
-
loadingIndicator?: import('react').ReactNode;
|
|
5
|
-
loadingPosition?: "start" | "end" | "center";
|
|
6
|
-
color?: `${import('../Button').ButtonColors}`;
|
|
7
|
-
component?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
8
|
-
selected?: boolean;
|
|
9
|
-
} & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|