@natoora-libs/core 0.1.18 → 0.1.19-mui-upgrade-1
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.
|
@@ -1003,9 +1003,7 @@ var BottomBar_default = BottomBar;
|
|
|
1003
1003
|
// src/components/BoxButton/BoxButton.tsx
|
|
1004
1004
|
var import_react3 = require("react");
|
|
1005
1005
|
var import_material8 = require("@mui/material");
|
|
1006
|
-
var
|
|
1007
|
-
var import_orange = __toESM(require("@mui/material/colors/orange"), 1);
|
|
1008
|
-
var import_red = __toESM(require("@mui/material/colors/red"), 1);
|
|
1006
|
+
var import_colors5 = require("@mui/material/colors");
|
|
1009
1007
|
var import_mui6 = require("tss-react/mui");
|
|
1010
1008
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
1011
1009
|
var useStyles6 = (0, import_mui6.makeStyles)()((theme) => ({
|
|
@@ -1032,17 +1030,17 @@ var useStyles6 = (0, import_mui6.makeStyles)()((theme) => ({
|
|
|
1032
1030
|
borderStyle: "solid"
|
|
1033
1031
|
},
|
|
1034
1032
|
green: {
|
|
1035
|
-
borderColor:
|
|
1033
|
+
borderColor: import_colors5.green["500"],
|
|
1036
1034
|
borderWidth: 3,
|
|
1037
1035
|
borderStyle: "solid"
|
|
1038
1036
|
},
|
|
1039
1037
|
red: {
|
|
1040
|
-
borderColor:
|
|
1038
|
+
borderColor: import_colors5.red["500"],
|
|
1041
1039
|
borderWidth: 3,
|
|
1042
1040
|
borderStyle: "solid"
|
|
1043
1041
|
},
|
|
1044
1042
|
orange: {
|
|
1045
|
-
borderColor:
|
|
1043
|
+
borderColor: import_colors5.orange["500"],
|
|
1046
1044
|
borderWidth: 3,
|
|
1047
1045
|
borderStyle: "solid"
|
|
1048
1046
|
},
|
|
@@ -1063,7 +1061,7 @@ var BoxButton = (props) => {
|
|
|
1063
1061
|
children: [
|
|
1064
1062
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_material8.Typography, { variant: "button", children: label }),
|
|
1065
1063
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
1066
|
-
import_material8.
|
|
1064
|
+
import_material8.Grid,
|
|
1067
1065
|
{
|
|
1068
1066
|
container: true,
|
|
1069
1067
|
direction: "row",
|
|
@@ -1072,8 +1070,8 @@ var BoxButton = (props) => {
|
|
|
1072
1070
|
alignItems: "center"
|
|
1073
1071
|
},
|
|
1074
1072
|
children: [
|
|
1075
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_material8.
|
|
1076
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_material8.
|
|
1073
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_material8.Grid, { size: 9, children: main }),
|
|
1074
|
+
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_material8.Grid, { className: classes.c_box_button__extra, size: 3, children: extra })
|
|
1077
1075
|
]
|
|
1078
1076
|
}
|
|
1079
1077
|
)
|
|
@@ -3885,7 +3883,7 @@ var DataGrid_default = DataGrid;
|
|
|
3885
3883
|
var import_moment = __toESM(require("moment"), 1);
|
|
3886
3884
|
|
|
3887
3885
|
// src/resources/styles/themes/default.js
|
|
3888
|
-
var
|
|
3886
|
+
var import_colors25 = require("@mui/material/colors");
|
|
3889
3887
|
var import_styles = require("@mui/material/styles");
|
|
3890
3888
|
var defaultTheme = (0, import_styles.createTheme)({
|
|
3891
3889
|
typography: {
|
|
@@ -3900,14 +3898,14 @@ var defaultTheme = (0, import_styles.createTheme)({
|
|
|
3900
3898
|
primary: {
|
|
3901
3899
|
main: colors.muiPrimary,
|
|
3902
3900
|
alternate: colors.muiPrimaryAlternate,
|
|
3903
|
-
light:
|
|
3904
|
-
contrastText:
|
|
3901
|
+
light: import_colors25.grey["100"],
|
|
3902
|
+
contrastText: import_colors25.grey["50"]
|
|
3905
3903
|
},
|
|
3906
3904
|
secondary: {
|
|
3907
3905
|
main: colors.muiSecondary,
|
|
3908
3906
|
alternate: colors.muiSecondaryAlternate,
|
|
3909
|
-
dark:
|
|
3910
|
-
light:
|
|
3907
|
+
dark: import_colors25.grey["900"],
|
|
3908
|
+
light: import_colors25.grey["50"]
|
|
3911
3909
|
},
|
|
3912
3910
|
success: {
|
|
3913
3911
|
main: colors.muiSuccess,
|
|
@@ -4134,14 +4132,13 @@ var FileCard_default = FileCard;
|
|
|
4134
4132
|
// src/components/FilledLabel/FilledLabel.tsx
|
|
4135
4133
|
var import_react15 = require("react");
|
|
4136
4134
|
var import_material29 = require("@mui/material");
|
|
4137
|
-
var
|
|
4138
|
-
var import_teal = __toESM(require("@mui/material/colors/teal"), 1);
|
|
4135
|
+
var import_colors29 = require("@mui/material/colors");
|
|
4139
4136
|
var import_mui26 = require("tss-react/mui");
|
|
4140
4137
|
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
4141
4138
|
var useStyles24 = (0, import_mui26.makeStyles)()((theme) => ({
|
|
4142
4139
|
siteOne: {
|
|
4143
|
-
backgroundColor:
|
|
4144
|
-
color:
|
|
4140
|
+
backgroundColor: import_colors29.teal["50"],
|
|
4141
|
+
color: import_colors29.teal["500"],
|
|
4145
4142
|
padding: theme.spacing(0.5),
|
|
4146
4143
|
paddingLeft: theme.spacing(2),
|
|
4147
4144
|
paddingRight: theme.spacing(2),
|
|
@@ -4151,8 +4148,8 @@ var useStyles24 = (0, import_mui26.makeStyles)()((theme) => ({
|
|
|
4151
4148
|
width: "fit-content"
|
|
4152
4149
|
},
|
|
4153
4150
|
siteTwo: {
|
|
4154
|
-
backgroundColor:
|
|
4155
|
-
color:
|
|
4151
|
+
backgroundColor: import_colors29.brown["50"],
|
|
4152
|
+
color: import_colors29.brown["500"],
|
|
4156
4153
|
padding: theme.spacing(0.5),
|
|
4157
4154
|
paddingLeft: theme.spacing(2),
|
|
4158
4155
|
paddingRight: theme.spacing(2),
|
|
@@ -4542,7 +4539,7 @@ var Loading_default = Loading;
|
|
|
4542
4539
|
// src/components/LocationsSectionInfo/LocationsSectionInfo.tsx
|
|
4543
4540
|
var import_react18 = require("react");
|
|
4544
4541
|
var import_material36 = require("@mui/material");
|
|
4545
|
-
var
|
|
4542
|
+
var import_colors34 = require("@mui/material/colors");
|
|
4546
4543
|
var import_classnames2 = __toESM(require("classnames"), 1);
|
|
4547
4544
|
var import_mui32 = require("tss-react/mui");
|
|
4548
4545
|
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
@@ -4571,8 +4568,8 @@ var useStyles30 = (0, import_mui32.makeStyles)()(() => ({
|
|
|
4571
4568
|
borderColor: colors.neutral100
|
|
4572
4569
|
},
|
|
4573
4570
|
pickingStockChip: {
|
|
4574
|
-
backgroundColor:
|
|
4575
|
-
color:
|
|
4571
|
+
backgroundColor: import_colors34.purple[50],
|
|
4572
|
+
color: import_colors34.purple[500]
|
|
4576
4573
|
}
|
|
4577
4574
|
}));
|
|
4578
4575
|
var LocationsSectionInfo = ({
|
|
@@ -6738,13 +6735,13 @@ var SmartSelect_default = SmartSelect;
|
|
|
6738
6735
|
// src/components/SquareLabel/SquareLabel.tsx
|
|
6739
6736
|
var import_react30 = require("react");
|
|
6740
6737
|
var import_material56 = require("@mui/material");
|
|
6741
|
-
var
|
|
6738
|
+
var import_colors49 = require("@mui/material/colors");
|
|
6742
6739
|
var import_mui50 = require("tss-react/mui");
|
|
6743
6740
|
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
6744
6741
|
var useStyles45 = (0, import_mui50.makeStyles)()((theme) => ({
|
|
6745
6742
|
red: {
|
|
6746
|
-
backgroundColor:
|
|
6747
|
-
color:
|
|
6743
|
+
backgroundColor: import_colors49.red["50"],
|
|
6744
|
+
color: import_colors49.red["500"],
|
|
6748
6745
|
padding: theme.spacing(1.5),
|
|
6749
6746
|
borderRadius: "5px",
|
|
6750
6747
|
marginTop: theme.spacing(1),
|
|
@@ -6772,7 +6769,7 @@ var LSwitch = ({
|
|
|
6772
6769
|
classes,
|
|
6773
6770
|
disabled
|
|
6774
6771
|
}) => /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("div", { className: classes.c_switch, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(
|
|
6775
|
-
import_material57.
|
|
6772
|
+
import_material57.Grid,
|
|
6776
6773
|
{
|
|
6777
6774
|
component: "label",
|
|
6778
6775
|
container: true,
|
|
@@ -6781,8 +6778,8 @@ var LSwitch = ({
|
|
|
6781
6778
|
alignItems: "center"
|
|
6782
6779
|
},
|
|
6783
6780
|
children: [
|
|
6784
|
-
labelOff && /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material57.
|
|
6785
|
-
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material57.
|
|
6781
|
+
labelOff && /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material57.Grid, { children: labelOff }),
|
|
6782
|
+
/* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material57.Grid, { children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
|
|
6786
6783
|
import_material57.Switch,
|
|
6787
6784
|
{
|
|
6788
6785
|
checked,
|
|
@@ -6791,7 +6788,7 @@ var LSwitch = ({
|
|
|
6791
6788
|
disabled
|
|
6792
6789
|
}
|
|
6793
6790
|
) }),
|
|
6794
|
-
labelOn && /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material57.
|
|
6791
|
+
labelOn && /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(import_material57.Grid, { children: labelOn })
|
|
6795
6792
|
]
|
|
6796
6793
|
}
|
|
6797
6794
|
) });
|