@natoora-libs/core 0.2.24-dev-package-upgrades-2 → 0.2.24-dev-package-upgrades-3

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.
@@ -77,6 +77,7 @@ declare const AutocompleteFilterMenuContent: FC<AutocompleteFilterMenuContentPro
77
77
  interface BackHeaderProps {
78
78
  appName: string;
79
79
  onGoBackClick?: () => void;
80
+ sideComponent?: React.ReactElement;
80
81
  }
81
82
  declare const BackHeader: React.FC<BackHeaderProps>;
82
83
 
@@ -77,6 +77,7 @@ declare const AutocompleteFilterMenuContent: FC<AutocompleteFilterMenuContentPro
77
77
  interface BackHeaderProps {
78
78
  appName: string;
79
79
  onGoBackClick?: () => void;
80
+ sideComponent?: React.ReactElement;
80
81
  }
81
82
  declare const BackHeader: React.FC<BackHeaderProps>;
82
83
 
@@ -14,9 +14,9 @@ import {
14
14
  __toESM
15
15
  } from "../chunk-5WRI5ZAA.js";
16
16
 
17
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObject.js
17
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObject.js
18
18
  var require_isObject = __commonJS({
19
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObject.js"(exports, module) {
19
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObject.js"(exports, module) {
20
20
  function isObject(value) {
21
21
  var type = typeof value;
22
22
  return value != null && (type == "object" || type == "function");
@@ -25,17 +25,17 @@ var require_isObject = __commonJS({
25
25
  }
26
26
  });
27
27
 
28
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_freeGlobal.js
28
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_freeGlobal.js
29
29
  var require_freeGlobal = __commonJS({
30
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_freeGlobal.js"(exports, module) {
30
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_freeGlobal.js"(exports, module) {
31
31
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
32
32
  module.exports = freeGlobal;
33
33
  }
34
34
  });
35
35
 
36
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_root.js
36
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_root.js
37
37
  var require_root = __commonJS({
38
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_root.js"(exports, module) {
38
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_root.js"(exports, module) {
39
39
  var freeGlobal = require_freeGlobal();
40
40
  var freeSelf = typeof self == "object" && self && self.Object === Object && self;
41
41
  var root = freeGlobal || freeSelf || Function("return this")();
@@ -43,9 +43,9 @@ var require_root = __commonJS({
43
43
  }
44
44
  });
45
45
 
46
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/now.js
46
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/now.js
47
47
  var require_now = __commonJS({
48
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/now.js"(exports, module) {
48
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/now.js"(exports, module) {
49
49
  var root = require_root();
50
50
  var now = function() {
51
51
  return root.Date.now();
@@ -54,9 +54,9 @@ var require_now = __commonJS({
54
54
  }
55
55
  });
56
56
 
57
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_trimmedEndIndex.js
57
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_trimmedEndIndex.js
58
58
  var require_trimmedEndIndex = __commonJS({
59
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_trimmedEndIndex.js"(exports, module) {
59
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_trimmedEndIndex.js"(exports, module) {
60
60
  var reWhitespace = /\s/;
61
61
  function trimmedEndIndex(string) {
62
62
  var index = string.length;
@@ -68,9 +68,9 @@ var require_trimmedEndIndex = __commonJS({
68
68
  }
69
69
  });
70
70
 
71
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTrim.js
71
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseTrim.js
72
72
  var require_baseTrim = __commonJS({
73
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseTrim.js"(exports, module) {
73
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseTrim.js"(exports, module) {
74
74
  var trimmedEndIndex = require_trimmedEndIndex();
75
75
  var reTrimStart = /^\s+/;
76
76
  function baseTrim(string) {
@@ -80,18 +80,18 @@ var require_baseTrim = __commonJS({
80
80
  }
81
81
  });
82
82
 
83
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Symbol.js
83
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_Symbol.js
84
84
  var require_Symbol = __commonJS({
85
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_Symbol.js"(exports, module) {
85
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_Symbol.js"(exports, module) {
86
86
  var root = require_root();
87
87
  var Symbol = root.Symbol;
88
88
  module.exports = Symbol;
89
89
  }
90
90
  });
91
91
 
92
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getRawTag.js
92
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getRawTag.js
93
93
  var require_getRawTag = __commonJS({
94
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_getRawTag.js"(exports, module) {
94
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_getRawTag.js"(exports, module) {
95
95
  var Symbol = require_Symbol();
96
96
  var objectProto = Object.prototype;
97
97
  var hasOwnProperty = objectProto.hasOwnProperty;
@@ -118,9 +118,9 @@ var require_getRawTag = __commonJS({
118
118
  }
119
119
  });
120
120
 
121
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_objectToString.js
121
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_objectToString.js
122
122
  var require_objectToString = __commonJS({
123
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_objectToString.js"(exports, module) {
123
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_objectToString.js"(exports, module) {
124
124
  var objectProto = Object.prototype;
125
125
  var nativeObjectToString = objectProto.toString;
126
126
  function objectToString(value) {
@@ -130,9 +130,9 @@ var require_objectToString = __commonJS({
130
130
  }
131
131
  });
132
132
 
133
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetTag.js
133
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseGetTag.js
134
134
  var require_baseGetTag = __commonJS({
135
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/_baseGetTag.js"(exports, module) {
135
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/_baseGetTag.js"(exports, module) {
136
136
  var Symbol = require_Symbol();
137
137
  var getRawTag = require_getRawTag();
138
138
  var objectToString = require_objectToString();
@@ -149,9 +149,9 @@ var require_baseGetTag = __commonJS({
149
149
  }
150
150
  });
151
151
 
152
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObjectLike.js
152
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObjectLike.js
153
153
  var require_isObjectLike = __commonJS({
154
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isObjectLike.js"(exports, module) {
154
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isObjectLike.js"(exports, module) {
155
155
  function isObjectLike(value) {
156
156
  return value != null && typeof value == "object";
157
157
  }
@@ -159,9 +159,9 @@ var require_isObjectLike = __commonJS({
159
159
  }
160
160
  });
161
161
 
162
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSymbol.js
162
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isSymbol.js
163
163
  var require_isSymbol = __commonJS({
164
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/isSymbol.js"(exports, module) {
164
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/isSymbol.js"(exports, module) {
165
165
  var baseGetTag = require_baseGetTag();
166
166
  var isObjectLike = require_isObjectLike();
167
167
  var symbolTag = "[object Symbol]";
@@ -172,9 +172,9 @@ var require_isSymbol = __commonJS({
172
172
  }
173
173
  });
174
174
 
175
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toNumber.js
175
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/toNumber.js
176
176
  var require_toNumber = __commonJS({
177
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/toNumber.js"(exports, module) {
177
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/toNumber.js"(exports, module) {
178
178
  var baseTrim = require_baseTrim();
179
179
  var isObject = require_isObject();
180
180
  var isSymbol = require_isSymbol();
@@ -205,9 +205,9 @@ var require_toNumber = __commonJS({
205
205
  }
206
206
  });
207
207
 
208
- // ../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/debounce.js
208
+ // ../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/debounce.js
209
209
  var require_debounce = __commonJS({
210
- "../node_modules/.pnpm/lodash@4.17.23/node_modules/lodash/debounce.js"(exports, module) {
210
+ "../node_modules/.pnpm/lodash@4.18.1/node_modules/lodash/debounce.js"(exports, module) {
211
211
  var isObject = require_isObject();
212
212
  var now = require_now();
213
213
  var toNumber = require_toNumber();
@@ -1141,12 +1141,15 @@ var AutocompleteFilterMenuContent = ({
1141
1141
 
1142
1142
  // src/components/BackHeader/BackHeader.tsx
1143
1143
  import { useNavigate } from "react-router";
1144
- import { KeyboardBackspace as KeyboardBackspaceIcon } from "@mui/icons-material";
1144
+ import KeyboardBackspace from "@mui/icons-material/KeyboardBackspace";
1145
1145
  import { Box as Box9, Button as Button6, Typography as Typography6 } from "@mui/material";
1146
1146
  import { makeStyles as makeStyles4 } from "tss-react/mui";
1147
1147
  import { jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
1148
1148
  var useStyles4 = makeStyles4()((theme) => ({
1149
1149
  header: {
1150
+ display: "flex",
1151
+ alignItems: "center",
1152
+ justifyContent: "space-between",
1150
1153
  padding: theme.spacing(2, 3),
1151
1154
  borderBottom: `1px solid ${colors.neutral400}`,
1152
1155
  backgroundColor: colors.neutral100
@@ -1167,7 +1170,11 @@ var useStyles4 = makeStyles4()((theme) => ({
1167
1170
  textTransform: "none"
1168
1171
  }
1169
1172
  }));
1170
- var BackHeader = ({ appName, onGoBackClick }) => {
1173
+ var BackHeader = ({
1174
+ appName,
1175
+ onGoBackClick,
1176
+ sideComponent = null
1177
+ }) => {
1171
1178
  const { classes } = useStyles4();
1172
1179
  const navigate = useNavigate();
1173
1180
  const handleBackClick = () => {
@@ -1176,10 +1183,13 @@ var BackHeader = ({ appName, onGoBackClick }) => {
1176
1183
  }
1177
1184
  return navigate(-1);
1178
1185
  };
1179
- return /* @__PURE__ */ jsx13(Box9, { component: "header", className: classes.header, children: /* @__PURE__ */ jsx13(Button6, { className: classes.button, onClick: handleBackClick, children: /* @__PURE__ */ jsxs9(Box9, { component: "span", className: classes.text, children: [
1180
- /* @__PURE__ */ jsx13(KeyboardBackspaceIcon, { className: classes.icon }),
1181
- /* @__PURE__ */ jsx13(Typography6, { variant: "body1", children: appName })
1182
- ] }) }) });
1186
+ return /* @__PURE__ */ jsxs9(Box9, { component: "header", className: classes.header, children: [
1187
+ /* @__PURE__ */ jsx13(Button6, { className: classes.button, onClick: handleBackClick, children: /* @__PURE__ */ jsxs9(Box9, { component: "span", className: classes.text, children: [
1188
+ /* @__PURE__ */ jsx13(KeyboardBackspace, { className: classes.icon }),
1189
+ /* @__PURE__ */ jsx13(Typography6, { variant: "body1", color: "textPrimary", children: appName })
1190
+ ] }) }),
1191
+ sideComponent
1192
+ ] });
1183
1193
  };
1184
1194
  var BackHeader_default = BackHeader;
1185
1195