@zesty-io/material 0.3.1 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { SvgIconProps } from "@mui/material";
3
+ export declare const FlipHorizontal: (props: SvgIconProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { SvgIcon } from "@mui/material";
3
+ export const FlipHorizontal = (props) => (_jsx(SvgIcon, { ...props, children: _jsx("path", { d: "M21.4538 18.7918C21.372 18.9171 21.2603 19.02 21.1287 19.0912C20.9971 19.1625 20.8498 19.1998 20.7002 19.1998H14.1002C13.8615 19.1998 13.6326 19.105 13.4638 18.9362C13.295 18.7674 13.2002 18.5385 13.2002 18.2998V3.29978C13.1999 3.093 13.2708 2.89242 13.401 2.73177C13.5312 2.57112 13.7127 2.46021 13.9151 2.41768C14.1174 2.37515 14.3283 2.4036 14.5121 2.49825C14.696 2.5929 14.8416 2.74797 14.9246 2.93738L21.5246 17.9374C21.5848 18.0744 21.6098 18.2244 21.5975 18.3736C21.5851 18.5227 21.5357 18.6665 21.4538 18.7918ZM15.0002 7.58018V17.3998H19.3202L15.0002 7.58018ZM3.00019 19.1998C2.89942 19.1998 2.80027 19.1745 2.71188 19.1261C2.62348 19.0778 2.54869 19.0079 2.49441 18.923C2.44013 18.8381 2.4081 18.7409 2.40128 18.6404C2.39446 18.5399 2.41307 18.4392 2.45539 18.3478L9.65539 2.74778C9.71271 2.62354 9.81078 2.52263 9.93333 2.46177C10.0559 2.40092 10.1955 2.38378 10.3292 2.41319C10.4628 2.44261 10.5824 2.51681 10.668 2.6235C10.7537 2.73019 10.8003 2.86295 10.8002 2.99978V18.5998C10.8002 18.7589 10.737 18.9115 10.6245 19.024C10.5119 19.1366 10.3593 19.1998 10.2002 19.1998H3.00019Z", fill: "currentColor" }) }));
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { SvgIconProps } from "@mui/material";
3
+ export declare const FlipVertical: (props: SvgIconProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { SvgIcon } from "@mui/material";
3
+ export const FlipVertical = (props) => (_jsx(SvgIcon, { ...props, children: _jsx("path", { d: "M18.792 2.54642C18.9173 2.62822 19.0202 2.73996 19.0915 2.87154C19.1627 3.00312 19.2 3.15039 19.2 3.30002V9.90002C19.2 10.1387 19.1052 10.3676 18.9364 10.5364C18.7676 10.7052 18.5387 10.8 18.3 10.8H3.30003C3.09374 10.7997 2.89382 10.7285 2.73374 10.5984C2.57366 10.4683 2.46314 10.2871 2.42069 10.0852C2.37823 9.88337 2.40641 9.67303 2.50052 9.48946C2.59463 9.30588 2.74894 9.1602 2.93763 9.07682L17.9376 2.47682C18.0746 2.41646 18.2245 2.39121 18.3737 2.40336C18.5228 2.41552 18.6666 2.46468 18.792 2.54642ZM7.58043 9.00002H17.4V4.68002L7.58043 9.00002ZM19.2 21C19.2001 21.1008 19.1748 21.1999 19.1264 21.2883C19.078 21.3767 19.0082 21.4515 18.9233 21.5058C18.8384 21.5601 18.7412 21.5921 18.6406 21.5989C18.5401 21.6057 18.4395 21.5871 18.348 21.5448L2.74803 14.3448C2.62379 14.2875 2.52288 14.1894 2.46203 14.0669C2.40117 13.9443 2.38403 13.8047 2.41344 13.671C2.44286 13.5374 2.51706 13.4178 2.62375 13.3322C2.73044 13.2465 2.86321 13.1999 3.00003 13.2H18.6C18.7592 13.2 18.9118 13.2632 19.0243 13.3758C19.1368 13.4883 19.2 13.6409 19.2 13.8V21Z", fill: "currentColor" }) }));
@@ -1,3 +1,3 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { SvgIcon } from "@mui/material";
3
- export const FolderGlobal = (props) => (_jsxs(SvgIcon, { ...props, children: [_jsx("path", { d: "M10.59 4.59C10.21 4.21 9.7 4 9.17 4H4C2.9 4 2.01 4.9 2.01 6L2 18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V8C22 6.9 21.1 6 20 6H12L10.59 4.59Z", fill: "#101828", "fill-opacity": "0.4" }), _jsx("g", { "clip-path": "url(#clip0_8594_1046)", children: _jsx("path", { d: "M15.996 8.83325C13.696 8.83325 11.8335 10.6999 11.8335 12.9999C11.8335 15.2999 13.696 17.1666 15.996 17.1666C18.3002 17.1666 20.1668 15.2999 20.1668 12.9999C20.1668 10.6999 18.3002 8.83325 15.996 8.83325ZM18.8835 11.3333H17.6543C17.521 10.8124 17.3293 10.3124 17.0793 9.84992C17.846 10.1124 18.4835 10.6458 18.8835 11.3333ZM16.0002 9.68325C16.346 10.1833 16.6168 10.7374 16.796 11.3333H15.2043C15.3835 10.7374 15.6543 10.1833 16.0002 9.68325ZM12.7752 13.8333C12.7085 13.5666 12.6668 13.2874 12.6668 12.9999C12.6668 12.7124 12.7085 12.4333 12.7752 12.1666H14.1835C14.1502 12.4416 14.1252 12.7166 14.1252 12.9999C14.1252 13.2833 14.1502 13.5583 14.1835 13.8333H12.7752ZM13.1168 14.6666H14.346C14.4793 15.1874 14.671 15.6874 14.921 16.1499C14.1543 15.8874 13.5168 15.3583 13.1168 14.6666ZM14.346 11.3333H13.1168C13.5168 10.6416 14.1543 10.1124 14.921 9.84992C14.671 10.3124 14.4793 10.8124 14.346 11.3333ZM16.0002 16.3166C15.6543 15.8166 15.3835 15.2624 15.2043 14.6666H16.796C16.6168 15.2624 16.346 15.8166 16.0002 16.3166ZM16.9752 13.8333H15.0252C14.9877 13.5583 14.9585 13.2833 14.9585 12.9999C14.9585 12.7166 14.9877 12.4374 15.0252 12.1666H16.9752C17.0127 12.4374 17.0418 12.7166 17.0418 12.9999C17.0418 13.2833 17.0127 13.5583 16.9752 13.8333ZM17.0793 16.1499C17.3293 15.6874 17.521 15.1874 17.6543 14.6666H18.8835C18.4835 15.3541 17.846 15.8874 17.0793 16.1499ZM17.8168 13.8333C17.8502 13.5583 17.8752 13.2833 17.8752 12.9999C17.8752 12.7166 17.8502 12.4416 17.8168 12.1666H19.2252C19.2918 12.4333 19.3335 12.7124 19.3335 12.9999C19.3335 13.2874 19.2918 13.5666 19.2252 13.8333H17.8168Z", fill: "white" }) }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_8594_1046", children: _jsx("rect", { width: "10", height: "10", fill: "white", transform: "translate(11 8)" }) }) })] }));
3
+ export const FolderGlobal = (props) => (_jsxs(SvgIcon, { ...props, children: [_jsx("path", { d: "M10.59 4.59C10.21 4.21 9.7 4 9.17 4H4C2.9 4 2.01 4.9 2.01 6L2 18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V8C22 6.9 21.1 6 20 6H12L10.59 4.59Z", fill: "currentColor" }), _jsx("g", { "clip-path": "url(#clip0_8594_1046)", children: _jsx("path", { d: "M15.996 8.83325C13.696 8.83325 11.8335 10.6999 11.8335 12.9999C11.8335 15.2999 13.696 17.1666 15.996 17.1666C18.3002 17.1666 20.1668 15.2999 20.1668 12.9999C20.1668 10.6999 18.3002 8.83325 15.996 8.83325ZM18.8835 11.3333H17.6543C17.521 10.8124 17.3293 10.3124 17.0793 9.84992C17.846 10.1124 18.4835 10.6458 18.8835 11.3333ZM16.0002 9.68325C16.346 10.1833 16.6168 10.7374 16.796 11.3333H15.2043C15.3835 10.7374 15.6543 10.1833 16.0002 9.68325ZM12.7752 13.8333C12.7085 13.5666 12.6668 13.2874 12.6668 12.9999C12.6668 12.7124 12.7085 12.4333 12.7752 12.1666H14.1835C14.1502 12.4416 14.1252 12.7166 14.1252 12.9999C14.1252 13.2833 14.1502 13.5583 14.1835 13.8333H12.7752ZM13.1168 14.6666H14.346C14.4793 15.1874 14.671 15.6874 14.921 16.1499C14.1543 15.8874 13.5168 15.3583 13.1168 14.6666ZM14.346 11.3333H13.1168C13.5168 10.6416 14.1543 10.1124 14.921 9.84992C14.671 10.3124 14.4793 10.8124 14.346 11.3333ZM16.0002 16.3166C15.6543 15.8166 15.3835 15.2624 15.2043 14.6666H16.796C16.6168 15.2624 16.346 15.8166 16.0002 16.3166ZM16.9752 13.8333H15.0252C14.9877 13.5583 14.9585 13.2833 14.9585 12.9999C14.9585 12.7166 14.9877 12.4374 15.0252 12.1666H16.9752C17.0127 12.4374 17.0418 12.7166 17.0418 12.9999C17.0418 13.2833 17.0127 13.5583 16.9752 13.8333ZM17.0793 16.1499C17.3293 15.6874 17.521 15.1874 17.6543 14.6666H18.8835C18.4835 15.3541 17.846 15.8874 17.0793 16.1499ZM17.8168 13.8333C17.8502 13.5583 17.8752 13.2833 17.8752 12.9999C17.8752 12.7166 17.8502 12.4416 17.8168 12.1666H19.2252C19.2918 12.4333 19.3335 12.7124 19.3335 12.9999C19.3335 13.2874 19.2918 13.5666 19.2252 13.8333H17.8168Z", fill: "white" }) }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_8594_1046", children: _jsx("rect", { width: "10", height: "10", fill: "white", transform: "translate(11 8)" }) }) })] }));
@@ -1 +1,3 @@
1
1
  export { FolderGlobal } from "./FolderGlobal";
2
+ export { FlipHorizontal } from "./FlipHorizontal";
3
+ export { FlipVertical } from "./FlipVertical";
package/es/icons/index.js CHANGED
@@ -1 +1,3 @@
1
1
  export { FolderGlobal } from "./FolderGlobal";
2
+ export { FlipHorizontal } from "./FlipHorizontal";
3
+ export { FlipVertical } from "./FlipVertical";
package/es/theme/index.js CHANGED
@@ -48,10 +48,12 @@ theme = createTheme(theme, {
48
48
  sizeSmall: {
49
49
  fontSize: '14px',
50
50
  },
51
- outlined: {
51
+ outlinedInherit: {
52
+ color: theme.palette.text.secondary,
52
53
  borderColor: theme.palette.border,
53
54
  },
54
55
  containedInherit: {
56
+ color: theme.palette.text.secondary,
55
57
  backgroundColor: theme.palette.grey[100],
56
58
  },
57
59
  textInherit: {
@@ -70,6 +72,9 @@ theme = createTheme(theme, {
70
72
  },
71
73
  input: {
72
74
  padding: "10px 0px",
75
+ ':read-only': {
76
+ color: theme.palette.text.secondary,
77
+ },
73
78
  },
74
79
  sizeSmall: {
75
80
  'input': {
@@ -174,6 +179,41 @@ theme = createTheme(theme, {
174
179
  }
175
180
  },
176
181
  },
182
+ MuiAccordion: {
183
+ styleOverrides: {
184
+ root: {
185
+ '&:before': {
186
+ backgroundColor: theme.palette.border,
187
+ },
188
+ }
189
+ },
190
+ },
191
+ MuiSlider: {
192
+ styleOverrides: {
193
+ rail: {
194
+ backgroundColor: theme.palette.grey[400],
195
+ }
196
+ }
197
+ },
198
+ MuiChip: {
199
+ styleOverrides: {
200
+ root: {
201
+ borderRadius: '4px',
202
+ }
203
+ }
204
+ },
205
+ MuiAlert: {
206
+ styleOverrides: {
207
+ icon: {
208
+ alignSelf: 'center',
209
+ },
210
+ standardWarning: {
211
+ ' .MuiAlert-icon': {
212
+ color: theme.palette.common.black,
213
+ }
214
+ },
215
+ }
216
+ },
177
217
  MuiTreeItem: {
178
218
  styleOverrides: {
179
219
  content: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zesty-io/material",
3
- "version": "0.3.1",
3
+ "version": "0.4.0",
4
4
  "description": "Contains custom components which are in addition to the @mui design-system",
5
5
  "author": "Zesty.io",
6
6
  "license": "MIT",