@max-ts/components 0.3.3 → 0.3.4
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/styles.mjs +12 -3
- package/lib/components/ActionGroup/MainActions/styles.mjs +9 -4
- package/lib/components/ActionGroup/styles.mjs +11 -2
- 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/Button/styles.d.ts +1 -1
- package/lib/components/CheckboxField/styles.mjs +13 -4
- package/lib/components/Chevron/styles.mjs +11 -2
- 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/ContentState/styles.mjs +11 -2
- package/lib/components/CopyTypography/styles.d.ts +2 -2
- package/lib/components/CopyTypography/styles.mjs +14 -5
- 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 +4 -4
- package/lib/components/Description/Value/styles.mjs +10 -6
- package/lib/components/Description/useLogic/useLogic.d.ts +1 -1
- package/lib/components/DescriptionList/DescriptionList.mjs +5 -10
- package/lib/components/DescriptionList/styles.d.ts +1 -1
- package/lib/components/DescriptionList/styles.mjs +8 -6
- package/lib/components/DescriptionTooltip/styles.mjs +12 -3
- 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/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/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/Slider/styles.d.ts +1 -1
- package/lib/components/Slider/styles.mjs +24 -15
- package/lib/components/Tab/styles.d.ts +1 -1
- package/lib/components/Tabs/styles.mjs +14 -5
- 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/index.mjs +200 -199
- package/lib/theme/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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
|
};
|
|
@@ -8,8 +8,8 @@ type StyledCopyTypographyProps = {
|
|
|
8
8
|
$direction: string;
|
|
9
9
|
};
|
|
10
10
|
export declare const StyledTypography: import('@emotion/styled').StyledComponent<{
|
|
11
|
-
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
12
11
|
children?: import('react').ReactNode;
|
|
12
|
+
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
13
13
|
align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
|
|
14
14
|
gutterBottom?: boolean | undefined;
|
|
15
15
|
noWrap?: boolean | undefined;
|
|
@@ -18,12 +18,12 @@ export declare const StyledTypography: import('@emotion/styled').StyledComponent
|
|
|
18
18
|
color?: import('../..').TypographyColor;
|
|
19
19
|
variant?: import('../..').TypographyVariant;
|
|
20
20
|
colorIntensity?: import('../..').Intensity;
|
|
21
|
-
component?: "symbol" | "object" | "
|
|
21
|
+
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>;
|
|
22
22
|
isUpperCase?: boolean;
|
|
23
23
|
} & import('react').HTMLAttributes<HTMLParagraphElement> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & StyledTypographyProps, {}, {}>;
|
|
24
24
|
export declare const StyledCopyTypography: import('@emotion/styled').StyledComponent<{
|
|
25
|
-
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
26
25
|
children?: import('react').ReactNode;
|
|
26
|
+
ref?: import('react').Ref<HTMLSpanElement> | undefined;
|
|
27
27
|
align?: "inherit" | "left" | "center" | "right" | "justify" | undefined;
|
|
28
28
|
gutterBottom?: boolean | undefined;
|
|
29
29
|
noWrap?: boolean | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const StyledCopyTypography: import('@emotion/styled').StyledCompo
|
|
|
32
32
|
color?: import('../..').TypographyColor;
|
|
33
33
|
variant?: import('../..').TypographyVariant;
|
|
34
34
|
colorIntensity?: import('../..').Intensity;
|
|
35
|
-
component?: "symbol" | "object" | "
|
|
35
|
+
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>;
|
|
36
36
|
isUpperCase?: boolean;
|
|
37
37
|
} & import('react').HTMLAttributes<HTMLParagraphElement> & {
|
|
38
38
|
copyText?: string;
|
|
@@ -70,7 +70,11 @@ import "../../Switch/Switch.mjs";
|
|
|
70
70
|
import "../../Tab/styles.mjs";
|
|
71
71
|
import "../../Tabs/styles.mjs";
|
|
72
72
|
import "../../TagBadge/styles.mjs";
|
|
73
|
-
|
|
73
|
+
/* empty css */
|
|
74
|
+
/* empty css */
|
|
75
|
+
/* empty css */
|
|
76
|
+
/* empty css */
|
|
77
|
+
const Fo = r(t, {
|
|
74
78
|
shouldForwardProp: (o) => !["$canCopy", "$leader", "$direction"].includes(o.toString())
|
|
75
79
|
})`
|
|
76
80
|
cursor: ${({ $canCopy: o }) => o ? "pointer" : "default"};
|
|
@@ -88,7 +92,7 @@ const ko = r(t, {
|
|
|
88
92
|
&:hover {
|
|
89
93
|
text-decoration: ${({ $canCopy: o }) => o ? "underline" : "none"};
|
|
90
94
|
}
|
|
91
|
-
`,
|
|
95
|
+
`, Po = r(i, {
|
|
92
96
|
shouldForwardProp: (o) => !["$leader", "$direction"].includes(o.toString())
|
|
93
97
|
})`
|
|
94
98
|
display: unset;
|
|
@@ -104,13 +108,13 @@ const ko = r(t, {
|
|
|
104
108
|
& > svg {
|
|
105
109
|
margin-bottom: ${({ theme: o }) => o.spacing(-1)};
|
|
106
110
|
}
|
|
107
|
-
`,
|
|
111
|
+
`, Wo = r("dd")`
|
|
108
112
|
overflow: hidden;
|
|
109
113
|
|
|
110
114
|
margin: 0;
|
|
111
115
|
`;
|
|
112
116
|
export {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
117
|
+
Po as StyledCopyTypography,
|
|
118
|
+
Fo as StyledTypography,
|
|
119
|
+
Wo as Wrapper
|
|
116
120
|
};
|
|
@@ -4,7 +4,7 @@ import { Description as a } from "../Description/Description.mjs";
|
|
|
4
4
|
import { GuidTypography as g } from "../GuidTypography/GuidTypography.mjs";
|
|
5
5
|
import { Tag as $ } from "../Tag/Tag.mjs";
|
|
6
6
|
import { Typography as T } from "../Typography/Typography.mjs";
|
|
7
|
-
import { StyledDescriptionValue as D, Wrapper as V, ListWrapper as W,
|
|
7
|
+
import { StyledDescriptionValue as D, Wrapper as V, ListWrapper as W, StyledDescription as C } from "./styles.mjs";
|
|
8
8
|
import { getTooltipProps as b } from "./utils/getTooltipProps/getTooltipProps.mjs";
|
|
9
9
|
const N = ({
|
|
10
10
|
items: d,
|
|
@@ -51,20 +51,15 @@ const N = ({
|
|
|
51
51
|
/* @__PURE__ */ r.jsx(W, { $direction: p, children: d.map(({ name: t, value: o, options: s }) => {
|
|
52
52
|
const { nameMaxWidth: n, ...i } = s || {};
|
|
53
53
|
return /* @__PURE__ */ r.jsxs(
|
|
54
|
-
|
|
54
|
+
C,
|
|
55
55
|
{
|
|
56
56
|
direction: p,
|
|
57
57
|
...x,
|
|
58
58
|
component: "div",
|
|
59
|
+
$nameMaxWidth: n,
|
|
60
|
+
$direction: p,
|
|
59
61
|
children: [
|
|
60
|
-
/* @__PURE__ */ r.jsx(
|
|
61
|
-
C,
|
|
62
|
-
{
|
|
63
|
-
$nameMaxWidth: n,
|
|
64
|
-
$direction: p,
|
|
65
|
-
children: t
|
|
66
|
-
}
|
|
67
|
-
),
|
|
62
|
+
/* @__PURE__ */ r.jsx(a.Name, { children: t }),
|
|
68
63
|
h(o, i)
|
|
69
64
|
]
|
|
70
65
|
},
|
|
@@ -4,7 +4,7 @@ type DescriptionNameProps = {
|
|
|
4
4
|
$direction?: Direction;
|
|
5
5
|
};
|
|
6
6
|
type DescriptionListVariant = 'contained' | 'default';
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const StyledDescription: import('@emotion/styled').StyledComponent<import('../Description').DescriptionProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & DescriptionNameProps, {}, {}>;
|
|
8
8
|
export declare const Wrapper: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme> & {
|
|
9
9
|
$variant: DescriptionListVariant;
|
|
10
10
|
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
@@ -9,14 +9,16 @@ import "react";
|
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
11
|
import { Description as t } from "../Description/Description.mjs";
|
|
12
|
-
const u = i(t
|
|
12
|
+
const u = i(t, {
|
|
13
13
|
shouldForwardProp: (o) => !["$nameMaxWidth, $direction"].includes(o.toString())
|
|
14
14
|
})`
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
dt {
|
|
16
|
+
max-width: ${({ $nameMaxWidth: o }) => o || "none"};
|
|
17
|
+
margin-bottom: ${({ theme: o, $direction: r }) => Object.is(r, "column") ? o.spacing(1) : 0};
|
|
17
18
|
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
${({ theme: o }) => o.breakpoints.down("sm")} {
|
|
20
|
+
margin-bottom: ${({ theme: o, $direction: r }) => Object.is(r, "row") ? 0 : o.spacing(1)};
|
|
21
|
+
}
|
|
20
22
|
}
|
|
21
23
|
`, w = i("article", {
|
|
22
24
|
shouldForwardProp: (o) => !["$variant"].includes(o.toString())
|
|
@@ -49,7 +51,7 @@ const u = i(t.Name, {
|
|
|
49
51
|
`;
|
|
50
52
|
export {
|
|
51
53
|
b as ListWrapper,
|
|
52
|
-
u as
|
|
54
|
+
u as StyledDescription,
|
|
53
55
|
y as StyledDescriptionValue,
|
|
54
56
|
w as Wrapper
|
|
55
57
|
};
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { tooltipClasses as t, styled as p } from "@mui/material";
|
|
2
|
-
import
|
|
3
|
-
|
|
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 { Tooltip as i } from "../Tooltip/Tooltip.mjs";
|
|
12
|
+
const n = p(i)`
|
|
4
13
|
.${t.tooltip} {
|
|
5
14
|
background-color: ${({ theme: o }) => o.palette.common.white};
|
|
6
15
|
color: ${({ theme: o }) => o.palette.text.primary};
|
|
@@ -13,5 +22,5 @@ const d = p(a)`
|
|
|
13
22
|
}
|
|
14
23
|
`;
|
|
15
24
|
export {
|
|
16
|
-
|
|
25
|
+
n as StyledTooltip
|
|
17
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const StyledDialogContentText: import('@emotion/styled').StyledComponent<import('@mui/material').DialogContentTextOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "sx" | "
|
|
1
|
+
export declare const StyledDialogContentText: import('@emotion/styled').StyledComponent<import('@mui/material').DialogContentTextOwnProps & import('@mui/material/OverridableComponent').CommonProps & Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "sx" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "lineHeight" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "marginBlock" | "marginInline" | "overflow" | "padding" | "paddingBlock" | "paddingInline" | "classes" | "className" | "style" | "children" | "variant" | "p" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "typography" | "displayPrint" | "align" | "gutterBottom" | "noWrap" | "paragraph" | "variantMapping"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -1,31 +1,40 @@
|
|
|
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 s = i("div", {
|
|
3
12
|
label: "DialogHeader-root",
|
|
4
|
-
shouldForwardProp: (
|
|
13
|
+
shouldForwardProp: (t) => !["hasTitle", "hasOnClose"].includes(t.toString())
|
|
5
14
|
})`
|
|
6
15
|
overflow: hidden;
|
|
7
16
|
display: grid;
|
|
8
|
-
grid-template-columns: ${({ hasTitle:
|
|
9
|
-
column-gap: ${({ theme:
|
|
17
|
+
grid-template-columns: ${({ hasTitle: t, hasOnClose: r }) => t && r ? "max-content 1fr 32px" : t ? "max-content 1fr" : r ? "1fr 32px" : "1fr"};
|
|
18
|
+
column-gap: ${({ theme: t }) => t.spacing(2)};
|
|
10
19
|
align-items: center;
|
|
11
20
|
|
|
12
21
|
height: auto;
|
|
13
|
-
padding: ${({ theme:
|
|
14
|
-
`,
|
|
15
|
-
shouldForwardProp: (
|
|
22
|
+
padding: ${({ theme: t }) => t.spacing(4, 6)};
|
|
23
|
+
`, u = i("div", {
|
|
24
|
+
shouldForwardProp: (t) => !["justifyContent", "columnSpacing"].includes(t.toString()),
|
|
16
25
|
label: "DialogHeader-content"
|
|
17
26
|
})`
|
|
18
27
|
overflow: hidden;
|
|
19
28
|
display: flex;
|
|
20
|
-
column-gap: ${({ columnSpacing:
|
|
29
|
+
column-gap: ${({ columnSpacing: t, theme: r }) => r.spacing(t)};
|
|
21
30
|
align-items: center;
|
|
22
|
-
justify-content: ${({ justifyContent:
|
|
31
|
+
justify-content: ${({ justifyContent: t }) => t};
|
|
23
32
|
|
|
24
33
|
width: 100%;
|
|
25
34
|
height: 100%;
|
|
26
35
|
padding: 0;
|
|
27
36
|
`;
|
|
28
37
|
export {
|
|
29
|
-
|
|
30
|
-
|
|
38
|
+
u as HeaderContent,
|
|
39
|
+
s as Wrapper
|
|
31
40
|
};
|