@max-ts/components 1.1.7 → 1.2.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/RangeInput/RangeInput.d.ts +12 -0
- package/lib/components/RangeInput/index.d.ts +1 -0
- package/lib/components/RangeInput/styles.d.ts +23 -0
- package/lib/components/SidebarNav/MenuItem/MenuItem.d.ts +1 -1
- package/lib/components/SidebarNav/MenuItem/styles.d.ts +26 -9
- package/lib/components/SidebarNav/types.d.ts +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/index.mjs +2657 -2531
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type RangeInputProps = {
|
|
2
|
+
minValue: number | null;
|
|
3
|
+
maxValue: number | null;
|
|
4
|
+
min: number;
|
|
5
|
+
max: number;
|
|
6
|
+
title: string;
|
|
7
|
+
onChange: (minValue: number, maxValue: number) => void;
|
|
8
|
+
width?: number | string;
|
|
9
|
+
step?: number | null;
|
|
10
|
+
size?: 'small' | 'medium';
|
|
11
|
+
};
|
|
12
|
+
export declare function RangeInput({ min, max, onChange, minValue, maxValue, width, step, title, size }: RangeInputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './RangeInput';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const Wrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
2
|
+
$width?: string | number;
|
|
3
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const Container: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
5
|
+
$size?: "small" | "medium";
|
|
6
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
|
+
export declare const Label: import('@emotion/styled').StyledComponent<{
|
|
8
|
+
children?: import('react').ReactNode;
|
|
9
|
+
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
10
|
+
align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
|
|
11
|
+
gutterBottom?: boolean | undefined;
|
|
12
|
+
noWrap?: boolean | undefined;
|
|
13
|
+
paragraph?: boolean | undefined;
|
|
14
|
+
} & {
|
|
15
|
+
color?: import('../Typography').TypographyColor;
|
|
16
|
+
variant?: import('../Typography').TypographyVariant;
|
|
17
|
+
colorIntensity?: import('../Typography').Intensity;
|
|
18
|
+
component?: "symbol" | "object" | "text" | "main" | "clipPath" | "filter" | "mask" | "marker" | "style" | "div" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "search" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "textPath" | "tspan" | "use" | "view" | import('react').ComponentType<any>;
|
|
19
|
+
isUpperCase?: boolean;
|
|
20
|
+
} & import('react').HTMLAttributes<HTMLParagraphElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
21
|
+
export declare const RangeText: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
22
|
+
export declare const StyledInput: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
|
|
23
|
+
export declare const SliderWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SidebarNavItem } from '../types';
|
|
2
|
-
export declare const MenuItem: ({ collapsed, icon, active, label, subItems,
|
|
2
|
+
export declare const MenuItem: ({ collapsed, icon, active, label, subItems, onClick, id, component, }: SidebarNavItem & {
|
|
3
3
|
collapsed?: boolean;
|
|
4
4
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,28 @@
|
|
|
1
|
-
export declare const Item: import('@emotion/styled').StyledComponent<import('
|
|
1
|
+
export declare const Item: 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('../..').ButtonVariants}`;
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
loadingIndicator?: import('react').ReactNode;
|
|
5
|
+
loadingPosition?: "start" | "end" | "center";
|
|
6
|
+
color?: `${import('../..').ButtonColors}`;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
component?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
+
} & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
2
10
|
active?: boolean;
|
|
3
|
-
|
|
4
|
-
|
|
11
|
+
collapsed?: boolean;
|
|
12
|
+
}, {}, {}>;
|
|
13
|
+
export declare const SubItem: import('@emotion/styled').StyledComponent<Omit<import('../../types').WithoutEmotionSpecific<import('@mui/material').ButtonProps<import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>>>, "color" | "variant"> & {
|
|
14
|
+
variant?: `${import('../..').ButtonVariants}`;
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
loadingIndicator?: import('react').ReactNode;
|
|
17
|
+
loadingPosition?: "start" | "end" | "center";
|
|
18
|
+
color?: `${import('../..').ButtonColors}`;
|
|
19
|
+
selected?: boolean;
|
|
20
|
+
component?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
21
|
+
} & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
5
22
|
active?: boolean;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export declare const
|
|
23
|
+
collapsed?: boolean;
|
|
24
|
+
}, {}, {}>;
|
|
25
|
+
export declare const Title: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
26
|
+
collapsed?: boolean;
|
|
27
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
28
|
+
export declare const IconWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -4,6 +4,6 @@ export type SidebarNavItem = {
|
|
|
4
4
|
icon: React.ReactNode;
|
|
5
5
|
active?: boolean;
|
|
6
6
|
onClick?: (event: React.MouseEvent<HTMLLIElement>) => void;
|
|
7
|
-
renderItem?: (props: Omit<SidebarNavItem, 'renderItem' | 'subItems' | 'icon'>) => React.ReactNode;
|
|
8
7
|
subItems?: Omit<SidebarNavItem, 'subItems' | 'icon'>[];
|
|
8
|
+
component?: React.ElementType;
|
|
9
9
|
};
|