@natoora-libs/core 0.1.20 → 0.2.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.
|
@@ -1355,9 +1355,7 @@ var BottomBar_default = BottomBar;
|
|
|
1355
1355
|
// src/components/BoxButton/BoxButton.tsx
|
|
1356
1356
|
var import_react6 = require("react");
|
|
1357
1357
|
var import_material12 = require("@mui/material");
|
|
1358
|
-
var
|
|
1359
|
-
var import_orange = __toESM(require("@mui/material/colors/orange"), 1);
|
|
1360
|
-
var import_red = __toESM(require("@mui/material/colors/red"), 1);
|
|
1358
|
+
var import_colors6 = require("@mui/material/colors");
|
|
1361
1359
|
var import_mui6 = require("tss-react/mui");
|
|
1362
1360
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1363
1361
|
var useStyles6 = (0, import_mui6.makeStyles)()((theme) => ({
|
|
@@ -1384,17 +1382,17 @@ var useStyles6 = (0, import_mui6.makeStyles)()((theme) => ({
|
|
|
1384
1382
|
borderStyle: "solid"
|
|
1385
1383
|
},
|
|
1386
1384
|
green: {
|
|
1387
|
-
borderColor:
|
|
1385
|
+
borderColor: import_colors6.green["500"],
|
|
1388
1386
|
borderWidth: 3,
|
|
1389
1387
|
borderStyle: "solid"
|
|
1390
1388
|
},
|
|
1391
1389
|
red: {
|
|
1392
|
-
borderColor:
|
|
1390
|
+
borderColor: import_colors6.red["500"],
|
|
1393
1391
|
borderWidth: 3,
|
|
1394
1392
|
borderStyle: "solid"
|
|
1395
1393
|
},
|
|
1396
1394
|
orange: {
|
|
1397
|
-
borderColor:
|
|
1395
|
+
borderColor: import_colors6.orange["500"],
|
|
1398
1396
|
borderWidth: 3,
|
|
1399
1397
|
borderStyle: "solid"
|
|
1400
1398
|
},
|
|
@@ -1415,7 +1413,7 @@ var BoxButton = (props) => {
|
|
|
1415
1413
|
children: [
|
|
1416
1414
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_material12.Typography, { variant: "button", children: label }),
|
|
1417
1415
|
/* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
1418
|
-
import_material12.
|
|
1416
|
+
import_material12.Grid,
|
|
1419
1417
|
{
|
|
1420
1418
|
container: true,
|
|
1421
1419
|
direction: "row",
|
|
@@ -1424,8 +1422,8 @@ var BoxButton = (props) => {
|
|
|
1424
1422
|
alignItems: "center"
|
|
1425
1423
|
},
|
|
1426
1424
|
children: [
|
|
1427
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_material12.
|
|
1428
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_material12.
|
|
1425
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_material12.Grid, { size: 9, children: main }),
|
|
1426
|
+
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_material12.Grid, { className: classes.c_box_button__extra, size: 3, children: extra })
|
|
1429
1427
|
]
|
|
1430
1428
|
}
|
|
1431
1429
|
)
|
|
@@ -4374,7 +4372,7 @@ var DataGrid_default = DataGrid;
|
|
|
4374
4372
|
var import_moment = __toESM(require("moment"), 1);
|
|
4375
4373
|
|
|
4376
4374
|
// src/resources/styles/themes/default.js
|
|
4377
|
-
var
|
|
4375
|
+
var import_colors26 = require("@mui/material/colors");
|
|
4378
4376
|
var import_styles = require("@mui/material/styles");
|
|
4379
4377
|
var defaultTheme = (0, import_styles.createTheme)({
|
|
4380
4378
|
typography: {
|
|
@@ -4389,14 +4387,14 @@ var defaultTheme = (0, import_styles.createTheme)({
|
|
|
4389
4387
|
primary: {
|
|
4390
4388
|
main: colors.muiPrimary,
|
|
4391
4389
|
alternate: colors.muiPrimaryAlternate,
|
|
4392
|
-
light:
|
|
4393
|
-
contrastText:
|
|
4390
|
+
light: import_colors26.grey["100"],
|
|
4391
|
+
contrastText: import_colors26.grey["50"]
|
|
4394
4392
|
},
|
|
4395
4393
|
secondary: {
|
|
4396
4394
|
main: colors.muiSecondary,
|
|
4397
4395
|
alternate: colors.muiSecondaryAlternate,
|
|
4398
|
-
dark:
|
|
4399
|
-
light:
|
|
4396
|
+
dark: import_colors26.grey["900"],
|
|
4397
|
+
light: import_colors26.grey["50"]
|
|
4400
4398
|
},
|
|
4401
4399
|
success: {
|
|
4402
4400
|
main: colors.muiSuccess,
|
|
@@ -4623,14 +4621,13 @@ var FileCard_default = FileCard;
|
|
|
4623
4621
|
// src/components/FilledLabel/FilledLabel.tsx
|
|
4624
4622
|
var import_react18 = require("react");
|
|
4625
4623
|
var import_material34 = require("@mui/material");
|
|
4626
|
-
var
|
|
4627
|
-
var import_teal = __toESM(require("@mui/material/colors/teal"), 1);
|
|
4624
|
+
var import_colors30 = require("@mui/material/colors");
|
|
4628
4625
|
var import_mui26 = require("tss-react/mui");
|
|
4629
4626
|
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
4630
4627
|
var useStyles24 = (0, import_mui26.makeStyles)()((theme) => ({
|
|
4631
4628
|
siteOne: {
|
|
4632
|
-
backgroundColor:
|
|
4633
|
-
color:
|
|
4629
|
+
backgroundColor: import_colors30.teal["50"],
|
|
4630
|
+
color: import_colors30.teal["500"],
|
|
4634
4631
|
padding: theme.spacing(0.5),
|
|
4635
4632
|
paddingLeft: theme.spacing(2),
|
|
4636
4633
|
paddingRight: theme.spacing(2),
|
|
@@ -4640,8 +4637,8 @@ var useStyles24 = (0, import_mui26.makeStyles)()((theme) => ({
|
|
|
4640
4637
|
width: "fit-content"
|
|
4641
4638
|
},
|
|
4642
4639
|
siteTwo: {
|
|
4643
|
-
backgroundColor:
|
|
4644
|
-
color:
|
|
4640
|
+
backgroundColor: import_colors30.brown["50"],
|
|
4641
|
+
color: import_colors30.brown["500"],
|
|
4645
4642
|
padding: theme.spacing(0.5),
|
|
4646
4643
|
paddingLeft: theme.spacing(2),
|
|
4647
4644
|
paddingRight: theme.spacing(2),
|
|
@@ -5031,7 +5028,7 @@ var Loading_default = Loading;
|
|
|
5031
5028
|
// src/components/LocationsSectionInfo/LocationsSectionInfo.tsx
|
|
5032
5029
|
var import_react21 = require("react");
|
|
5033
5030
|
var import_material41 = require("@mui/material");
|
|
5034
|
-
var
|
|
5031
|
+
var import_colors35 = require("@mui/material/colors");
|
|
5035
5032
|
var import_classnames2 = __toESM(require("classnames"), 1);
|
|
5036
5033
|
var import_mui32 = require("tss-react/mui");
|
|
5037
5034
|
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
@@ -5060,8 +5057,8 @@ var useStyles30 = (0, import_mui32.makeStyles)()(() => ({
|
|
|
5060
5057
|
borderColor: colors.neutral100
|
|
5061
5058
|
},
|
|
5062
5059
|
pickingStockChip: {
|
|
5063
|
-
backgroundColor:
|
|
5064
|
-
color:
|
|
5060
|
+
backgroundColor: import_colors35.purple[50],
|
|
5061
|
+
color: import_colors35.purple[500]
|
|
5065
5062
|
}
|
|
5066
5063
|
}));
|
|
5067
5064
|
var LocationsSectionInfo = ({
|
|
@@ -7178,13 +7175,13 @@ var SmartSelect_default = SmartSelect;
|
|
|
7178
7175
|
// src/components/SquareLabel/SquareLabel.tsx
|
|
7179
7176
|
var import_react32 = require("react");
|
|
7180
7177
|
var import_material60 = require("@mui/material");
|
|
7181
|
-
var
|
|
7178
|
+
var import_colors50 = require("@mui/material/colors");
|
|
7182
7179
|
var import_mui50 = require("tss-react/mui");
|
|
7183
7180
|
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
7184
7181
|
var useStyles45 = (0, import_mui50.makeStyles)()((theme) => ({
|
|
7185
7182
|
red: {
|
|
7186
|
-
backgroundColor:
|
|
7187
|
-
color:
|
|
7183
|
+
backgroundColor: import_colors50.red["50"],
|
|
7184
|
+
color: import_colors50.red["500"],
|
|
7188
7185
|
padding: theme.spacing(1.5),
|
|
7189
7186
|
borderRadius: "5px",
|
|
7190
7187
|
marginTop: theme.spacing(1),
|
|
@@ -7212,7 +7209,7 @@ var LSwitch = ({
|
|
|
7212
7209
|
classes,
|
|
7213
7210
|
disabled
|
|
7214
7211
|
}) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { className: classes.c_switch, children: /* @__PURE__ */ (0, import_jsx_runtime113.jsxs)(
|
|
7215
|
-
import_material61.
|
|
7212
|
+
import_material61.Grid,
|
|
7216
7213
|
{
|
|
7217
7214
|
component: "label",
|
|
7218
7215
|
container: true,
|
|
@@ -7221,8 +7218,8 @@ var LSwitch = ({
|
|
|
7221
7218
|
alignItems: "center"
|
|
7222
7219
|
},
|
|
7223
7220
|
children: [
|
|
7224
|
-
labelOff && /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.
|
|
7225
|
-
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.
|
|
7221
|
+
labelOff && /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Grid, { children: labelOff }),
|
|
7222
|
+
/* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Grid, { children: /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(
|
|
7226
7223
|
import_material61.Switch,
|
|
7227
7224
|
{
|
|
7228
7225
|
checked,
|
|
@@ -7231,7 +7228,7 @@ var LSwitch = ({
|
|
|
7231
7228
|
disabled
|
|
7232
7229
|
}
|
|
7233
7230
|
) }),
|
|
7234
|
-
labelOn && /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.
|
|
7231
|
+
labelOn && /* @__PURE__ */ (0, import_jsx_runtime113.jsx)(import_material61.Grid, { children: labelOn })
|
|
7235
7232
|
]
|
|
7236
7233
|
}
|
|
7237
7234
|
) });
|