@max-ts/components 0.2.4 → 0.3.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.
- package/lib/components/Accordion/styles.d.ts +2 -2
- package/lib/components/Accordion/styles.mjs +19 -10
- package/lib/components/ActionCell/MainAction/MainAction.d.ts +1 -4
- package/lib/components/ActionCell/MainAction/MainAction.mjs +110 -44
- package/lib/components/ActionCell/SecondaryAction/SecondaryActions.d.ts +0 -3
- package/lib/components/ActionCell/styles.mjs +12 -3
- package/lib/components/ActionGroup/ActionGroup.d.ts +23 -0
- package/lib/components/ActionGroup/ActionGroup.mjs +17 -0
- package/lib/components/ActionGroup/MainActions/MainActions.d.ts +65 -0
- package/lib/components/ActionGroup/MainActions/MainActions.mjs +129 -0
- package/lib/components/ActionGroup/MainActions/index.d.ts +1 -0
- package/lib/components/ActionGroup/MainActions/styles.d.ts +13 -0
- package/lib/components/ActionGroup/MainActions/styles.mjs +17 -0
- package/lib/components/ActionGroup/SecondaryActions/SecondaryActions.d.ts +21 -0
- package/lib/components/ActionGroup/SecondaryActions/SecondaryActions.mjs +97 -0
- package/lib/components/ActionGroup/SecondaryActions/index.d.ts +1 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.d.ts +19 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.mjs +103 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/index.d.ts +1 -0
- package/lib/components/ActionGroup/SecondaryVisibleActions/styles.d.ts +9 -0
- package/lib/components/ActionGroup/index.d.ts +1 -0
- package/lib/components/ActionGroup/styles.d.ts +1 -0
- package/lib/components/ActionGroup/styles.mjs +17 -0
- package/lib/components/ActionGroup/useLogic/index.d.ts +1 -0
- package/lib/components/ActionGroup/useLogic/useLogic.d.ts +7 -0
- package/lib/components/ActionGroup/useLogic/useLogic.mjs +9 -0
- package/lib/components/Autocomplete/styles.mjs +13 -4
- package/lib/components/Badge/styles.d.ts +1 -1
- package/lib/components/BottomDrawer/styles.d.ts +3 -3
- package/lib/components/Breadcrumbs/index.d.ts +1 -0
- package/lib/components/Button/Button.mjs +17 -17
- package/lib/components/Button/constants.d.ts +1 -1
- package/lib/components/Button/constants.mjs +2 -2
- package/lib/components/Button/styles.d.ts +1 -1
- package/lib/components/ButtonBase/ButtonBase.d.ts +1 -0
- package/lib/components/ButtonBase/index.d.ts +1 -0
- package/lib/components/ButtonGroup/index.d.ts +1 -0
- package/lib/components/Card/index.d.ts +1 -0
- package/lib/components/CardActions/index.d.ts +1 -0
- package/lib/components/CardContent/index.d.ts +1 -0
- package/lib/components/CardHeader/index.d.ts +1 -0
- package/lib/components/CheckboxField/styles.mjs +13 -4
- package/lib/components/Chevron/styles.mjs +13 -4
- package/lib/components/ConfirmAction/styles.d.ts +2 -2
- package/lib/components/ConfirmAction/styles.mjs +15 -6
- package/lib/components/ConfirmDialog/styles.mjs +7 -2
- package/lib/components/ConfirmDialog/useLogic/useLogic.d.ts +1 -1
- package/lib/components/Container/styles.d.ts +1 -0
- package/lib/components/Container/styles.mjs +16 -13
- package/lib/components/ContentState/styles.mjs +11 -2
- package/lib/components/CopyTypography/styles.d.ts +2 -2
- package/lib/components/CopyTypography/styles.mjs +15 -6
- package/lib/components/DataGrid/Body/styles.mjs +11 -2
- package/lib/components/DataGrid/Cell/styles.mjs +15 -6
- package/lib/components/DataGrid/Head/styles.mjs +19 -10
- package/lib/components/DataGrid/HeadCell/styles.d.ts +2 -2
- package/lib/components/DataGrid/HeadCell/styles.mjs +16 -7
- package/lib/components/DataGrid/Row/styles.mjs +18 -9
- package/lib/components/DataGrid/styles.mjs +19 -10
- package/lib/components/DataGridActionCell/styles.mjs +12 -3
- package/lib/components/DataGridOld/Cell/styles.d.ts +1 -1
- package/lib/components/DataGridOld/HeadCell/styles.d.ts +1 -1
- package/lib/components/DataGridPagination/styles.d.ts +2 -2
- package/lib/components/DataGridPagination/styles.mjs +21 -12
- package/lib/components/Description/Name/styles.mjs +14 -5
- package/lib/components/Description/Value/styles.d.ts +10 -10
- package/lib/components/Description/Value/styles.mjs +81 -8
- package/lib/components/Description/Value/useLogic/useLogic.mjs +3 -3
- package/lib/components/Description/styles.mjs +11 -2
- package/lib/components/Description/useLogic/useLogic.d.ts +1 -1
- package/lib/components/DescriptionList/styles.mjs +18 -9
- package/lib/components/DescriptionTooltip/DescriptionTooltip.d.ts +9 -0
- package/lib/components/DescriptionTooltip/DescriptionTooltip.mjs +14 -0
- package/lib/components/DescriptionTooltip/index.d.ts +1 -0
- package/lib/components/DescriptionTooltip/styles.d.ts +4 -0
- package/lib/components/DescriptionTooltip/styles.mjs +26 -0
- package/lib/components/DialogContentText/styles.d.ts +1 -1
- package/lib/components/DialogHeader/styles.mjs +21 -12
- package/lib/components/Filename/styles.d.ts +2 -2
- package/lib/components/Filename/styles.mjs +15 -6
- package/lib/components/FormHelperText/FormHelperTextContent/styles.mjs +25 -16
- package/lib/components/FormLabel/styles.d.ts +1 -1
- package/lib/components/IconButton/styles.mjs +18 -13
- package/lib/components/Link/Link.d.ts +1 -1
- package/lib/components/Link/styles.d.ts +1 -1
- package/lib/components/ListItem/styles.d.ts +1 -1
- package/lib/components/MaskField/MaskField.d.ts +6 -0
- package/lib/components/MaskField/MaskField.mjs +10 -0
- package/lib/components/MaskField/index.d.ts +1 -0
- package/lib/components/MenuList/styles.d.ts +1 -1
- package/lib/components/NavMenu/Item/ItemButton/styles.d.ts +125 -125
- package/lib/components/OverflowTypography/styles.d.ts +4 -4
- package/lib/components/OverflowTypography/styles.mjs +14 -5
- package/lib/components/Placeholder/Image/styles.mjs +14 -5
- package/lib/components/Placeholder/styles.d.ts +4 -4
- package/lib/components/Placeholder/styles.mjs +30 -21
- package/lib/components/SearchField/styles.mjs +20 -11
- package/lib/components/Select/styles.d.ts +1 -1
- package/lib/components/Skeleton/styles.d.ts +1 -1
- package/lib/components/Skeleton/styles.mjs +7 -10
- package/lib/components/Slider/Slider.d.ts +2 -0
- package/lib/components/Slider/Slider.mjs +6 -0
- package/lib/components/Slider/index.d.ts +1 -0
- package/lib/components/Slider/styles.d.ts +1 -0
- package/lib/components/Slider/styles.mjs +39 -0
- package/lib/components/Tab/styles.d.ts +1 -1
- package/lib/components/Tabs/styles.mjs +14 -5
- package/lib/components/Tag/Tag.mjs +18 -15
- package/lib/components/Tag/styles.d.ts +1 -1
- package/lib/components/TagBadge/styles.mjs +11 -2
- package/lib/components/TagsList/Tag/styles.d.ts +1 -1
- package/lib/components/TagsList/Tag/styles.mjs +11 -2
- package/lib/components/TagsList/styles.mjs +11 -2
- package/lib/components/ThemeProvider/ThemeProvider.d.ts +11 -0
- package/lib/components/ThemeProvider/ThemeProvider.mjs +9 -0
- package/lib/components/ThemeProvider/index.d.ts +1 -0
- package/lib/components/index.d.ts +12 -0
- package/lib/components.css +1 -0
- package/lib/icons/index.d.ts +1 -0
- package/lib/index.mjs +221 -198
- package/lib/node_modules/.pnpm/@react-input_core@2.0.2_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/core/module/Input.mjs +55 -0
- package/lib/node_modules/.pnpm/@react-input_core@2.0.2_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/core/module/SyntheticChangeError.mjs +11 -0
- package/lib/node_modules/.pnpm/@react-input_core@2.0.2_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/core/module/createProxy.mjs +8 -0
- package/lib/node_modules/.pnpm/@react-input_core@2.0.2_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/core/module/helpers-C8k3UfPS.mjs +129 -0
- package/lib/node_modules/.pnpm/@react-input_mask@2.0.4_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/mask/module/Mask.mjs +90 -0
- package/lib/node_modules/.pnpm/@react-input_mask@2.0.4_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/mask/module/helpers-BtaZ0NTN.mjs +226 -0
- package/lib/node_modules/.pnpm/@react-input_mask@2.0.4_@types_react@19.0.10_react-dom@19.0.0_react@19.0.0__react@19.0.0/node_modules/@react-input/mask/module/useMask.mjs +12 -0
- package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.mjs +9 -9
- package/lib/theme/baseTheme/baseTheme.d.ts +1 -3
- package/lib/theme/baseTheme/baseTheme.mjs +21 -21
- package/lib/theme/components/MuiButton.mjs +5 -5
- package/lib/theme/components/MuiSwitch.mjs +1 -1
- package/lib/theme/components/components.d.ts +1 -19
- package/lib/theme/components/components.mjs +71 -108
- package/lib/theme/index.d.ts +1 -1
- package/lib/theme/palette/palette.mjs +20 -20
- package/lib/theme/typography.mjs +6 -2
- package/package.json +3 -1
- package/lib/theme/hooks/index.d.ts +0 -1
- package/lib/theme/hooks/useTheme/index.d.ts +0 -2
- package/lib/theme/hooks/useTheme/index.mjs +0 -5
|
@@ -5,8 +5,8 @@ export type WithSize = {
|
|
|
5
5
|
export declare const Wrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & WithSize, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
6
|
export declare const InnerContainer: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & WithSize, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
7
7
|
export declare const Title: import('@emotion/styled').StyledComponent<{
|
|
8
|
-
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
9
8
|
children?: import('react').ReactNode;
|
|
9
|
+
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
10
10
|
align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
|
|
11
11
|
gutterBottom?: boolean | undefined;
|
|
12
12
|
noWrap?: boolean | undefined;
|
|
@@ -15,12 +15,12 @@ export declare const Title: import('@emotion/styled').StyledComponent<{
|
|
|
15
15
|
color?: import('../Typography').TypographyColor;
|
|
16
16
|
variant?: import('../Typography').TypographyVariant;
|
|
17
17
|
colorIntensity?: import('../Typography').Intensity;
|
|
18
|
-
component?: "symbol" | "object" | "
|
|
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
19
|
isUpperCase?: boolean;
|
|
20
20
|
} & import('react').HTMLAttributes<HTMLParagraphElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & WithSize, {}, {}>;
|
|
21
21
|
export declare const Description: import('@emotion/styled').StyledComponent<{
|
|
22
|
-
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
23
22
|
children?: import('react').ReactNode;
|
|
23
|
+
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
24
24
|
align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
|
|
25
25
|
gutterBottom?: boolean | undefined;
|
|
26
26
|
noWrap?: boolean | undefined;
|
|
@@ -29,7 +29,7 @@ export declare const Description: import('@emotion/styled').StyledComponent<{
|
|
|
29
29
|
color?: import('../Typography').TypographyColor;
|
|
30
30
|
variant?: import('../Typography').TypographyVariant;
|
|
31
31
|
colorIntensity?: import('../Typography').Intensity;
|
|
32
|
-
component?: "symbol" | "object" | "
|
|
32
|
+
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>;
|
|
33
33
|
isUpperCase?: boolean;
|
|
34
34
|
} & import('react').HTMLAttributes<HTMLParagraphElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & WithSize, {}, {}>;
|
|
35
35
|
export declare const Footer: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { styled as r } from "@mui/material";
|
|
2
|
+
import "remeda";
|
|
3
|
+
import "../../_virtual/jsx-runtime.mjs";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../Button/styles.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
import { Typography as p } from "../Typography/Typography.mjs";
|
|
12
|
+
import { SIZE as n, MAX_INNER_WIDTH as e } from "./constants.mjs";
|
|
13
|
+
const i = (t) => t !== "$size", b = r("div", {
|
|
14
|
+
shouldForwardProp: i
|
|
6
15
|
})`
|
|
7
16
|
display: flex;
|
|
8
17
|
flex-direction: column;
|
|
9
|
-
gap: ${({ theme: t, $size: o }) => o ===
|
|
18
|
+
gap: ${({ theme: t, $size: o }) => o === n.Small ? t.spacing(4) : t.spacing(6)};
|
|
10
19
|
align-items: center;
|
|
11
20
|
justify-content: center;
|
|
12
21
|
|
|
@@ -22,15 +31,15 @@ const e = (t) => t !== "$size", g = n("div", {
|
|
|
22
31
|
grid-template-rows: 1fr max-content;
|
|
23
32
|
gap: ${({ theme: t }) => t.spacing(4)};
|
|
24
33
|
}
|
|
25
|
-
`,
|
|
26
|
-
shouldForwardProp:
|
|
34
|
+
`, w = r("div", {
|
|
35
|
+
shouldForwardProp: i
|
|
27
36
|
})`
|
|
28
|
-
max-width: ${({ $size: t }) =>
|
|
37
|
+
max-width: ${({ $size: t }) => e[t]};
|
|
29
38
|
margin: 0 auto;
|
|
30
|
-
`,
|
|
31
|
-
shouldForwardProp:
|
|
39
|
+
`, h = r(p, {
|
|
40
|
+
shouldForwardProp: i
|
|
32
41
|
})`
|
|
33
|
-
margin-bottom: ${({ theme: t, $size: o }) => o ===
|
|
42
|
+
margin-bottom: ${({ theme: t, $size: o }) => o === n.Small ? t.spacing(2) : t.spacing(4)};
|
|
34
43
|
|
|
35
44
|
text-align: center;
|
|
36
45
|
|
|
@@ -41,19 +50,19 @@ const e = (t) => t !== "$size", g = n("div", {
|
|
|
41
50
|
font-weight: ${({ theme: t }) => t.typography.fontWeightMedium};
|
|
42
51
|
color: ${({ theme: t }) => t.palette.text.secondary};
|
|
43
52
|
}
|
|
44
|
-
`,
|
|
45
|
-
shouldForwardProp:
|
|
53
|
+
`, k = r(p, {
|
|
54
|
+
shouldForwardProp: i
|
|
46
55
|
})`
|
|
47
56
|
display: block;
|
|
48
57
|
|
|
49
|
-
font-size: ${({ $size: t, theme: o }) => t ===
|
|
58
|
+
font-size: ${({ $size: t, theme: o }) => t === n.Large ? o.typography.pxToRem(16) : o.typography.body1.fontSize};
|
|
50
59
|
text-align: center;
|
|
51
60
|
|
|
52
61
|
${({ theme: t }) => t.breakpoints.down("sm")} {
|
|
53
62
|
font-size: ${({ theme: t }) => t.typography.body1.fontSize};
|
|
54
63
|
color: ${({ theme: t }) => t.palette.text.secondary};
|
|
55
64
|
}
|
|
56
|
-
`,
|
|
65
|
+
`, z = r("footer")`
|
|
57
66
|
display: flex;
|
|
58
67
|
flex-wrap: wrap;
|
|
59
68
|
gap: ${({ theme: t }) => t.spacing(2)};
|
|
@@ -69,9 +78,9 @@ const e = (t) => t !== "$size", g = n("div", {
|
|
|
69
78
|
}
|
|
70
79
|
`;
|
|
71
80
|
export {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
81
|
+
k as Description,
|
|
82
|
+
z as Footer,
|
|
83
|
+
w as InnerContainer,
|
|
84
|
+
h as Title,
|
|
85
|
+
b as Wrapper
|
|
77
86
|
};
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
+
import { Search as r, X as e } from "lucide-react";
|
|
1
2
|
import { styled as o } from "@mui/material";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
3
|
+
import "remeda";
|
|
4
|
+
import "../../_virtual/jsx-runtime.mjs";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import "../Button/styles.mjs";
|
|
7
|
+
import "react";
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
12
|
+
import { IconButton as i } from "../IconButton/IconButton.mjs";
|
|
13
|
+
import { TextField as p } from "../TextField/TextField.mjs";
|
|
14
|
+
const F = o(r)`
|
|
6
15
|
color: ${({ theme: t }) => t.palette.grey[600]};
|
|
7
|
-
`,
|
|
16
|
+
`, $ = o(i, {
|
|
8
17
|
shouldForwardProp: (t) => !["$isActive"].includes(t.toString())
|
|
9
18
|
})`
|
|
10
19
|
opacity: ${({ $isActive: t }) => t ? 1 : 0};
|
|
@@ -16,18 +25,18 @@ const d = o(e)`
|
|
|
16
25
|
stroke: ${({ theme: t }) => t.palette.grey[700]};
|
|
17
26
|
}
|
|
18
27
|
}
|
|
19
|
-
`,
|
|
28
|
+
`, f = o(p)`
|
|
20
29
|
& .MuiFormHelperText-root {
|
|
21
30
|
display: none;
|
|
22
31
|
}
|
|
23
|
-
`,
|
|
32
|
+
`, k = o(e)`
|
|
24
33
|
width: 16px;
|
|
25
34
|
height: 16px;
|
|
26
35
|
stroke: ${({ theme: t }) => t.palette.grey[500]};
|
|
27
36
|
`;
|
|
28
37
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
38
|
+
k as StyledCloseFillSm,
|
|
39
|
+
$ as StyledIconButton,
|
|
40
|
+
F as StyledSearchIcon,
|
|
41
|
+
f as StyledTextField
|
|
33
42
|
};
|
|
@@ -19,5 +19,5 @@ export declare const StyledIconButton: import('@emotion/styled').StyledComponent
|
|
|
19
19
|
loading?: boolean;
|
|
20
20
|
} & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
21
21
|
export declare const StyledCloseFillSm: import('@emotion/styled').StyledComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
22
|
-
export declare const EndAdornmentWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
22
|
+
export declare const EndAdornmentWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
23
23
|
export declare const StyledSelect: typeof Select;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const StyledSkeleton: import('@emotion/styled').StyledComponent<import('@mui/material').SkeletonOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "sx" | "
|
|
1
|
+
export declare const StyledSkeleton: import('@emotion/styled').StyledComponent<import('@mui/material').SkeletonOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "sx" | "height" | "width" | "animation" | "classes" | "className" | "style" | "children" | "variant"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { alpha as r, skeletonClasses as
|
|
2
|
-
const a =
|
|
3
|
-
|
|
4
|
-
background-color: ${({ theme: t }) => r(t.palette.grey[900], 0.12)};
|
|
1
|
+
import { alpha as r, skeletonClasses as o, styled as t, Skeleton as d } from "@mui/material";
|
|
2
|
+
const a = t(d)`
|
|
3
|
+
background-color: ${({ theme: e }) => r(e.palette.grey[900], 0.12)};
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
&.${e.text} {
|
|
9
|
-
border-radius: 4px;
|
|
5
|
+
&.${o.text} {
|
|
6
|
+
border-radius: ${({ theme: e }) => e.shape.medium};
|
|
10
7
|
}
|
|
11
8
|
|
|
12
|
-
&.${
|
|
13
|
-
border-radius:
|
|
9
|
+
&.${o.rounded} {
|
|
10
|
+
border-radius: ${({ theme: e }) => e.shape.medium};
|
|
14
11
|
}
|
|
15
12
|
`;
|
|
16
13
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Slider';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledSlider: import('@emotion/styled').StyledComponent<import('@mui/material').SliderOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "sx" | "components" | "disabled" | "color" | "scale" | "classes" | "className" | "style" | "track" | "defaultValue" | "tabIndex" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "onChange" | "size" | "value" | "step" | "name" | "componentsProps" | "slots" | "slotProps" | "orientation" | "max" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "min" | "onChangeCommitted" | "shiftStep" | "valueLabelDisplay" | "valueLabelFormat"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { sliderClasses as r, styled as o, Slider as e } from "@mui/material";
|
|
2
|
+
import "remeda";
|
|
3
|
+
import "../../_virtual/jsx-runtime.mjs";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../Button/styles.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
const $ = o(e)`
|
|
12
|
+
height: 5px;
|
|
13
|
+
padding: ${({ theme: t }) => t.spacing(0)};
|
|
14
|
+
.${r.thumb} {
|
|
15
|
+
background-color: ${({ theme: t }) => t.palette.background.default};
|
|
16
|
+
height: 13px;
|
|
17
|
+
width: 13px;
|
|
18
|
+
border: 2px solid ${({ theme: t }) => t.palette.primary.main};
|
|
19
|
+
}
|
|
20
|
+
.${r.rail} {
|
|
21
|
+
background-color: ${({ theme: t }) => t.palette.grey[300]};
|
|
22
|
+
height: 2px;
|
|
23
|
+
opacity: 1;
|
|
24
|
+
}
|
|
25
|
+
.${r.track} {
|
|
26
|
+
height: 2px;
|
|
27
|
+
}
|
|
28
|
+
.${r.root} {
|
|
29
|
+
height: 2px;
|
|
30
|
+
}
|
|
31
|
+
.${r.valueLabel} {
|
|
32
|
+
background-color: ${({ theme: t }) => t.palette.background.default};
|
|
33
|
+
border: 1px solid ${({ theme: t }) => t.palette.secondary.main};
|
|
34
|
+
color: ${({ theme: t }) => t.palette.secondary.main};
|
|
35
|
+
}
|
|
36
|
+
`;
|
|
37
|
+
export {
|
|
38
|
+
$ as StyledSlider
|
|
39
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const StyledTab: import('@emotion/styled').StyledComponent<import('@mui/material').TabOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "sx" | "
|
|
1
|
+
export declare const StyledTab: import('@emotion/styled').StyledComponent<import('@mui/material').TabOwnProps & Omit<import('@mui/material').ButtonBaseOwnProps, "classes"> & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "sx" | "action" | "disabled" | "icon" | "classes" | "className" | "style" | "children" | "label" | "tabIndex" | "value" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "wrapped" | "iconPosition"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
import { styled as t } from "@mui/material";
|
|
2
|
-
|
|
2
|
+
import "remeda";
|
|
3
|
+
import "../../_virtual/jsx-runtime.mjs";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../Button/styles.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
const x = t("div")`
|
|
3
12
|
display: flex;
|
|
4
13
|
flex-direction: column;
|
|
5
14
|
align-items: flex-start;
|
|
6
15
|
|
|
7
16
|
width: 100%;
|
|
8
|
-
`,
|
|
17
|
+
`, c = t("div")`
|
|
9
18
|
position: relative;
|
|
10
19
|
z-index: -1;
|
|
11
20
|
bottom: 2px;
|
|
@@ -13,9 +22,9 @@ const o = t("div")`
|
|
|
13
22
|
width: 100%;
|
|
14
23
|
height: 2px;
|
|
15
24
|
|
|
16
|
-
background-color: ${(
|
|
25
|
+
background-color: ${(i) => i.theme.palette.grey[200]};
|
|
17
26
|
`;
|
|
18
27
|
export {
|
|
19
|
-
|
|
20
|
-
|
|
28
|
+
x as Container,
|
|
29
|
+
c as Divider
|
|
21
30
|
};
|
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
import { j as o } from "../../_virtual/jsx-runtime.mjs";
|
|
2
2
|
import { forwardRef as c } from "react";
|
|
3
3
|
import { X as f } from "lucide-react";
|
|
4
|
-
import "@mui/material";
|
|
4
|
+
import { useTheme as g } from "@mui/material";
|
|
5
5
|
import "remeda";
|
|
6
6
|
import "clsx";
|
|
7
7
|
import "../Button/styles.mjs";
|
|
8
|
-
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
9
12
|
import { LabelContainer as j, getBadgeColor as i, StyledTag as u } from "./styles.mjs";
|
|
10
|
-
const
|
|
13
|
+
const V = c(
|
|
11
14
|
({
|
|
12
15
|
color: r = "grey",
|
|
13
16
|
variant: t = "contained",
|
|
14
|
-
deleteIcon:
|
|
15
|
-
size:
|
|
16
|
-
label:
|
|
17
|
-
startAddon:
|
|
17
|
+
deleteIcon: m,
|
|
18
|
+
size: p = "small",
|
|
19
|
+
label: l,
|
|
20
|
+
startAddon: e,
|
|
18
21
|
endAddon: s,
|
|
19
|
-
...
|
|
22
|
+
...a
|
|
20
23
|
}, n) => {
|
|
21
24
|
g();
|
|
22
25
|
const x = /* @__PURE__ */ o.jsxs(j, { children: [
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
e && /* @__PURE__ */ o.jsx(
|
|
27
|
+
e,
|
|
25
28
|
{
|
|
26
29
|
color: i({
|
|
27
30
|
variant: t,
|
|
@@ -29,7 +32,7 @@ const B = c(
|
|
|
29
32
|
})
|
|
30
33
|
}
|
|
31
34
|
),
|
|
32
|
-
|
|
35
|
+
l,
|
|
33
36
|
s && /* @__PURE__ */ o.jsx(
|
|
34
37
|
s,
|
|
35
38
|
{
|
|
@@ -46,14 +49,14 @@ const B = c(
|
|
|
46
49
|
ref: n,
|
|
47
50
|
customColor: r,
|
|
48
51
|
customVariant: t,
|
|
49
|
-
customSize:
|
|
52
|
+
customSize: p,
|
|
50
53
|
label: x,
|
|
51
|
-
...
|
|
52
|
-
deleteIcon:
|
|
54
|
+
...a,
|
|
55
|
+
deleteIcon: m || /* @__PURE__ */ o.jsx(f, {})
|
|
53
56
|
}
|
|
54
57
|
);
|
|
55
58
|
}
|
|
56
59
|
);
|
|
57
60
|
export {
|
|
58
|
-
|
|
61
|
+
V as Tag
|
|
59
62
|
};
|
|
@@ -17,7 +17,7 @@ export declare const getBadgeColor: (args: {
|
|
|
17
17
|
theme: Theme;
|
|
18
18
|
}) => BadgeColor;
|
|
19
19
|
export declare const getDeleteIconColor: ({ customVariant, customColor, theme, }: StyledTagThemeProps) => string;
|
|
20
|
-
export declare const StyledTag: import('@emotion/styled').StyledComponent<import('@mui/material').ChipOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "sx" | "
|
|
20
|
+
export declare const StyledTag: import('@emotion/styled').StyledComponent<import('@mui/material').ChipOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "sx" | "disabled" | "icon" | "color" | "classes" | "className" | "style" | "children" | "variant" | "label" | "tabIndex" | "size" | "avatar" | "clickable" | "deleteIcon" | "onDelete" | "skipFocusWhenDisabled"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & StyledTagProps, {}, {}>;
|
|
21
21
|
export declare const LabelContainer: import('@emotion/styled').StyledComponent<import('../Container/styles').ContainerRootProps & {
|
|
22
22
|
style?: import('react').CSSProperties;
|
|
23
23
|
id?: string;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { styled as t } from "@mui/material";
|
|
2
|
+
import "remeda";
|
|
3
|
+
import "../../_virtual/jsx-runtime.mjs";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../Button/styles.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
2
11
|
import { Badge as o } from "../Badge/Badge.mjs";
|
|
3
|
-
const
|
|
12
|
+
const c = t(o)`
|
|
4
13
|
vertical-align: text-top;
|
|
5
14
|
|
|
6
15
|
&span.MuiBadge-badge {
|
|
@@ -12,5 +21,5 @@ const n = t(o)`
|
|
|
12
21
|
}
|
|
13
22
|
`;
|
|
14
23
|
export {
|
|
15
|
-
|
|
24
|
+
c as StyledBadge
|
|
16
25
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TagProps } from '../../Tag';
|
|
2
|
-
export declare const StyledTag: import('@emotion/styled').StyledComponent<Omit<TagProps, "ref"> & import('react').RefAttributes<HTMLDivElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Omit<import('../../types').WithoutEmotionSpecific<import('@mui/material').ChipProps>, "color" | "
|
|
2
|
+
export declare const StyledTag: import('@emotion/styled').StyledComponent<Omit<TagProps, "ref"> & import('react').RefAttributes<HTMLDivElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & Omit<import('../../types').WithoutEmotionSpecific<import('@mui/material').ChipProps>, "color" | "variant" | "size"> & {
|
|
3
3
|
color?: import('../../Tag').TagColor;
|
|
4
4
|
variant?: import('../../Tag').TagVariant;
|
|
5
5
|
rounded?: boolean;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { styled as i } from "@mui/material";
|
|
2
|
+
import "remeda";
|
|
3
|
+
import "../../../_virtual/jsx-runtime.mjs";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../../Button/styles.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
2
11
|
import { Tag as r } from "../../Tag/Tag.mjs";
|
|
3
|
-
const
|
|
12
|
+
const u = i(r, {
|
|
4
13
|
shouldForwardProp: (o) => o !== "$shrinks"
|
|
5
14
|
})`
|
|
6
15
|
min-width: ${({ $shrinks: o }) => o ? "30px" : "unset"};
|
|
@@ -13,5 +22,5 @@ const p = i(r, {
|
|
|
13
22
|
}
|
|
14
23
|
`;
|
|
15
24
|
export {
|
|
16
|
-
|
|
25
|
+
u as StyledTag
|
|
17
26
|
};
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import { styled as o } from "@mui/material";
|
|
2
|
-
|
|
2
|
+
import "remeda";
|
|
3
|
+
import "../../_virtual/jsx-runtime.mjs";
|
|
4
|
+
import "clsx";
|
|
5
|
+
import "../Button/styles.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
const n = o("div")`
|
|
3
12
|
display: flex;
|
|
4
13
|
column-gap: ${({ theme: p }) => p.spacing(1)};
|
|
5
14
|
`;
|
|
6
15
|
export {
|
|
7
|
-
|
|
16
|
+
n as Wrapper
|
|
8
17
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode, PropsWithChildren } from 'react';
|
|
2
|
+
import { Theme } from '../../theme';
|
|
3
|
+
export type ThemeProviderProps = {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Объект темы, обычно являющийся результатом `createTheme()`.
|
|
7
|
+
* Предоставленная тема будет объединена с темой по умолчанию.
|
|
8
|
+
*/
|
|
9
|
+
theme: Theme;
|
|
10
|
+
};
|
|
11
|
+
export declare const ThemeProvider: (props: PropsWithChildren<ThemeProviderProps>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { j as e } from "../../_virtual/jsx-runtime.mjs";
|
|
2
|
+
import { ThemeProvider as i, CssBaseline as m } from "@mui/material";
|
|
3
|
+
const h = (r) => {
|
|
4
|
+
const { children: o, theme: s } = r;
|
|
5
|
+
return /* @__PURE__ */ e.jsx(i, { theme: s, children: /* @__PURE__ */ e.jsx(m, { children: o }) });
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
h as ThemeProvider
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ThemeProvider';
|
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
export * from './Accordion';
|
|
2
2
|
export * from './ActionCell';
|
|
3
|
+
export * from './ActionGroup';
|
|
3
4
|
export * from './AsyncAutocomplete';
|
|
4
5
|
export * from './Autocomplete';
|
|
5
6
|
export * from './Badge';
|
|
6
7
|
export * from './BottomDrawer';
|
|
8
|
+
export * from './Breadcrumbs';
|
|
7
9
|
export * from './Button';
|
|
10
|
+
export * from './ButtonBase';
|
|
11
|
+
export * from './ButtonGroup';
|
|
12
|
+
export * from './Card';
|
|
13
|
+
export * from './CardActions';
|
|
14
|
+
export * from './CardContent';
|
|
15
|
+
export * from './CardHeader';
|
|
8
16
|
export * from './Checkbox';
|
|
9
17
|
export * from './CheckboxField';
|
|
10
18
|
export * from './Chevron';
|
|
@@ -21,6 +29,7 @@ export * from './DataGridActionCell';
|
|
|
21
29
|
export * from './DataGridPagination';
|
|
22
30
|
export * from './Description';
|
|
23
31
|
export * from './DescriptionList';
|
|
32
|
+
export * from './DescriptionTooltip';
|
|
24
33
|
export * from './Dialog';
|
|
25
34
|
export * from './DialogActions';
|
|
26
35
|
export * from './DialogContent';
|
|
@@ -46,6 +55,7 @@ export * from './ListItemButton';
|
|
|
46
55
|
export * from './ListItemIcon';
|
|
47
56
|
export * from './ListItemText';
|
|
48
57
|
export * from './ListSubheader';
|
|
58
|
+
export * from './MaskField';
|
|
49
59
|
export * from './Menu';
|
|
50
60
|
export * from './MenuItem';
|
|
51
61
|
export * from './MenuList';
|
|
@@ -64,6 +74,7 @@ export * from './RadioGroupField';
|
|
|
64
74
|
export * from './SearchField';
|
|
65
75
|
export * from './Select';
|
|
66
76
|
export * from './Skeleton';
|
|
77
|
+
export * from './Slider';
|
|
67
78
|
export * from './Switch';
|
|
68
79
|
export * from './Tab';
|
|
69
80
|
export * from './Tabs';
|
|
@@ -72,5 +83,6 @@ export * from './TagBadge';
|
|
|
72
83
|
export * from './TagsList';
|
|
73
84
|
export * from './TextArea';
|
|
74
85
|
export * from './TextField';
|
|
86
|
+
export * from './ThemeProvider';
|
|
75
87
|
export * from './Tooltip';
|
|
76
88
|
export * from './Typography';
|