@etsoo/materialui 1.6.80 → 1.6.82

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.
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import type { ChartData, ChartOptions } from "chart.js" with {
3
- "resolution-mode": "import"
2
+ import type { ChartData, ChartOptions } from "chart.js" with { "resolution-mode": "import"
4
3
  };
5
4
  /**
6
5
  * Bar chart
@@ -13,7 +13,7 @@ export declare namespace GridUtils {
13
13
  * @param keepSource Keep source or not
14
14
  * @returns Request data
15
15
  */
16
- function createLoader<const F>(props: GridLoadDataProps, template?: F, cacheKey?: string, keepSource?: boolean): DataTypes.BasicTemplateType<{ [k in keyof F]: F[k] extends "date" ? "string" | "date" : F[k] extends "string" | "number" | "bigint" | "boolean" | "date" | "number[]" | "bigint[]" | "date[]" | "boolean[]" | "string[]" | "unknown[]" ? F[k] : never; }> & {
16
+ function createLoader<const F>(props: GridLoadDataProps, template?: F, cacheKey?: string, keepSource?: boolean): DataTypes.BasicTemplateType<{ [k in keyof F]: F[k] extends "date" ? "date" | "string" : F[k] extends "bigint" | "bigint[]" | "boolean" | "boolean[]" | "date" | "date[]" | "number" | "number[]" | "string" | "string[]" | "unknown[]" ? F[k] : never; }> & {
17
17
  queryPaging: import("@etsoo/appscript").QueryPagingData;
18
18
  };
19
19
  /**
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import type { ChartData, ChartOptions } from "chart.js" with {
3
- "resolution-mode": "import"
2
+ import type { ChartData, ChartOptions } from "chart.js" with { "resolution-mode": "import"
4
3
  };
5
4
  /**
6
5
  * Line chart
@@ -272,6 +272,9 @@ class NotificationMU extends react_2.NotificationReact {
272
272
  event.preventDefault();
273
273
  event.currentTarget.elements.namedItem("okButton")?.click();
274
274
  return false;
275
+ },
276
+ sx: {
277
+ overflow: "hidden"
275
278
  }
276
279
  }
277
280
  }, className: className, fullWidth: fullWidth, maxWidth: maxWidth, fullScreen: fullScreen, scroll: "paper", ...options, children: [(0, jsx_runtime_1.jsxs)(IconDialogTitle, { draggable: draggable, className: `dialog-title${draggable ? " draggable-dialog-title" : ""}`, children: [(0, jsx_runtime_1.jsx)(Info_1.default, { color: "primary" }), (0, jsx_runtime_1.jsx)("span", { className: "dialogTitle", children: title }), closable && ((0, jsx_runtime_1.jsx)(IconButton_1.default, { className: "MuiDialogContent-root-close-button", size: "small", onClick: () => this.returnValue("CLOSE"), children: (0, jsx_runtime_1.jsx)(Close_1.default, {}) }))] }), (0, jsx_runtime_1.jsxs)(DialogContent_1.default, { dividers: true, children: [typeof this.content === "string" ? ((0, jsx_runtime_1.jsx)(DialogContentText_1.default, { children: this.content })) : (this.content), localInputs, (0, jsx_runtime_1.jsx)(Typography_1.default, { component: "div", variant: "caption", ref: errorRef, color: "error", align: "center" })] }), (0, jsx_runtime_1.jsx)(DialogActions_1.default, { children: buttons ? buttons(this, handleSubmit, base) : base() })] }, this.id));
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import type { ChartData, ChartOptions } from "chart.js" with {
3
- "resolution-mode": "import"
2
+ import type { ChartData, ChartOptions } from "chart.js" with { "resolution-mode": "import"
4
3
  };
5
4
  /**
6
5
  * Pie chart
@@ -36,11 +36,11 @@ export declare namespace CustomFieldUtils {
36
36
  * @returns Result
37
37
  */
38
38
  function transformSpace(space?: CustomFieldSpace): {
39
- xs?: GridSize | null | undefined;
40
- sm?: GridSize | null | undefined;
41
- md?: GridSize | null | undefined;
42
39
  lg?: GridSize | null | undefined;
40
+ md?: GridSize | null | undefined;
41
+ sm?: GridSize | null | undefined;
43
42
  xl?: GridSize | null | undefined;
43
+ xs?: GridSize | null | undefined;
44
44
  };
45
45
  /**
46
46
  * Update ref options
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import type { ChartData, ChartOptions } from "chart.js" with {
3
- "resolution-mode": "import"
2
+ import type { ChartData, ChartOptions } from "chart.js" with { "resolution-mode": "import"
4
3
  };
5
4
  /**
6
5
  * Bar chart
@@ -13,7 +13,7 @@ export declare namespace GridUtils {
13
13
  * @param keepSource Keep source or not
14
14
  * @returns Request data
15
15
  */
16
- function createLoader<const F>(props: GridLoadDataProps, template?: F, cacheKey?: string, keepSource?: boolean): DataTypes.BasicTemplateType<{ [k in keyof F]: F[k] extends "date" ? "string" | "date" : F[k] extends "string" | "number" | "bigint" | "boolean" | "date" | "number[]" | "bigint[]" | "date[]" | "boolean[]" | "string[]" | "unknown[]" ? F[k] : never; }> & {
16
+ function createLoader<const F>(props: GridLoadDataProps, template?: F, cacheKey?: string, keepSource?: boolean): DataTypes.BasicTemplateType<{ [k in keyof F]: F[k] extends "date" ? "date" | "string" : F[k] extends "bigint" | "bigint[]" | "boolean" | "boolean[]" | "date" | "date[]" | "number" | "number[]" | "string" | "string[]" | "unknown[]" ? F[k] : never; }> & {
17
17
  queryPaging: import("@etsoo/appscript").QueryPagingData;
18
18
  };
19
19
  /**
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { DataTypes } from "@etsoo/shared";
4
4
  import Button from "@mui/material/Button";
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import type { ChartData, ChartOptions } from "chart.js" with {
3
- "resolution-mode": "import"
2
+ import type { ChartData, ChartOptions } from "chart.js" with { "resolution-mode": "import"
4
3
  };
5
4
  /**
6
5
  * Line chart
@@ -266,6 +266,9 @@ export class NotificationMU extends NotificationReact {
266
266
  event.preventDefault();
267
267
  event.currentTarget.elements.namedItem("okButton")?.click();
268
268
  return false;
269
+ },
270
+ sx: {
271
+ overflow: "hidden"
269
272
  }
270
273
  }
271
274
  }, className: className, fullWidth: fullWidth, maxWidth: maxWidth, fullScreen: fullScreen, scroll: "paper", ...options, children: [_jsxs(IconDialogTitle, { draggable: draggable, className: `dialog-title${draggable ? " draggable-dialog-title" : ""}`, children: [_jsx(InfoIcon, { color: "primary" }), _jsx("span", { className: "dialogTitle", children: title }), closable && (_jsx(IconButton, { className: "MuiDialogContent-root-close-button", size: "small", onClick: () => this.returnValue("CLOSE"), children: _jsx(CloseIcon, {}) }))] }), _jsxs(DialogContent, { dividers: true, children: [typeof this.content === "string" ? (_jsx(DialogContentText, { children: this.content })) : (this.content), localInputs, _jsx(Typography, { component: "div", variant: "caption", ref: errorRef, color: "error", align: "center" })] }), _jsx(DialogActions, { children: buttons ? buttons(this, handleSubmit, base) : base() })] }, this.id));
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import type { ChartData, ChartOptions } from "chart.js" with {
3
- "resolution-mode": "import"
2
+ import type { ChartData, ChartOptions } from "chart.js" with { "resolution-mode": "import"
4
3
  };
5
4
  /**
6
5
  * Pie chart
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import CheckBoxOutlineBlankIcon from "@mui/icons-material/CheckBoxOutlineBlank";
3
3
  import CheckBoxIcon from "@mui/icons-material/CheckBox";
4
4
  import React from "react";
@@ -36,11 +36,11 @@ export declare namespace CustomFieldUtils {
36
36
  * @returns Result
37
37
  */
38
38
  function transformSpace(space?: CustomFieldSpace): {
39
- xs?: GridSize | null | undefined;
40
- sm?: GridSize | null | undefined;
41
- md?: GridSize | null | undefined;
42
39
  lg?: GridSize | null | undefined;
40
+ md?: GridSize | null | undefined;
41
+ sm?: GridSize | null | undefined;
43
42
  xl?: GridSize | null | undefined;
43
+ xs?: GridSize | null | undefined;
44
44
  };
45
45
  /**
46
46
  * Update ref options
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { NumberUtils } from "@etsoo/shared";
3
3
  import FormHelperText from "@mui/material/FormHelperText";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { OptionGroup } from "../OptionGroup";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { ComboBoxMultiple } from "../ComboBoxMultiple";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { DateUtils } from "@etsoo/shared";
3
3
  import React from "react";
4
4
  import { InputField } from "../InputField";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { InputField } from "../InputField";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { InputField } from "../InputField";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { NumberInputField } from "../NumberInputField";
4
4
  import { NumberUtils } from "@etsoo/shared";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { OptionGroup } from "../OptionGroup";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { SelectEx } from "../SelectEx";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { SwitchAnt } from "../SwitchAnt";
4
4
  import Typography from "@mui/material/Typography";
@@ -1,4 +1,4 @@
1
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React from "react";
3
3
  import { InputField } from "../InputField";
4
4
  import Typography from "@mui/material/Typography";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/materialui",
3
- "version": "1.6.80",
3
+ "version": "1.6.82",
4
4
  "description": "TypeScript Material-UI Implementation",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -40,10 +40,10 @@
40
40
  "@dnd-kit/react": "^0.5.0",
41
41
  "@emotion/react": "^11.14.0",
42
42
  "@emotion/styled": "^11.14.1",
43
- "@etsoo/appscript": "^1.6.71",
44
- "@etsoo/notificationbase": "^1.1.73",
45
- "@etsoo/react": "^1.8.95",
46
- "@etsoo/shared": "^1.2.88",
43
+ "@etsoo/appscript": "^1.6.72",
44
+ "@etsoo/notificationbase": "^1.1.74",
45
+ "@etsoo/react": "^1.8.96",
46
+ "@etsoo/shared": "^1.2.90",
47
47
  "@mui/icons-material": "^9.2.0",
48
48
  "@mui/material": "^9.2.0",
49
49
  "@mui/x-data-grid": "^9.9.0",
@@ -82,7 +82,7 @@
82
82
  "@types/react-input-mask": "^3.0.6",
83
83
  "@vitejs/plugin-react": "^6.0.3",
84
84
  "jsdom": "^29.1.1",
85
- "typescript": "^6.0.3",
85
+ "typescript": "^7.0.2",
86
86
  "vitest": "^4.1.10"
87
87
  },
88
88
  "allowScripts": {
@@ -645,6 +645,9 @@ export class NotificationMU extends NotificationReact {
645
645
  ) as HTMLButtonElement
646
646
  )?.click();
647
647
  return false;
648
+ },
649
+ sx: {
650
+ overflow: "hidden"
648
651
  }
649
652
  }
650
653
  }}