@nethru/ui 2.0.7 → 2.0.8
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/base/FormContent.js +14 -0
- package/base/HelpTooltipIcon.js +22 -0
- package/base/SectionLabel.js +14 -0
- package/base/editor/Editor.js +2 -1
- package/base/index.js +4 -1
- package/base/styles/createTheme.js +3 -1
- package/base/styles/mui/formLabel.js +12 -0
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { forwardRef } from "react";
|
|
2
|
+
import { Typography } from "@mui/material";
|
|
3
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
+
const FormContent = /*#__PURE__*/forwardRef(({
|
|
5
|
+
children,
|
|
6
|
+
...props
|
|
7
|
+
}, ref) => {
|
|
8
|
+
return /*#__PURE__*/_jsx(Typography, {
|
|
9
|
+
ref: ref,
|
|
10
|
+
variant: "bodyXlMedium",
|
|
11
|
+
children: children
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
export default FormContent;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { forwardRef } from "react";
|
|
2
|
+
import { IconButton, Tooltip } from "@mui/material";
|
|
3
|
+
import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined";
|
|
4
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
+
const HelpTooltipIcon = /*#__PURE__*/forwardRef(({
|
|
6
|
+
tooltip,
|
|
7
|
+
onClick,
|
|
8
|
+
...props
|
|
9
|
+
}, ref) => {
|
|
10
|
+
return /*#__PURE__*/_jsx(Tooltip, {
|
|
11
|
+
ref: ref,
|
|
12
|
+
title: tooltip,
|
|
13
|
+
children: /*#__PURE__*/_jsx(IconButton, {
|
|
14
|
+
size: "small",
|
|
15
|
+
onClick: onClick,
|
|
16
|
+
children: /*#__PURE__*/_jsx(InfoOutlinedIcon, {
|
|
17
|
+
fontSize: "inherit"
|
|
18
|
+
})
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
export default HelpTooltipIcon;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { forwardRef } from "react";
|
|
2
|
+
import { Typography } from "@mui/material";
|
|
3
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
|
+
const SectionLabel = /*#__PURE__*/forwardRef(({
|
|
5
|
+
children,
|
|
6
|
+
...props
|
|
7
|
+
}, ref) => {
|
|
8
|
+
return /*#__PURE__*/_jsx(Typography, {
|
|
9
|
+
ref: ref,
|
|
10
|
+
variant: "bodyLgSemibold",
|
|
11
|
+
children: children
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
export default SectionLabel;
|
package/base/editor/Editor.js
CHANGED
package/base/index.js
CHANGED
|
@@ -17,6 +17,8 @@ export { default as ConfirmDialog } from "./dialog/ConfirmDialog";
|
|
|
17
17
|
export { default as DataGrid } from "./datagrid/DataGrid";
|
|
18
18
|
export { default as Dialog } from "./dialog/Dialog";
|
|
19
19
|
export { default as DropdownButton } from "./DropdownButton";
|
|
20
|
+
export { default as FormContent } from "./FormContent";
|
|
21
|
+
export { default as HelpTooltipIcon } from "./HelpTooltipIcon";
|
|
20
22
|
export { default as Editor } from "./editor/Editor";
|
|
21
23
|
export { default as Frame } from "./frame/Frame";
|
|
22
24
|
export { default as MainHeader } from "./MainHeader";
|
|
@@ -25,8 +27,9 @@ export { default as PropertyTable } from "./PropertyTable";
|
|
|
25
27
|
export { default as Radio } from "./Radio";
|
|
26
28
|
export { default as SearchableSelect } from "./SearchableSelect";
|
|
27
29
|
export { default as SearchTextField } from "./SearchTextField";
|
|
28
|
-
export { default as
|
|
30
|
+
export { default as SectionLabel } from "./SectionLabel";
|
|
29
31
|
export { default as Select } from "./Select";
|
|
32
|
+
export { default as Sidebar } from "./frame/sidebar/Sidebar";
|
|
30
33
|
export { default as Slider } from "./Slider";
|
|
31
34
|
export { default as Snackbar } from "./Snackbar";
|
|
32
35
|
export { default as Switch } from "./Switch";
|
|
@@ -17,6 +17,8 @@ import * as select from "./mui/select";
|
|
|
17
17
|
import * as autocomplete from "./mui/autocomplete";
|
|
18
18
|
import * as textField from "./mui/textField";
|
|
19
19
|
import * as formControl from "./mui/formControl";
|
|
20
|
+
import * as formControlLabel from "./mui/formControlLabel";
|
|
21
|
+
import * as formLabel from "./mui/formLabel";
|
|
20
22
|
import * as outlinedInput from "./mui/outlinedInput";
|
|
21
23
|
import * as formHelperText from "./mui/formHelperText";
|
|
22
24
|
import * as inputLabel from "./mui/inputLabel";
|
|
@@ -24,7 +26,6 @@ import * as popover from "./mui/popover";
|
|
|
24
26
|
import * as paper from "./mui/paper";
|
|
25
27
|
import * as list from "./mui/list";
|
|
26
28
|
import * as menuItem from "./mui/menuItem";
|
|
27
|
-
import * as formControlLabel from "./mui/formControlLabel";
|
|
28
29
|
import * as chip from "./mui/chip";
|
|
29
30
|
import * as slider from "./mui/slider";
|
|
30
31
|
import * as tabs from "./mui/tabs";
|
|
@@ -68,6 +69,7 @@ export default function createTheme() {
|
|
|
68
69
|
MuiTextField: textField.styles,
|
|
69
70
|
MuiFormControl: formControl.styles,
|
|
70
71
|
MuiFormControlLabel: formControlLabel.styles,
|
|
72
|
+
MuiFormLabel: formLabel.styles,
|
|
71
73
|
MuiInputLabel: inputLabel.styles,
|
|
72
74
|
MuiOutlinedInput: outlinedInput.styles,
|
|
73
75
|
MuiFormHelperText: formHelperText.styles,
|