@max-ts/components 0.3.1 → 0.3.3

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.
Files changed (64) hide show
  1. package/lib/components/Accordion/styles.d.ts +2 -2
  2. package/lib/components/Accordion/styles.mjs +10 -19
  3. package/lib/components/ActionCell/styles.mjs +3 -12
  4. package/lib/components/ActionGroup/MainActions/styles.mjs +4 -9
  5. package/lib/components/ActionGroup/styles.mjs +2 -11
  6. package/lib/components/Autocomplete/styles.mjs +4 -13
  7. package/lib/components/Badge/styles.d.ts +1 -1
  8. package/lib/components/BottomDrawer/styles.d.ts +3 -3
  9. package/lib/components/Button/styles.d.ts +1 -1
  10. package/lib/components/CheckboxField/styles.mjs +4 -13
  11. package/lib/components/Chevron/styles.mjs +2 -11
  12. package/lib/components/ConfirmAction/styles.d.ts +2 -2
  13. package/lib/components/ConfirmAction/styles.mjs +6 -15
  14. package/lib/components/ConfirmDialog/styles.mjs +2 -7
  15. package/lib/components/ConfirmDialog/useLogic/useLogic.d.ts +1 -1
  16. package/lib/components/ContentState/styles.mjs +2 -11
  17. package/lib/components/CopyTypography/styles.d.ts +2 -2
  18. package/lib/components/CopyTypography/styles.mjs +5 -14
  19. package/lib/components/DataGrid/Body/styles.mjs +2 -11
  20. package/lib/components/DataGrid/Cell/styles.mjs +6 -15
  21. package/lib/components/DataGrid/Head/styles.mjs +10 -19
  22. package/lib/components/DataGrid/HeadCell/styles.d.ts +2 -2
  23. package/lib/components/DataGrid/HeadCell/styles.mjs +7 -16
  24. package/lib/components/DataGrid/Row/styles.mjs +9 -18
  25. package/lib/components/DataGrid/styles.mjs +10 -19
  26. package/lib/components/DataGridActionCell/styles.mjs +3 -12
  27. package/lib/components/DataGridOld/Cell/styles.d.ts +1 -1
  28. package/lib/components/DataGridOld/HeadCell/styles.d.ts +1 -1
  29. package/lib/components/DataGridPagination/styles.d.ts +2 -2
  30. package/lib/components/DataGridPagination/styles.mjs +12 -21
  31. package/lib/components/Description/Name/styles.mjs +5 -14
  32. package/lib/components/Description/Value/styles.d.ts +4 -4
  33. package/lib/components/Description/Value/styles.mjs +6 -10
  34. package/lib/components/Description/useLogic/useLogic.d.ts +1 -1
  35. package/lib/components/DescriptionTooltip/styles.mjs +3 -12
  36. package/lib/components/DialogContentText/styles.d.ts +1 -1
  37. package/lib/components/DialogHeader/styles.mjs +12 -21
  38. package/lib/components/Filename/styles.d.ts +2 -2
  39. package/lib/components/Filename/styles.mjs +6 -15
  40. package/lib/components/FormHelperText/FormHelperTextContent/styles.mjs +16 -25
  41. package/lib/components/FormLabel/styles.d.ts +1 -1
  42. package/lib/components/IconButton/styles.mjs +13 -18
  43. package/lib/components/Link/Link.d.ts +1 -1
  44. package/lib/components/Link/styles.d.ts +1 -1
  45. package/lib/components/ListItem/styles.d.ts +1 -1
  46. package/lib/components/MenuList/styles.d.ts +1 -1
  47. package/lib/components/NavMenu/Item/ItemButton/styles.d.ts +125 -125
  48. package/lib/components/OverflowTypography/styles.d.ts +4 -4
  49. package/lib/components/OverflowTypography/styles.mjs +5 -14
  50. package/lib/components/Placeholder/styles.d.ts +4 -4
  51. package/lib/components/Placeholder/styles.mjs +21 -30
  52. package/lib/components/SearchField/styles.mjs +11 -20
  53. package/lib/components/Select/styles.d.ts +1 -1
  54. package/lib/components/Skeleton/styles.d.ts +1 -1
  55. package/lib/components/Slider/styles.d.ts +1 -1
  56. package/lib/components/Slider/styles.mjs +15 -24
  57. package/lib/components/Tab/styles.d.ts +1 -1
  58. package/lib/components/Tabs/styles.mjs +5 -14
  59. package/lib/components/Tag/styles.d.ts +1 -1
  60. package/lib/components/TagBadge/styles.mjs +2 -11
  61. package/lib/components/TagsList/Tag/styles.d.ts +1 -1
  62. package/lib/components/TagsList/Tag/styles.mjs +2 -11
  63. package/lib/components/TagsList/styles.mjs +2 -11
  64. package/package.json +1 -1
@@ -1,15 +1,6 @@
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 */
11
- import { Typography as o } from "../Typography/Typography.mjs";
12
- const h = i(o, {
2
+ import { Typography as e } from "../Typography/Typography.mjs";
3
+ const r = i(e, {
13
4
  shouldForwardProp: (t) => t !== "rowsCount" && t !== "hasMultipleRows"
14
5
  })`
15
6
  /* stylelint-disable-next-line */
@@ -23,7 +14,7 @@ const h = i(o, {
23
14
  white-space: ${({ hasMultipleRows: t }) => t ? "initial" : "nowrap"};
24
15
  -webkit-box-orient: ${({ hasMultipleRows: t }) => t ? "vertical" : ""};
25
16
  -webkit-line-clamp: ${({ rowsCount: t }) => t};
26
- `, c = i(o, {
17
+ `, p = i(e, {
27
18
  shouldForwardProp: (t) => !["$align"].includes(t.toString())
28
19
  })`
29
20
  display: flex;
@@ -34,6 +25,6 @@ const h = i(o, {
34
25
  white-space: nowrap;
35
26
  `;
36
27
  export {
37
- h as StyledTypography,
38
- c as Wrapper
28
+ r as StyledTypography,
29
+ p as Wrapper
39
30
  };
@@ -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
- children?: import('react').ReactNode;
9
8
  ref?: import('react').Ref<HTMLSpanElement> | undefined;
9
+ children?: import('react').ReactNode;
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" | "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>;
18
+ component?: "symbol" | "object" | "style" | "clipPath" | "filter" | "mask" | "path" | import('react').ComponentType<any> | "map" | "search" | "big" | "link" | "small" | "sub" | "sup" | "marker" | "svg" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "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" | "main" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "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" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view";
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
- children?: import('react').ReactNode;
23
22
  ref?: import('react').Ref<HTMLSpanElement> | undefined;
23
+ children?: import('react').ReactNode;
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" | "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>;
32
+ component?: "symbol" | "object" | "style" | "clipPath" | "filter" | "mask" | "path" | import('react').ComponentType<any> | "map" | "search" | "big" | "link" | "small" | "sub" | "sup" | "marker" | "svg" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "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" | "main" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "source" | "span" | "strong" | "summary" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "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" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "set" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view";
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,21 +1,12 @@
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
1
+ import { styled as n } from "@mui/material";
2
+ import { Typography as r } from "../Typography/Typography.mjs";
3
+ import { SIZE as a, MAX_INNER_WIDTH as i } from "./constants.mjs";
4
+ const e = (t) => t !== "$size", g = n("div", {
5
+ shouldForwardProp: e
15
6
  })`
16
7
  display: flex;
17
8
  flex-direction: column;
18
- gap: ${({ theme: t, $size: o }) => o === n.Small ? t.spacing(4) : t.spacing(6)};
9
+ gap: ${({ theme: t, $size: o }) => o === a.Small ? t.spacing(4) : t.spacing(6)};
19
10
  align-items: center;
20
11
  justify-content: center;
21
12
 
@@ -31,15 +22,15 @@ const i = (t) => t !== "$size", b = r("div", {
31
22
  grid-template-rows: 1fr max-content;
32
23
  gap: ${({ theme: t }) => t.spacing(4)};
33
24
  }
34
- `, w = r("div", {
35
- shouldForwardProp: i
25
+ `, l = n("div", {
26
+ shouldForwardProp: e
36
27
  })`
37
- max-width: ${({ $size: t }) => e[t]};
28
+ max-width: ${({ $size: t }) => i[t]};
38
29
  margin: 0 auto;
39
- `, h = r(p, {
40
- shouldForwardProp: i
30
+ `, d = n(r, {
31
+ shouldForwardProp: e
41
32
  })`
42
- margin-bottom: ${({ theme: t, $size: o }) => o === n.Small ? t.spacing(2) : t.spacing(4)};
33
+ margin-bottom: ${({ theme: t, $size: o }) => o === a.Small ? t.spacing(2) : t.spacing(4)};
43
34
 
44
35
  text-align: center;
45
36
 
@@ -50,19 +41,19 @@ const i = (t) => t !== "$size", b = r("div", {
50
41
  font-weight: ${({ theme: t }) => t.typography.fontWeightMedium};
51
42
  color: ${({ theme: t }) => t.palette.text.secondary};
52
43
  }
53
- `, k = r(p, {
54
- shouldForwardProp: i
44
+ `, m = n(r, {
45
+ shouldForwardProp: e
55
46
  })`
56
47
  display: block;
57
48
 
58
- font-size: ${({ $size: t, theme: o }) => t === n.Large ? o.typography.pxToRem(16) : o.typography.body1.fontSize};
49
+ font-size: ${({ $size: t, theme: o }) => t === a.Large ? o.typography.pxToRem(16) : o.typography.body1.fontSize};
59
50
  text-align: center;
60
51
 
61
52
  ${({ theme: t }) => t.breakpoints.down("sm")} {
62
53
  font-size: ${({ theme: t }) => t.typography.body1.fontSize};
63
54
  color: ${({ theme: t }) => t.palette.text.secondary};
64
55
  }
65
- `, z = r("footer")`
56
+ `, y = n("footer")`
66
57
  display: flex;
67
58
  flex-wrap: wrap;
68
59
  gap: ${({ theme: t }) => t.spacing(2)};
@@ -78,9 +69,9 @@ const i = (t) => t !== "$size", b = r("div", {
78
69
  }
79
70
  `;
80
71
  export {
81
- k as Description,
82
- z as Footer,
83
- w as InnerContainer,
84
- h as Title,
85
- b as Wrapper
72
+ m as Description,
73
+ y as Footer,
74
+ l as InnerContainer,
75
+ d as Title,
76
+ g as Wrapper
86
77
  };
@@ -1,19 +1,10 @@
1
- import { Search as r, X as e } from "lucide-react";
1
+ import { Search as e, X as r } from "lucide-react";
2
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
- import { IconButton as i } from "../IconButton/IconButton.mjs";
13
- import { TextField as p } from "../TextField/TextField.mjs";
14
- const F = o(r)`
3
+ import { IconButton as l } from "../IconButton/IconButton.mjs";
4
+ import { TextField as i } from "../TextField/TextField.mjs";
5
+ const d = o(e)`
15
6
  color: ${({ theme: t }) => t.palette.grey[600]};
16
- `, $ = o(i, {
7
+ `, a = o(l, {
17
8
  shouldForwardProp: (t) => !["$isActive"].includes(t.toString())
18
9
  })`
19
10
  opacity: ${({ $isActive: t }) => t ? 1 : 0};
@@ -25,18 +16,18 @@ const F = o(r)`
25
16
  stroke: ${({ theme: t }) => t.palette.grey[700]};
26
17
  }
27
18
  }
28
- `, f = o(p)`
19
+ `, m = o(i)`
29
20
  & .MuiFormHelperText-root {
30
21
  display: none;
31
22
  }
32
- `, k = o(e)`
23
+ `, y = o(r)`
33
24
  width: 16px;
34
25
  height: 16px;
35
26
  stroke: ${({ theme: t }) => t.palette.grey[500]};
36
27
  `;
37
28
  export {
38
- k as StyledCloseFillSm,
39
- $ as StyledIconButton,
40
- F as StyledSearchIcon,
41
- f as StyledTextField
29
+ y as StyledCloseFillSm,
30
+ a as StyledIconButton,
31
+ d as StyledSearchIcon,
32
+ m as StyledTextField
42
33
  };
@@ -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').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
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').HTMLAttributes<HTMLDivElement> | keyof import('react').ClassAttributes<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" | "height" | "width" | "animation" | "classes" | "className" | "style" | "children" | "variant"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
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" | "className" | "height" | "style" | "width" | "children" | "animation" | "classes" | "variant"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -1 +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>, {}, {}>;
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" | "className" | "color" | "max" | "min" | "name" | "style" | "tabIndex" | "orientation" | "scale" | "aria-label" | "aria-labelledby" | "aria-valuetext" | "onChange" | "size" | "classes" | "track" | "disabled" | "step" | "defaultValue" | "components" | "componentsProps" | "slots" | "slotProps" | "value" | "disableSwap" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "shiftStep" | "valueLabelDisplay" | "valueLabelFormat"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -1,39 +1,30 @@
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)`
1
+ import { sliderClasses as t, styled as a, Slider as r } from "@mui/material";
2
+ const l = a(r)`
12
3
  height: 5px;
13
- padding: ${({ theme: t }) => t.spacing(0)};
14
- .${r.thumb} {
15
- background-color: ${({ theme: t }) => t.palette.background.default};
4
+ padding: ${({ theme: e }) => e.spacing(0)};
5
+ .${t.thumb} {
6
+ background-color: ${({ theme: e }) => e.palette.background.default};
16
7
  height: 13px;
17
8
  width: 13px;
18
- border: 2px solid ${({ theme: t }) => t.palette.primary.main};
9
+ border: 2px solid ${({ theme: e }) => e.palette.primary.main};
19
10
  }
20
- .${r.rail} {
21
- background-color: ${({ theme: t }) => t.palette.grey[300]};
11
+ .${t.rail} {
12
+ background-color: ${({ theme: e }) => e.palette.grey[300]};
22
13
  height: 2px;
23
14
  opacity: 1;
24
15
  }
25
- .${r.track} {
16
+ .${t.track} {
26
17
  height: 2px;
27
18
  }
28
- .${r.root} {
19
+ .${t.root} {
29
20
  height: 2px;
30
21
  }
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};
22
+ .${t.valueLabel} {
23
+ background-color: ${({ theme: e }) => e.palette.background.default};
24
+ border: 1px solid ${({ theme: e }) => e.palette.secondary.main};
25
+ color: ${({ theme: e }) => e.palette.secondary.main};
35
26
  }
36
27
  `;
37
28
  export {
38
- $ as StyledSlider
29
+ l as StyledSlider
39
30
  };
@@ -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" | "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
+ 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" | "className" | "style" | "tabIndex" | "children" | "classes" | "label" | "action" | "disabled" | "value" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "icon" | "wrapped" | "iconPosition"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
@@ -1,20 +1,11 @@
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 */
11
- const x = t("div")`
2
+ const o = t("div")`
12
3
  display: flex;
13
4
  flex-direction: column;
14
5
  align-items: flex-start;
15
6
 
16
7
  width: 100%;
17
- `, c = t("div")`
8
+ `, r = t("div")`
18
9
  position: relative;
19
10
  z-index: -1;
20
11
  bottom: 2px;
@@ -22,9 +13,9 @@ const x = t("div")`
22
13
  width: 100%;
23
14
  height: 2px;
24
15
 
25
- background-color: ${(i) => i.theme.palette.grey[200]};
16
+ background-color: ${(e) => e.theme.palette.grey[200]};
26
17
  `;
27
18
  export {
28
- x as Container,
29
- c as Divider
19
+ o as Container,
20
+ r as Divider
30
21
  };
@@ -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" | "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, {}, {}>;
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" | "className" | "color" | "style" | "tabIndex" | "children" | "size" | "classes" | "label" | "disabled" | "variant" | "icon" | "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,15 +1,6 @@
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 */
11
2
  import { Badge as o } from "../Badge/Badge.mjs";
12
- const c = t(o)`
3
+ const n = t(o)`
13
4
  vertical-align: text-top;
14
5
 
15
6
  &span.MuiBadge-badge {
@@ -21,5 +12,5 @@ const c = t(o)`
21
12
  }
22
13
  `;
23
14
  export {
24
- c as StyledBadge
15
+ n as StyledBadge
25
16
  };
@@ -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" | "variant" | "size"> & {
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" | "size" | "variant"> & {
3
3
  color?: import('../../Tag').TagColor;
4
4
  variant?: import('../../Tag').TagVariant;
5
5
  rounded?: boolean;
@@ -1,15 +1,6 @@
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 */
11
2
  import { Tag as r } from "../../Tag/Tag.mjs";
12
- const u = i(r, {
3
+ const p = i(r, {
13
4
  shouldForwardProp: (o) => o !== "$shrinks"
14
5
  })`
15
6
  min-width: ${({ $shrinks: o }) => o ? "30px" : "unset"};
@@ -22,5 +13,5 @@ const u = i(r, {
22
13
  }
23
14
  `;
24
15
  export {
25
- u as StyledTag
16
+ p as StyledTag
26
17
  };
@@ -1,17 +1,8 @@
1
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 n = o("div")`
2
+ const a = o("div")`
12
3
  display: flex;
13
4
  column-gap: ${({ theme: p }) => p.spacing(1)};
14
5
  `;
15
6
  export {
16
- n as Wrapper
7
+ a as Wrapper
17
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@max-ts/components",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "browser": "./src/index.ts",
5
5
  "main": "./src/index.ts",
6
6
  "module": "./src/index.ts",