@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
|
@@ -3,7 +3,7 @@ type UseLogicParams = ConfirmDialogProps;
|
|
|
3
3
|
export declare const useLogic: ({ actions, onClose }: UseLogicParams) => {
|
|
4
4
|
isShowCancelButton: boolean;
|
|
5
5
|
cancelButtonProps: {
|
|
6
|
-
variant: "
|
|
6
|
+
variant: "text" | "light" | "link" | "contained";
|
|
7
7
|
onClick: import('react').MouseEventHandler<HTMLButtonElement>;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -11,6 +11,7 @@ export type ContainerRootProps = {
|
|
|
11
11
|
templateAreas?: CSSProperties['gridTemplateAreas'];
|
|
12
12
|
templateColumns?: CSSProperties['gridTemplateColumns'];
|
|
13
13
|
templateRows?: CSSProperties['gridTemplateRows'];
|
|
14
|
+
placeItems?: CSSProperties['placeItems'];
|
|
14
15
|
children?: ReactNode;
|
|
15
16
|
padding?: string | number;
|
|
16
17
|
margin?: string | number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const i =
|
|
1
|
+
import { styled as n } from "@mui/material";
|
|
2
|
+
const i = n("div", {
|
|
3
3
|
shouldForwardProp: (e) => ![
|
|
4
4
|
"variant",
|
|
5
5
|
"direction",
|
|
@@ -16,19 +16,21 @@ const i = o("div", {
|
|
|
16
16
|
"templateRows",
|
|
17
17
|
"isPaper",
|
|
18
18
|
"elevation",
|
|
19
|
-
"borderRadius"
|
|
19
|
+
"borderRadius",
|
|
20
|
+
"placeItems"
|
|
20
21
|
].includes(e.toString()),
|
|
21
22
|
label: "Container"
|
|
22
23
|
})`
|
|
23
24
|
display: ${({
|
|
24
25
|
variant: e = "flex",
|
|
25
|
-
templateAreas:
|
|
26
|
-
templateColumns:
|
|
27
|
-
templateRows: t
|
|
28
|
-
|
|
26
|
+
templateAreas: a,
|
|
27
|
+
templateColumns: r,
|
|
28
|
+
templateRows: t,
|
|
29
|
+
placeItems: o
|
|
30
|
+
}) => [t, r, a, o].some(Boolean) ? "grid" : e};
|
|
29
31
|
flex-direction: ${({ direction: e = "row" }) => e};
|
|
30
32
|
flex-wrap: ${({ direction: e = "row" }) => e === "row" ? "nowrap" : "wrap"};
|
|
31
|
-
gap: ${({ gap: e = 2, theme:
|
|
33
|
+
gap: ${({ gap: e = 2, theme: a }) => a.spacing(e)};
|
|
32
34
|
width: ${({ width: e }) => typeof e == "number" ? `${e}px` : e};
|
|
33
35
|
height: ${({ height: e }) => typeof e == "number" ? `${e}px` : e};
|
|
34
36
|
justify-content: ${({ justifyContent: e = "flex-start" }) => e};
|
|
@@ -37,11 +39,12 @@ const i = o("div", {
|
|
|
37
39
|
grid-template-areas: ${({ templateAreas: e }) => e};
|
|
38
40
|
grid-template-columns: ${({ templateColumns: e }) => e};
|
|
39
41
|
grid-template-rows: ${({ templateRows: e }) => e};
|
|
40
|
-
box-shadow: ${({ theme: e, elevation:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
box-shadow: ${({ theme: e, elevation: a = 0 }) => e.shadows[a]};
|
|
43
|
+
place-items: ${({ placeItems: e }) => e};
|
|
44
|
+
border-radius: ${({ theme: e, borderRadius: a = 4 }) => e.spacing(a)}px;
|
|
45
|
+
background-color: ${({ theme: e, isPaper: a }) => a ? e.palette.background.paper : "transparent"};
|
|
46
|
+
padding: ${({ padding: e, theme: a }) => typeof e == "number" ? a.spacing(e) : e};
|
|
47
|
+
margin: ${({ margin: e, theme: a }) => typeof e == "number" ? a.spacing(e) : e};
|
|
45
48
|
`;
|
|
46
49
|
export {
|
|
47
50
|
i as ContainerRoot
|
|
@@ -1,5 +1,14 @@
|
|
|
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 a = t("div")`
|
|
3
12
|
display: flex;
|
|
4
13
|
flex-grow: 1;
|
|
5
14
|
align-items: center;
|
|
@@ -9,5 +18,5 @@ const i = t("div")`
|
|
|
9
18
|
height: 100%;
|
|
10
19
|
`;
|
|
11
20
|
export {
|
|
12
|
-
|
|
21
|
+
a as LoadingContainer
|
|
13
22
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const Wrapper: import('@emotion/styled').StyledComponent<{
|
|
2
|
-
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
3
2
|
children?: import('react').ReactNode;
|
|
3
|
+
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
4
4
|
align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
|
|
5
5
|
gutterBottom?: boolean | undefined;
|
|
6
6
|
noWrap?: boolean | undefined;
|
|
@@ -9,7 +9,7 @@ export declare const Wrapper: import('@emotion/styled').StyledComponent<{
|
|
|
9
9
|
color?: import('../Typography').TypographyColor;
|
|
10
10
|
variant?: import('../Typography').TypographyVariant;
|
|
11
11
|
colorIntensity?: import('../Typography').Intensity;
|
|
12
|
-
component?: "symbol" | "object" | "
|
|
12
|
+
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>;
|
|
13
13
|
isUpperCase?: boolean;
|
|
14
14
|
} & import('react').HTMLAttributes<HTMLParagraphElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
15
15
|
export declare const StyledCopyIcon: import('@emotion/styled').StyledComponent<Omit<import('lucide-react').LucideProps, "ref"> & import('react').RefAttributes<SVGSVGElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
import { styled as t } from "@mui/material";
|
|
2
1
|
import { Copy as i } from "lucide-react";
|
|
3
|
-
import {
|
|
4
|
-
|
|
2
|
+
import { styled as t } from "@mui/material";
|
|
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 { Typography as p } from "../Typography/Typography.mjs";
|
|
13
|
+
const x = t(p)`
|
|
5
14
|
cursor: pointer;
|
|
6
15
|
|
|
7
16
|
display: flex;
|
|
@@ -10,7 +19,7 @@ const s = t(e)`
|
|
|
10
19
|
&:hover {
|
|
11
20
|
text-decoration: underline;
|
|
12
21
|
}
|
|
13
|
-
`,
|
|
22
|
+
`, u = t(i, {
|
|
14
23
|
shouldForwardProp: (o) => !["$copyPosition"].includes(o.toString())
|
|
15
24
|
})`
|
|
16
25
|
margin-right: ${({ $copyPosition: o, theme: r }) => o === "left" ? r.spacing(1) : ""};
|
|
@@ -22,6 +31,6 @@ const s = t(e)`
|
|
|
22
31
|
fill: ${({ color: o }) => o};
|
|
23
32
|
`;
|
|
24
33
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
u as StyledCopyIcon,
|
|
35
|
+
x as Wrapper
|
|
27
36
|
};
|
|
@@ -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 { MIN_ROW_HEIGHT as i } from "../constants.mjs";
|
|
3
|
-
const
|
|
12
|
+
const $ = t("ul", {
|
|
4
13
|
shouldForwardProp: (o) => !["$isEmpty", "$minDisplayRows"].includes(o.toString())
|
|
5
14
|
})`
|
|
6
15
|
overflow-y: auto;
|
|
@@ -12,5 +21,5 @@ const s = t("ul", {
|
|
|
12
21
|
list-style-type: none;
|
|
13
22
|
`;
|
|
14
23
|
export {
|
|
15
|
-
|
|
24
|
+
$ as Wrapper
|
|
16
25
|
};
|
|
@@ -1,19 +1,28 @@
|
|
|
1
1
|
import { styled as o } from "@mui/material";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
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 { MIN_ROW_HEIGHT as r } from "../constants.mjs";
|
|
12
|
+
import { alignToJustifyContent as p } from "../utils/alignToJustifyContent/alignToJustifyContent.mjs";
|
|
13
|
+
const h = o("div", {
|
|
5
14
|
shouldForwardProp: (i) => !["$align", "$isDisabled", "$hasStartAdornment"].includes(i.toString())
|
|
6
15
|
})`
|
|
7
16
|
overflow: hidden;
|
|
8
17
|
display: flex;
|
|
9
18
|
align-items: center;
|
|
10
|
-
justify-content: ${({ $align: i }) =>
|
|
19
|
+
justify-content: ${({ $align: i }) => p(i)};
|
|
11
20
|
|
|
12
|
-
min-height: ${
|
|
21
|
+
min-height: ${r}px;
|
|
13
22
|
padding: ${({ theme: i, $hasStartAdornment: t }) => t ? i.spacing(1, 2, 1, 0) : i.spacing(1, 2)};
|
|
14
23
|
|
|
15
24
|
opacity: ${({ $isDisabled: i }) => i ? 0.5 : 1};
|
|
16
25
|
`;
|
|
17
26
|
export {
|
|
18
|
-
|
|
27
|
+
h as Wrapper
|
|
19
28
|
};
|
|
@@ -1,20 +1,29 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
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 { ROOT_ACTION_CELL_WIDTH as o } from "../constants.mjs";
|
|
12
|
+
const u = r("header", {
|
|
13
|
+
shouldForwardProp: (t) => !["$gridColumns"].includes(t.toString())
|
|
5
14
|
})`
|
|
6
15
|
display: grid;
|
|
7
|
-
grid-template-columns: ${({ $gridColumns:
|
|
16
|
+
grid-template-columns: ${({ $gridColumns: t }) => t};
|
|
8
17
|
|
|
9
|
-
border-bottom: 2px solid ${({ theme:
|
|
10
|
-
`,
|
|
18
|
+
border-bottom: 2px solid ${({ theme: t }) => t.palette.divider};
|
|
19
|
+
`, x = r("div")`
|
|
11
20
|
display: flex;
|
|
12
21
|
align-items: center;
|
|
13
22
|
justify-content: center;
|
|
14
23
|
|
|
15
|
-
width: ${
|
|
24
|
+
width: ${o}px;
|
|
16
25
|
`;
|
|
17
26
|
export {
|
|
18
|
-
|
|
19
|
-
|
|
27
|
+
x as CheckboxCell,
|
|
28
|
+
u as Wrapper
|
|
20
29
|
};
|
|
@@ -6,8 +6,8 @@ type HeadCellProps = {
|
|
|
6
6
|
};
|
|
7
7
|
export declare const Wrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & HeadCellProps, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
8
|
export declare const StyledTypography: import('@emotion/styled').StyledComponent<{
|
|
9
|
-
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
10
9
|
children?: import('react').ReactNode;
|
|
10
|
+
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
11
11
|
align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
|
|
12
12
|
gutterBottom?: boolean | undefined;
|
|
13
13
|
noWrap?: boolean | undefined;
|
|
@@ -16,7 +16,7 @@ export declare const StyledTypography: import('@emotion/styled').StyledComponent
|
|
|
16
16
|
color?: import('../../Typography').TypographyColor;
|
|
17
17
|
variant?: import('../../Typography').TypographyVariant;
|
|
18
18
|
colorIntensity?: import('../../Typography').Intensity;
|
|
19
|
-
component?: "symbol" | "object" | "
|
|
19
|
+
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>;
|
|
20
20
|
isUpperCase?: boolean;
|
|
21
21
|
} & import('react').HTMLAttributes<HTMLParagraphElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
22
22
|
export {};
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { styled as i } from "@mui/material";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
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 o } from "../../Typography/Typography.mjs";
|
|
12
|
+
import { alignToJustifyContent as p } from "../utils/alignToJustifyContent/alignToJustifyContent.mjs";
|
|
13
|
+
const f = i("div", {
|
|
5
14
|
shouldForwardProp: (t) => !["$align", "$isSortable", "$hasStartAdornment"].includes(t.toString())
|
|
6
15
|
})`
|
|
7
16
|
cursor: ${({ $isSortable: t }) => t ? "pointer" : "initial"};
|
|
@@ -9,13 +18,13 @@ const s = i("div", {
|
|
|
9
18
|
|
|
10
19
|
display: flex;
|
|
11
20
|
align-items: center;
|
|
12
|
-
justify-content: ${({ $align: t }) =>
|
|
21
|
+
justify-content: ${({ $align: t }) => p(t)};
|
|
13
22
|
|
|
14
23
|
height: 40px;
|
|
15
24
|
padding: ${({ theme: t, $hasStartAdornment: r }) => r ? t.spacing(1, 2, 1, 0) : t.spacing(1, 2)};
|
|
16
25
|
|
|
17
26
|
color: ${({ theme: t }) => t.palette.grey[700]};
|
|
18
|
-
`,
|
|
27
|
+
`, u = i(o)`
|
|
19
28
|
display: flex;
|
|
20
29
|
align-items: center;
|
|
21
30
|
gap: ${({ theme: t }) => t.spacing(1)};
|
|
@@ -26,6 +35,6 @@ const s = i("div", {
|
|
|
26
35
|
}
|
|
27
36
|
`;
|
|
28
37
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
38
|
+
u as StyledTypography,
|
|
39
|
+
f as Wrapper
|
|
31
40
|
};
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
-
import { ROOT_ACTION_CELL_WIDTH as
|
|
2
|
-
import { styled as
|
|
3
|
-
|
|
1
|
+
import { ROOT_ACTION_CELL_WIDTH as e } from "../constants.mjs";
|
|
2
|
+
import { styled as o } from "@mui/material";
|
|
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
|
+
const g = o("li")`
|
|
4
13
|
position: relative;
|
|
5
14
|
&:not(:last-of-type)::before,
|
|
6
|
-
`,
|
|
15
|
+
`, b = o("div")`
|
|
7
16
|
position: relative;
|
|
8
17
|
|
|
9
18
|
display: grid;
|
|
@@ -20,16 +29,16 @@ const a = e("li")`
|
|
|
20
29
|
|
|
21
30
|
background-color: ${({ theme: t, $isHovered: r }) => r ? t.palette.background.elementHover : "transparent"};
|
|
22
31
|
}
|
|
23
|
-
`,
|
|
32
|
+
`, v = o("div")`
|
|
24
33
|
display: flex;
|
|
25
34
|
align-items: center;
|
|
26
35
|
align-self: center;
|
|
27
36
|
justify-content: center;
|
|
28
37
|
|
|
29
|
-
width: ${
|
|
38
|
+
width: ${e}px;
|
|
30
39
|
`;
|
|
31
40
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
41
|
+
v as CheckboxCell,
|
|
42
|
+
b as ContentWrapper,
|
|
43
|
+
g as Wrapper
|
|
35
44
|
};
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { styled as o } 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 c = o("div", {
|
|
12
|
+
shouldForwardProp: (i) => i !== "$maxHeight"
|
|
4
13
|
})`
|
|
5
14
|
position: relative;
|
|
6
15
|
|
|
@@ -10,21 +19,21 @@ const n = i("div", {
|
|
|
10
19
|
|
|
11
20
|
width: 100%;
|
|
12
21
|
height: 100%;
|
|
13
|
-
max-height: ${({ $maxHeight:
|
|
14
|
-
`,
|
|
22
|
+
max-height: ${({ $maxHeight: i }) => i ? `${i}px` : "initial"};
|
|
23
|
+
`, t = o("div")`
|
|
15
24
|
overflow: hidden;
|
|
16
25
|
display: flex;
|
|
17
26
|
flex-direction: column;
|
|
18
27
|
|
|
19
28
|
height: 100%;
|
|
20
|
-
`,
|
|
29
|
+
`, x = o(t)`
|
|
21
30
|
pointer-events: none;
|
|
22
31
|
|
|
23
|
-
background: ${({ theme:
|
|
32
|
+
background: ${({ theme: i }) => i.palette.background.element};
|
|
24
33
|
mix-blend-mode: luminosity;
|
|
25
34
|
`;
|
|
26
35
|
export {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
36
|
+
c as Container,
|
|
37
|
+
t as DataGridWrapper,
|
|
38
|
+
x as DisabledDataGridWrapper
|
|
30
39
|
};
|
|
@@ -1,8 +1,17 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
|
|
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 */
|
|
11
|
+
const d = i("div")`
|
|
3
12
|
display: inline-flex;
|
|
4
13
|
align-items: center;
|
|
5
14
|
`;
|
|
6
15
|
export {
|
|
7
|
-
|
|
16
|
+
d as Wrapper
|
|
8
17
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const StyledCell: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
2
2
|
$align?: "left" | "center" | "right" | "justify";
|
|
3
3
|
$disabled?: boolean;
|
|
4
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
4
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const StyledHeadCell: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
2
2
|
$align?: "left" | "center" | "right" | "justify";
|
|
3
|
-
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').
|
|
3
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const PaginationWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2
2
|
export declare const Range: import('@emotion/styled').StyledComponent<{
|
|
3
|
-
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
4
3
|
children?: import('react').ReactNode;
|
|
4
|
+
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
5
5
|
align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
|
|
6
6
|
gutterBottom?: boolean | undefined;
|
|
7
7
|
noWrap?: boolean | undefined;
|
|
@@ -10,7 +10,7 @@ export declare const Range: import('@emotion/styled').StyledComponent<{
|
|
|
10
10
|
color?: import('../Typography').TypographyColor;
|
|
11
11
|
variant?: import('../Typography').TypographyVariant;
|
|
12
12
|
colorIntensity?: import('../Typography').Intensity;
|
|
13
|
-
component?: "symbol" | "object" | "
|
|
13
|
+
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>;
|
|
14
14
|
isUpperCase?: boolean;
|
|
15
15
|
} & import('react').HTMLAttributes<HTMLParagraphElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
16
16
|
export declare const RangeWrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,25 +1,34 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { styled as o, formControlClasses 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 */
|
|
11
|
+
import { Typography as p } from "../Typography/Typography.mjs";
|
|
12
|
+
const y = o("div")`
|
|
4
13
|
display: flex;
|
|
5
14
|
align-items: center;
|
|
6
15
|
justify-content: space-between;
|
|
7
16
|
|
|
8
17
|
height: 48px;
|
|
9
|
-
padding-top: ${({ theme:
|
|
10
|
-
`,
|
|
11
|
-
color: ${({ theme:
|
|
12
|
-
`,
|
|
18
|
+
padding-top: ${({ theme: t }) => t.spacing(4)};
|
|
19
|
+
`, x = o(p)`
|
|
20
|
+
color: ${({ theme: t }) => t.palette.grey[700]};
|
|
21
|
+
`, $ = o("div")`
|
|
13
22
|
display: flex;
|
|
14
|
-
gap: ${({ theme:
|
|
23
|
+
gap: ${({ theme: t }) => t.spacing(3)};
|
|
15
24
|
align-items: center;
|
|
16
25
|
|
|
17
|
-
.${
|
|
26
|
+
.${i.root} {
|
|
18
27
|
flex-direction: unset;
|
|
19
28
|
}
|
|
20
29
|
`;
|
|
21
30
|
export {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
31
|
+
y as PaginationWrapper,
|
|
32
|
+
x as Range,
|
|
33
|
+
$ as RangeWrapper
|
|
25
34
|
};
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
|
|
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 */
|
|
11
|
+
const l = t("dt", {
|
|
3
12
|
shouldForwardProp: (r) => r !== "$leader"
|
|
4
13
|
})`
|
|
5
14
|
flex-shrink: 0;
|
|
6
15
|
|
|
7
16
|
max-width: ${({ $leader: r }) => r ? "calc(100% - 36px)" : "calc(100% - 12px)"};
|
|
8
17
|
margin-right: ${({ theme: r }) => r.spacing(2)};
|
|
9
|
-
`,
|
|
18
|
+
`, x = t("div")`
|
|
10
19
|
flex: 1;
|
|
11
20
|
|
|
12
21
|
min-width: 12px;
|
|
@@ -20,6 +29,6 @@ const t = a("dt", {
|
|
|
20
29
|
}
|
|
21
30
|
`;
|
|
22
31
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
32
|
+
x as DashedSeparator,
|
|
33
|
+
l as Wrapper
|
|
25
34
|
};
|