@natoora-libs/core 0.1.13 → 0.1.14-dev1
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
|
)
|
|
@@ -3869,7 +3867,7 @@ var DataGrid_default = DataGrid;
|
|
|
3869
3867
|
var import_moment = __toESM(require("moment"), 1);
|
|
3870
3868
|
|
|
3871
3869
|
// src/resources/styles/themes/default.js
|
|
3872
|
-
var
|
|
3870
|
+
var import_colors25 = require("@mui/material/colors");
|
|
3873
3871
|
var import_styles = require("@mui/material/styles");
|
|
3874
3872
|
var defaultTheme = (0, import_styles.createTheme)({
|
|
3875
3873
|
typography: {
|
|
@@ -3884,14 +3882,14 @@ var defaultTheme = (0, import_styles.createTheme)({
|
|
|
3884
3882
|
primary: {
|
|
3885
3883
|
main: colors.muiPrimary,
|
|
3886
3884
|
alternate: colors.muiPrimaryAlternate,
|
|
3887
|
-
light:
|
|
3888
|
-
contrastText:
|
|
3885
|
+
light: import_colors25.grey["100"],
|
|
3886
|
+
contrastText: import_colors25.grey["50"]
|
|
3889
3887
|
},
|
|
3890
3888
|
secondary: {
|
|
3891
3889
|
main: colors.muiSecondary,
|
|
3892
3890
|
alternate: colors.muiSecondaryAlternate,
|
|
3893
|
-
dark:
|
|
3894
|
-
light:
|
|
3891
|
+
dark: import_colors25.grey["900"],
|
|
3892
|
+
light: import_colors25.grey["50"]
|
|
3895
3893
|
},
|
|
3896
3894
|
success: {
|
|
3897
3895
|
main: colors.muiSuccess,
|
|
@@ -4118,14 +4116,13 @@ var FileCard_default = FileCard;
|
|
|
4118
4116
|
// src/components/FilledLabel/FilledLabel.tsx
|
|
4119
4117
|
var import_react15 = require("react");
|
|
4120
4118
|
var import_material29 = require("@mui/material");
|
|
4121
|
-
var
|
|
4122
|
-
var import_teal = __toESM(require("@mui/material/colors/teal"), 1);
|
|
4119
|
+
var import_colors29 = require("@mui/material/colors");
|
|
4123
4120
|
var import_mui26 = require("tss-react/mui");
|
|
4124
4121
|
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
4125
4122
|
var useStyles24 = (0, import_mui26.makeStyles)()((theme) => ({
|
|
4126
4123
|
siteOne: {
|
|
4127
|
-
backgroundColor:
|
|
4128
|
-
color:
|
|
4124
|
+
backgroundColor: import_colors29.teal["50"],
|
|
4125
|
+
color: import_colors29.teal["500"],
|
|
4129
4126
|
padding: theme.spacing(0.5),
|
|
4130
4127
|
paddingLeft: theme.spacing(2),
|
|
4131
4128
|
paddingRight: theme.spacing(2),
|
|
@@ -4135,8 +4132,8 @@ var useStyles24 = (0, import_mui26.makeStyles)()((theme) => ({
|
|
|
4135
4132
|
width: "fit-content"
|
|
4136
4133
|
},
|
|
4137
4134
|
siteTwo: {
|
|
4138
|
-
backgroundColor:
|
|
4139
|
-
color:
|
|
4135
|
+
backgroundColor: import_colors29.brown["50"],
|
|
4136
|
+
color: import_colors29.brown["500"],
|
|
4140
4137
|
padding: theme.spacing(0.5),
|
|
4141
4138
|
paddingLeft: theme.spacing(2),
|
|
4142
4139
|
paddingRight: theme.spacing(2),
|
|
@@ -4526,7 +4523,7 @@ var Loading_default = Loading;
|
|
|
4526
4523
|
// src/components/LocationsSectionInfo/LocationsSectionInfo.tsx
|
|
4527
4524
|
var import_react18 = require("react");
|
|
4528
4525
|
var import_material36 = require("@mui/material");
|
|
4529
|
-
var
|
|
4526
|
+
var import_colors34 = require("@mui/material/colors");
|
|
4530
4527
|
var import_classnames2 = __toESM(require("classnames"), 1);
|
|
4531
4528
|
var import_mui32 = require("tss-react/mui");
|
|
4532
4529
|
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
@@ -4555,8 +4552,8 @@ var useStyles30 = (0, import_mui32.makeStyles)()(() => ({
|
|
|
4555
4552
|
borderColor: colors.neutral100
|
|
4556
4553
|
},
|
|
4557
4554
|
pickingStockChip: {
|
|
4558
|
-
backgroundColor:
|
|
4559
|
-
color:
|
|
4555
|
+
backgroundColor: import_colors34.purple[50],
|
|
4556
|
+
color: import_colors34.purple[500]
|
|
4560
4557
|
}
|
|
4561
4558
|
}));
|
|
4562
4559
|
var LocationsSectionInfo = ({
|
|
@@ -6719,13 +6716,13 @@ var SmartSelect_default = SmartSelect;
|
|
|
6719
6716
|
// src/components/SquareLabel/SquareLabel.tsx
|
|
6720
6717
|
var import_react30 = require("react");
|
|
6721
6718
|
var import_material56 = require("@mui/material");
|
|
6722
|
-
var
|
|
6719
|
+
var import_colors49 = require("@mui/material/colors");
|
|
6723
6720
|
var import_mui50 = require("tss-react/mui");
|
|
6724
6721
|
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
6725
6722
|
var useStyles45 = (0, import_mui50.makeStyles)()((theme) => ({
|
|
6726
6723
|
red: {
|
|
6727
|
-
backgroundColor:
|
|
6728
|
-
color:
|
|
6724
|
+
backgroundColor: import_colors49.red["50"],
|
|
6725
|
+
color: import_colors49.red["500"],
|
|
6729
6726
|
padding: theme.spacing(1.5),
|
|
6730
6727
|
borderRadius: "5px",
|
|
6731
6728
|
marginTop: theme.spacing(1),
|
|
@@ -6753,7 +6750,7 @@ var LSwitch = ({
|
|
|
6753
6750
|
classes,
|
|
6754
6751
|
disabled
|
|
6755
6752
|
}) => /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: classes.c_switch, children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(
|
|
6756
|
-
import_material57.
|
|
6753
|
+
import_material57.Grid,
|
|
6757
6754
|
{
|
|
6758
6755
|
component: "label",
|
|
6759
6756
|
container: true,
|
|
@@ -6762,8 +6759,8 @@ var LSwitch = ({
|
|
|
6762
6759
|
alignItems: "center"
|
|
6763
6760
|
},
|
|
6764
6761
|
children: [
|
|
6765
|
-
labelOff && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_material57.
|
|
6766
|
-
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_material57.
|
|
6762
|
+
labelOff && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_material57.Grid, { children: labelOff }),
|
|
6763
|
+
/* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_material57.Grid, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
|
|
6767
6764
|
import_material57.Switch,
|
|
6768
6765
|
{
|
|
6769
6766
|
checked,
|
|
@@ -6772,7 +6769,7 @@ var LSwitch = ({
|
|
|
6772
6769
|
disabled
|
|
6773
6770
|
}
|
|
6774
6771
|
) }),
|
|
6775
|
-
labelOn && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_material57.
|
|
6772
|
+
labelOn && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_material57.Grid, { children: labelOn })
|
|
6776
6773
|
]
|
|
6777
6774
|
}
|
|
6778
6775
|
) });
|