@gridsuite/commons-ui 0.243.0 → 0.244.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.
- package/dist/components/index.js +2 -0
- package/dist/components/ui/icons/VoltageUnitIcon.d.ts +2 -0
- package/dist/components/ui/icons/VoltageUnitIcon.js +10 -0
- package/dist/components/ui/icons/index.d.ts +1 -0
- package/dist/components/ui/icons/index.js +3 -1
- package/dist/components/ui/index.js +2 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -65,6 +65,7 @@ import { ArrowsOutputIcon } from "./ui/icons/ArrowsOutputIcon.js";
|
|
|
65
65
|
import { ArrowsInputIcon } from "./ui/icons/ArrowsInputIcon.js";
|
|
66
66
|
import { LeftPanelCloseIcon } from "./ui/icons/LeftPanelCloseIcon.js";
|
|
67
67
|
import { EditNoteIcon } from "./ui/icons/EditNoteIcon.js";
|
|
68
|
+
import { VoltageUnitIcon } from "./ui/icons/VoltageUnitIcon.js";
|
|
68
69
|
import { CustomMenuItem, CustomNestedMenuItem } from "./ui/menus/custom-nested-menu.js";
|
|
69
70
|
import { ResizeHandle } from "./ui/resizablePanels/ResizeHandle.js";
|
|
70
71
|
import { CsvExport } from "./ui/csvDownloader/csv-export.js";
|
|
@@ -331,6 +332,7 @@ export {
|
|
|
331
332
|
UniqueNameInput,
|
|
332
333
|
ValueEditor,
|
|
333
334
|
ValueSelector,
|
|
335
|
+
VoltageUnitIcon,
|
|
334
336
|
addToleranceToFilter,
|
|
335
337
|
computeTolerance,
|
|
336
338
|
countRules,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { SvgIcon } from "@mui/material";
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
const SvgVoltageUnit = (props) => /* @__PURE__ */ React.createElement("svg", { width: 21, height: 21, viewBox: "-0.265 -0.266 21 21", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("rect", { x: 2.34576, y: 4.04986, width: 15.7794, height: 12.3676, rx: 1.06618, fill: "none", stroke: "currentColor", strokeWidth: 1.27941 }), /* @__PURE__ */ React.createElement("path", { d: "M6.1435 6.02734V13.4954H4.74414V6.02734H6.1435ZM9.45725 8.23813L7.17358 10.8425L5.94914 12.0815L5.43896 11.0709L6.41074 9.8367L7.77608 8.23813H9.45725ZM8.00445 13.4954L6.44961 11.066L7.41652 10.2206L9.61759 13.4954H8.00445Z", fill: "currentColor" }), /* @__PURE__ */ React.createElement("path", { d: "M12.6981 12.0183L14.3647 6.42091H15.9876L13.5241 13.4954H12.4552L12.6981 12.0183ZM11.1627 6.42091L12.8245 12.0183L13.0771 13.4954H11.9984L9.54957 6.42091H11.1627Z", fill: "currentColor" }));
|
|
5
|
+
function VoltageUnitIcon(props) {
|
|
6
|
+
return /* @__PURE__ */ jsx(SvgIcon, { component: SvgVoltageUnit, inheritViewBox: true, ...props });
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
VoltageUnitIcon
|
|
10
|
+
};
|
|
@@ -9,3 +9,4 @@ export { ArrowsOutputIcon } from './ArrowsOutputIcon';
|
|
|
9
9
|
export { ArrowsInputIcon } from './ArrowsInputIcon';
|
|
10
10
|
export { LeftPanelCloseIcon } from './LeftPanelCloseIcon';
|
|
11
11
|
export { EditNoteIcon } from './EditNoteIcon';
|
|
12
|
+
export { VoltageUnitIcon } from './VoltageUnitIcon';
|
|
@@ -3,10 +3,12 @@ import { ArrowsOutputIcon } from "./ArrowsOutputIcon.js";
|
|
|
3
3
|
import { ArrowsInputIcon } from "./ArrowsInputIcon.js";
|
|
4
4
|
import { LeftPanelCloseIcon } from "./LeftPanelCloseIcon.js";
|
|
5
5
|
import { EditNoteIcon } from "./EditNoteIcon.js";
|
|
6
|
+
import { VoltageUnitIcon } from "./VoltageUnitIcon.js";
|
|
6
7
|
export {
|
|
7
8
|
ArrowsInputIcon,
|
|
8
9
|
ArrowsOutputIcon,
|
|
9
10
|
EditNoteIcon,
|
|
10
11
|
LeftPanelCloseIcon,
|
|
11
|
-
LeftPanelOpenIcon
|
|
12
|
+
LeftPanelOpenIcon,
|
|
13
|
+
VoltageUnitIcon
|
|
12
14
|
};
|
|
@@ -65,6 +65,7 @@ import { ArrowsOutputIcon } from "./icons/ArrowsOutputIcon.js";
|
|
|
65
65
|
import { ArrowsInputIcon } from "./icons/ArrowsInputIcon.js";
|
|
66
66
|
import { LeftPanelCloseIcon } from "./icons/LeftPanelCloseIcon.js";
|
|
67
67
|
import { EditNoteIcon } from "./icons/EditNoteIcon.js";
|
|
68
|
+
import { VoltageUnitIcon } from "./icons/VoltageUnitIcon.js";
|
|
68
69
|
import { CustomMenuItem, CustomNestedMenuItem } from "./menus/custom-nested-menu.js";
|
|
69
70
|
import { ResizeHandle } from "./resizablePanels/ResizeHandle.js";
|
|
70
71
|
import { CsvExport } from "./csvDownloader/csv-export.js";
|
|
@@ -155,6 +156,7 @@ export {
|
|
|
155
156
|
TextInput,
|
|
156
157
|
TreeViewFinder,
|
|
157
158
|
UniqueNameInput,
|
|
159
|
+
VoltageUnitIcon,
|
|
158
160
|
directoryItemSchema,
|
|
159
161
|
doesNodeHasChildren,
|
|
160
162
|
fetchCsvSeparator,
|
package/dist/index.js
CHANGED
|
@@ -66,6 +66,7 @@ import { ArrowsOutputIcon } from "./components/ui/icons/ArrowsOutputIcon.js";
|
|
|
66
66
|
import { ArrowsInputIcon } from "./components/ui/icons/ArrowsInputIcon.js";
|
|
67
67
|
import { LeftPanelCloseIcon } from "./components/ui/icons/LeftPanelCloseIcon.js";
|
|
68
68
|
import { EditNoteIcon } from "./components/ui/icons/EditNoteIcon.js";
|
|
69
|
+
import { VoltageUnitIcon } from "./components/ui/icons/VoltageUnitIcon.js";
|
|
69
70
|
import { CustomMenuItem, CustomNestedMenuItem } from "./components/ui/menus/custom-nested-menu.js";
|
|
70
71
|
import { ResizeHandle } from "./components/ui/resizablePanels/ResizeHandle.js";
|
|
71
72
|
import { CsvExport } from "./components/ui/csvDownloader/csv-export.js";
|
|
@@ -1119,6 +1120,7 @@ export {
|
|
|
1119
1120
|
VoltageLevelCreationForm,
|
|
1120
1121
|
VoltageLevelModificationForm,
|
|
1121
1122
|
VoltageRegulationForm,
|
|
1123
|
+
VoltageUnitIcon,
|
|
1122
1124
|
WRITE_SLACK_BUS,
|
|
1123
1125
|
YUP_DEFAULT,
|
|
1124
1126
|
YUP_NOT_NULL,
|