@contentmunch/contentmunch-ui 1.0.34 → 1.0.35

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/lib/index.es.js CHANGED
@@ -15,16 +15,16 @@ function ue() {
15
15
  le = 1;
16
16
  var n = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
17
17
  function r(i, c, a) {
18
- var x = null;
19
- if (a !== void 0 && (x = "" + a), c.key !== void 0 && (x = "" + c.key), "key" in c) {
18
+ var o = null;
19
+ if (a !== void 0 && (o = "" + a), c.key !== void 0 && (o = "" + c.key), "key" in c) {
20
20
  a = {};
21
- for (var o in c)
22
- o !== "key" && (a[o] = c[o]);
21
+ for (var x in c)
22
+ x !== "key" && (a[x] = c[x]);
23
23
  } else a = c;
24
24
  return c = a.ref, {
25
25
  $$typeof: n,
26
26
  type: i,
27
- key: x,
27
+ key: o,
28
28
  ref: c !== void 0 ? c : null,
29
29
  props: a
30
30
  };
@@ -125,16 +125,16 @@ function ye() {
125
125
  function a() {
126
126
  return Error("react-stack-top-frame");
127
127
  }
128
- function x(l) {
128
+ function o(l) {
129
129
  if (X.call(l, "key")) {
130
130
  var y = Object.getOwnPropertyDescriptor(l, "key").get;
131
131
  if (y && y.isReactWarning) return !1;
132
132
  }
133
133
  return l.key !== void 0;
134
134
  }
135
- function o(l, y) {
135
+ function x(l, y) {
136
136
  function b() {
137
- Y || (Y = !0, console.error(
137
+ $ || ($ = !0, console.error(
138
138
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
139
139
  y
140
140
  ));
@@ -146,7 +146,7 @@ function ye() {
146
146
  }
147
147
  function d() {
148
148
  var l = n(this.type);
149
- return $[l] || ($[l] = !0, console.error(
149
+ return Y[l] || (Y[l] = !0, console.error(
150
150
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
151
151
  )), l = this.props.ref, l !== void 0 ? l : null;
152
152
  }
@@ -213,12 +213,12 @@ React keys must be passed directly to JSX without using spread:
213
213
  R
214
214
  ), re[R + E] = !0);
215
215
  }
216
- if (R = null, b !== void 0 && (r(b), R = "" + b), x(y) && (r(y.key), R = "" + y.key), "key" in y) {
216
+ if (R = null, b !== void 0 && (r(b), R = "" + b), o(y) && (r(y.key), R = "" + y.key), "key" in y) {
217
217
  b = {};
218
218
  for (var ne in y)
219
219
  ne !== "key" && (b[ne] = y[ne]);
220
220
  } else b = y;
221
- return R && o(
221
+ return R && x(
222
222
  b,
223
223
  typeof l == "function" ? l.displayName || l.name || "Unknown" : l
224
224
  ), h(
@@ -243,7 +243,7 @@ React keys must be passed directly to JSX without using spread:
243
243
  return l();
244
244
  }
245
245
  };
246
- var Y, $ = {}, U = p["react-stack-bottom-frame"].bind(
246
+ var $, Y = {}, U = p["react-stack-bottom-frame"].bind(
247
247
  p,
248
248
  a
249
249
  )(), W = I(i(a)), re = {};
@@ -280,7 +280,7 @@ function pe() {
280
280
  }
281
281
  var e = pe();
282
282
  const Re = ({ variant: n, children: t }) => {
283
- const { folds: r } = t, [i, c] = A(0), a = (d) => d === i ? "fold active" : "fold", x = (d) => "fold-button" + (n ? " fold-button--" + n : "") + (r[d].foldColor ? " fold-button--primary fold-button--" + r[d].foldColor : ""), o = (d) => {
283
+ const { folds: r } = t, [i, c] = A(0), a = (d) => d === i ? "fold active" : "fold", o = (d) => "fold-button" + (n ? " fold-button--" + n : "") + (r[d].foldColor ? " fold-button--primary fold-button--" + r[d].foldColor : ""), x = (d) => {
284
284
  const h = d.which.toString(), j = d.ctrlKey && h.match(/33|34/);
285
285
  if (h.match(/38|40/) || j) {
286
286
  const u = h.match(/34|40/) ? 1 : -1, p = r.length, f = (i + p + u) % p;
@@ -299,8 +299,8 @@ const Re = ({ variant: n, children: t }) => {
299
299
  /* @__PURE__ */ e.jsx(
300
300
  "button",
301
301
  {
302
- className: x(h),
303
- onKeyDown: o,
302
+ className: o(h),
303
+ onKeyDown: x,
304
304
  onClick: () => c(h),
305
305
  children: /* @__PURE__ */ e.jsx("span", { children: d.heading })
306
306
  }
@@ -1069,10 +1069,10 @@ const Re = ({ variant: n, children: t }) => {
1069
1069
  /* @__PURE__ */ e.jsx("path", { d: "M20.49 15a9 9 0 1 1-2.12-9.36L23 10" }),
1070
1070
  /* @__PURE__ */ e.jsx("text", { x: "6", y: "14", fontSize: "6", fontFamily: "'Lucida Grande', sans-serif", children: "360" })
1071
1071
  ] })
1072
- }, w = ({ color: n, name: t, size: r = "small", weight: i = 2, onClick: c, iconString: a, orientation: x, children: o }) => {
1072
+ }, w = ({ color: n, name: t, size: r = "small", weight: i = 2, onClick: c, iconString: a, orientation: o, children: x }) => {
1073
1073
  const d = r ? "muncher-icon--" + r : "muncher-icon--small";
1074
1074
  return /* @__PURE__ */ e.jsxs("span", { className: "muncher-icon", children: [
1075
- o && x && x === "right" ? /* @__PURE__ */ e.jsx("span", { className: "content-left", children: o }) : "",
1075
+ x && o && o === "right" ? /* @__PURE__ */ e.jsx("span", { className: "content-left", children: x }) : "",
1076
1076
  /* @__PURE__ */ e.jsx(
1077
1077
  "svg",
1078
1078
  {
@@ -1088,7 +1088,7 @@ const Re = ({ variant: n, children: t }) => {
1088
1088
  children: t ? ae[t] : a ? Object(ae)[a] : ""
1089
1089
  }
1090
1090
  ),
1091
- o && (!x || x === "left") ? /* @__PURE__ */ e.jsx("span", { className: "content-right", children: o }) : ""
1091
+ x && (!o || o === "left") ? /* @__PURE__ */ e.jsx("span", { className: "content-right", children: x }) : ""
1092
1092
  ] });
1093
1093
  }, Te = ({
1094
1094
  variant: n = "primary",
@@ -1114,15 +1114,15 @@ const Re = ({ variant: n, children: t }) => {
1114
1114
  title: i,
1115
1115
  active: c,
1116
1116
  disabled: a,
1117
- rounded: x,
1118
- onClick: o,
1117
+ rounded: o,
1118
+ onClick: x,
1119
1119
  onMouseDown: d,
1120
1120
  onMouseEnter: h,
1121
1121
  onMouseLeave: j,
1122
1122
  children: u,
1123
1123
  ...p
1124
1124
  }) => {
1125
- const f = "muncher-button" + (n && n === "nav" ? " muncher-button--nav" : "") + (t ? " muncher-button--" + t : "") + (r ? " muncher-button--" + r : "") + (c ? " muncher-button--active" : "") + (x ? " muncher-button--rounded" : "");
1125
+ const f = "muncher-button" + (n && n === "nav" ? " muncher-button--nav" : "") + (t ? " muncher-button--" + t : "") + (r ? " muncher-button--" + r : "") + (c ? " muncher-button--active" : "") + (o ? " muncher-button--rounded" : "");
1126
1126
  return /* @__PURE__ */ e.jsx(
1127
1127
  "button",
1128
1128
  {
@@ -1130,7 +1130,7 @@ const Re = ({ variant: n, children: t }) => {
1130
1130
  className: f,
1131
1131
  disabled: !!a,
1132
1132
  title: i,
1133
- onClick: o,
1133
+ onClick: x,
1134
1134
  onMouseDown: d,
1135
1135
  onMouseEnter: h,
1136
1136
  onMouseLeave: j,
@@ -1145,8 +1145,8 @@ const Re = ({ variant: n, children: t }) => {
1145
1145
  active: i,
1146
1146
  disabled: c,
1147
1147
  element: a,
1148
- onMouseDown: x,
1149
- rounded: o,
1148
+ onMouseDown: o,
1149
+ rounded: x,
1150
1150
  drop: d,
1151
1151
  onClick: h,
1152
1152
  onClose: j,
@@ -1198,7 +1198,7 @@ const Re = ({ variant: n, children: t }) => {
1198
1198
  onMouseDown: v,
1199
1199
  title: r,
1200
1200
  disabled: c,
1201
- rounded: o,
1201
+ rounded: x,
1202
1202
  active: i,
1203
1203
  variant: n,
1204
1204
  size: t,
@@ -1223,9 +1223,10 @@ const Re = ({ variant: n, children: t }) => {
1223
1223
  disabled: r,
1224
1224
  element: i,
1225
1225
  rounded: c,
1226
- children: a,
1226
+ dropLeft: a,
1227
+ children: o,
1227
1228
  ...x
1228
- }) => /* @__PURE__ */ e.jsxs("div", { className: "muncher-dropdown-nav", children: [
1229
+ }) => /* @__PURE__ */ e.jsxs("div", { className: `muncher-dropdown-nav ${a ? "drop-left" : ""}`, children: [
1229
1230
  /* @__PURE__ */ e.jsx(
1230
1231
  O,
1231
1232
  {
@@ -1238,7 +1239,7 @@ const Re = ({ variant: n, children: t }) => {
1238
1239
  children: i
1239
1240
  }
1240
1241
  ),
1241
- /* @__PURE__ */ e.jsx("div", { className: "muncher-dropdown-nav--content", children: a })
1242
+ /* @__PURE__ */ e.jsx("div", { className: "muncher-dropdown-nav--content", children: o })
1242
1243
  ] }), ge = (n) => {
1243
1244
  navigator.clipboard.writeText(n);
1244
1245
  }, be = ({
@@ -1246,9 +1247,9 @@ const Re = ({ variant: n, children: t }) => {
1246
1247
  variant: t = "secondary",
1247
1248
  size: r = "small"
1248
1249
  }) => {
1249
- const [i, c] = A(), [a, x] = A("copy"), [o, d] = A("copy link"), h = () => {
1250
- ge(n), c("green"), x("check"), d("copied!"), setTimeout(function() {
1251
- c(""), x("copy");
1250
+ const [i, c] = A(), [a, o] = A("copy"), [x, d] = A("copy link"), h = () => {
1251
+ ge(n), c("green"), o("check"), d("copied!"), setTimeout(function() {
1252
+ c(""), o("copy");
1252
1253
  }, 2e3);
1253
1254
  };
1254
1255
  return /* @__PURE__ */ e.jsx(
@@ -1256,7 +1257,7 @@ const Re = ({ variant: n, children: t }) => {
1256
1257
  {
1257
1258
  size: r,
1258
1259
  variant: t,
1259
- title: o,
1260
+ title: x,
1260
1261
  onClick: h,
1261
1262
  children: /* @__PURE__ */ e.jsx(w, { name: a, color: i })
1262
1263
  }
@@ -1315,14 +1316,14 @@ const Re = ({ variant: n, children: t }) => {
1315
1316
  variant: i,
1316
1317
  size: c,
1317
1318
  title: a,
1318
- active: x,
1319
- disabled: o,
1319
+ active: o,
1320
+ disabled: x,
1320
1321
  rounded: d
1321
1322
  }) => {
1322
1323
  const h = encodeURI("data:text/csv;charset=utf-8," + n.join(",") + `
1323
1324
  ` + t.map((j) => j.join(",")).join(`
1324
1325
  `));
1325
- return /* @__PURE__ */ e.jsx("div", { className: "muncher-csv", children: /* @__PURE__ */ e.jsx(O, { variant: i, size: c, active: x, disabled: o, rounded: d, children: /* @__PURE__ */ e.jsx("a", { href: h, download: r + ".csv", children: /* @__PURE__ */ e.jsx(w, { name: "download", children: a || "Download" }) }) }) });
1326
+ return /* @__PURE__ */ e.jsx("div", { className: "muncher-csv", children: /* @__PURE__ */ e.jsx(O, { variant: i, size: c, active: o, disabled: x, rounded: d, children: /* @__PURE__ */ e.jsx("a", { href: h, download: r + ".csv", children: /* @__PURE__ */ e.jsx(w, { name: "download", children: a || "Download" }) }) }) });
1326
1327
  }, Ne = ({
1327
1328
  variant: n = "transparent",
1328
1329
  size: t = "small",
@@ -1330,8 +1331,8 @@ const Re = ({ variant: n, children: t }) => {
1330
1331
  sortAsc: i = "true",
1331
1332
  active: c,
1332
1333
  rounded: a,
1333
- onClick: x,
1334
- children: o
1334
+ onClick: o,
1335
+ children: x
1335
1336
  }) => {
1336
1337
  const [d, h] = A(!1), j = () => !c || c && !d ? i ? /* @__PURE__ */ e.jsx(w, { name: "sort-asc" }) : /* @__PURE__ */ e.jsx(w, { name: "sort-desc" }) : i ? /* @__PURE__ */ e.jsx(w, { name: "sort-desc" }) : /* @__PURE__ */ e.jsx(w, { name: "sort-asc" });
1337
1338
  return /* @__PURE__ */ e.jsxs(
@@ -1347,9 +1348,9 @@ const Re = ({ variant: n, children: t }) => {
1347
1348
  onMouseLeave: () => {
1348
1349
  h(!1);
1349
1350
  },
1350
- onClick: x,
1351
+ onClick: o,
1351
1352
  children: [
1352
- o,
1353
+ x,
1353
1354
  c || d ? /* @__PURE__ */ e.jsx(j, {}) : ""
1354
1355
  ]
1355
1356
  }
@@ -1361,9 +1362,9 @@ const Re = ({ variant: n, children: t }) => {
1361
1362
  isDisabled: i,
1362
1363
  variant: c = "primary",
1363
1364
  navIcon: a = "chevron",
1364
- onClick: x
1365
+ onClick: o
1365
1366
  }) => {
1366
- const o = () => {
1367
+ const x = () => {
1367
1368
  switch (a) {
1368
1369
  case "arrow":
1369
1370
  return n === "left" ? "arrow-left" : "arrow-right";
@@ -1382,12 +1383,12 @@ const Re = ({ variant: n, children: t }) => {
1382
1383
  children: /* @__PURE__ */ e.jsx(
1383
1384
  O,
1384
1385
  {
1385
- onClick: x,
1386
+ onClick: o,
1386
1387
  disabled: i,
1387
1388
  size: "small",
1388
1389
  variant: c,
1389
1390
  title: n === "left" ? "Navigate Left" : "Navigate Right",
1390
- children: /* @__PURE__ */ e.jsx(w, { name: o(), size: t, weight: r })
1391
+ children: /* @__PURE__ */ e.jsx(w, { name: x(), size: t, weight: r })
1391
1392
  }
1392
1393
  )
1393
1394
  }
@@ -1403,7 +1404,7 @@ const Re = ({ variant: n, children: t }) => {
1403
1404
  label: c,
1404
1405
  ...a
1405
1406
  }) => {
1406
- const [x, o] = A(i || !1);
1407
+ const [o, x] = A(i || !1);
1407
1408
  return /* @__PURE__ */ e.jsx("div", { className: "muncher-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "muncher-checkbox", children: [
1408
1409
  /* @__PURE__ */ e.jsx(
1409
1410
  "input",
@@ -1412,9 +1413,9 @@ const Re = ({ variant: n, children: t }) => {
1412
1413
  id: n,
1413
1414
  name: n,
1414
1415
  onChange: (d) => {
1415
- o(d.target.checked), r && r();
1416
+ x(d.target.checked), r && r();
1416
1417
  },
1417
- checked: x,
1418
+ checked: o,
1418
1419
  required: t,
1419
1420
  ...a
1420
1421
  }
@@ -1426,7 +1427,7 @@ const Re = ({ variant: n, children: t }) => {
1426
1427
  required: t,
1427
1428
  id: n,
1428
1429
  onClick: (d) => {
1429
- d.preventDefault(), o(!x), r && r();
1430
+ d.preventDefault(), x(!o), r && r();
1430
1431
  }
1431
1432
  }
1432
1433
  ) : ""
@@ -1444,14 +1445,14 @@ const Re = ({ variant: n, children: t }) => {
1444
1445
  size: i = "medium",
1445
1446
  required: c,
1446
1447
  active: a,
1447
- isUploading: x,
1448
- handleOnChange: o,
1448
+ isUploading: o,
1449
+ handleOnChange: x,
1449
1450
  warningMessage: d,
1450
1451
  successMessage: h,
1451
1452
  ...j
1452
1453
  }) => {
1453
1454
  const u = "muncher-button" + (r ? " muncher-button--" + r : "") + (i ? " muncher-button--" + i : "") + (a ? " muncher-button--active" : ""), p = (f) => {
1454
- o && o(f.currentTarget.files[0]);
1455
+ x && x(f.currentTarget.files[0]);
1455
1456
  };
1456
1457
  return /* @__PURE__ */ e.jsx("div", { className: "muncher-file-input--div", children: /* @__PURE__ */ e.jsxs("div", { className: "file-input-element", children: [
1457
1458
  /* @__PURE__ */ e.jsxs("label", { htmlFor: n, className: u, children: [
@@ -1459,7 +1460,7 @@ const Re = ({ variant: n, children: t }) => {
1459
1460
  " ",
1460
1461
  t || "Upload CSV",
1461
1462
  c ? /* @__PURE__ */ e.jsx("span", { className: "required", children: " *" }) : "",
1462
- x ? /* @__PURE__ */ e.jsx(he, { size: "tiny" }) : ""
1463
+ o ? /* @__PURE__ */ e.jsx(he, { size: "tiny" }) : ""
1463
1464
  ] }),
1464
1465
  /* @__PURE__ */ e.jsx(
1465
1466
  "input",
@@ -1483,8 +1484,8 @@ const Re = ({ variant: n, children: t }) => {
1483
1484
  size: i = "large",
1484
1485
  required: c,
1485
1486
  active: a,
1486
- setFiles: x,
1487
- error: o,
1487
+ setFiles: o,
1488
+ error: x,
1488
1489
  multiple: d = !1,
1489
1490
  maxFiles: h,
1490
1491
  ...j
@@ -1492,10 +1493,10 @@ const Re = ({ variant: n, children: t }) => {
1492
1493
  const [u, p] = A(""), [f, N] = A(""), g = h || 3, T = "muncher-button" + (r ? " muncher-button--" + r : "") + (i ? " muncher-button--" + i : "") + (a ? " muncher-button--active" : ""), v = (S) => {
1493
1494
  if (d) {
1494
1495
  let z = Array.from(S.currentTarget.files);
1495
- z.length > g && (z = z.slice(0, g), N("Only first " + g + " files included")), x(z), p(z.map((k) => k.name).join(", "));
1496
+ z.length > g && (z = z.slice(0, g), N("Only first " + g + " files included")), o(z), p(z.map((k) => k.name).join(", "));
1496
1497
  } else
1497
- x(Array.from(S.currentTarget.files[0])), p(S.currentTarget.files[0].name);
1498
- }, _ = () => o && o !== "";
1498
+ o(Array.from(S.currentTarget.files[0])), p(S.currentTarget.files[0].name);
1499
+ }, _ = () => x && x !== "";
1499
1500
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-file-input--div", children: [
1500
1501
  /* @__PURE__ */ e.jsxs("div", { className: "file-input-element", children: [
1501
1502
  /* @__PURE__ */ e.jsxs("label", { htmlFor: n, className: T, children: [
@@ -1520,7 +1521,7 @@ const Re = ({ variant: n, children: t }) => {
1520
1521
  )
1521
1522
  ] }),
1522
1523
  f !== "" ? /* @__PURE__ */ e.jsx("p", { className: "text-danger", children: f }) : "",
1523
- _() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: o }) }) : ""
1524
+ _() ? /* @__PURE__ */ e.jsx("div", { className: "muncher-input-error-message", children: /* @__PURE__ */ e.jsx(w, { name: "alert", children: x }) }) : ""
1524
1525
  ] });
1525
1526
  }, ke = ({
1526
1527
  name: n,
@@ -1529,8 +1530,8 @@ const Re = ({ variant: n, children: t }) => {
1529
1530
  readOnly: i,
1530
1531
  icon: c,
1531
1532
  hoverIcon: a,
1532
- onHoverIconClick: x,
1533
- type: o = "text",
1533
+ onHoverIconClick: o,
1534
+ type: x = "text",
1534
1535
  list: d,
1535
1536
  onBlur: h,
1536
1537
  labelPosition: j = "top",
@@ -1558,7 +1559,7 @@ const Re = ({ variant: n, children: t }) => {
1558
1559
  j === "side" ? m() : "",
1559
1560
  c ? /* @__PURE__ */ e.jsx(w, { name: c }) : "",
1560
1561
  a ? /* @__PURE__ */ e.jsxs("span", { className: "muncher-icon-hover", children: [
1561
- /* @__PURE__ */ e.jsx(w, { name: a, onClick: x }),
1562
+ /* @__PURE__ */ e.jsx(w, { name: a, onClick: o }),
1562
1563
  " "
1563
1564
  ] }) : "",
1564
1565
  /* @__PURE__ */ e.jsxs("div", { className: "muncher-input-wrapper", children: [
@@ -1570,7 +1571,7 @@ const Re = ({ variant: n, children: t }) => {
1570
1571
  name: n,
1571
1572
  autoFocus: f,
1572
1573
  value: v,
1573
- type: o || "text",
1574
+ type: x || "text",
1574
1575
  autoComplete: "off",
1575
1576
  placeholder: N,
1576
1577
  onChange: g,
@@ -1617,8 +1618,8 @@ const Re = ({ variant: n, children: t }) => {
1617
1618
  required: i,
1618
1619
  multiple: c,
1619
1620
  error: a,
1620
- onChange: x,
1621
- value: o,
1621
+ onChange: o,
1622
+ value: x,
1622
1623
  ...d
1623
1624
  }) => {
1624
1625
  const h = () => a && a !== "", j = () => {
@@ -1633,8 +1634,8 @@ const Re = ({ variant: n, children: t }) => {
1633
1634
  id: n,
1634
1635
  className: j(),
1635
1636
  name: n,
1636
- value: o,
1637
- onChange: x,
1637
+ value: x,
1638
+ onChange: o,
1638
1639
  required: i,
1639
1640
  multiple: c,
1640
1641
  ...d,
@@ -1655,8 +1656,8 @@ const Re = ({ variant: n, children: t }) => {
1655
1656
  readOnly: i = !1,
1656
1657
  rows: c = 6,
1657
1658
  maxLength: a = 1e3,
1658
- focus: x = !1,
1659
- placeholder: o,
1659
+ focus: o = !1,
1660
+ placeholder: x,
1660
1661
  onChange: d,
1661
1662
  value: h,
1662
1663
  ...j
@@ -1674,9 +1675,9 @@ const Re = ({ variant: n, children: t }) => {
1674
1675
  rows: c,
1675
1676
  maxLength: a,
1676
1677
  name: n,
1677
- autoFocus: x,
1678
+ autoFocus: o,
1678
1679
  value: h,
1679
- placeholder: o,
1680
+ placeholder: x,
1680
1681
  onChange: f,
1681
1682
  required: r,
1682
1683
  readOnly: i,
@@ -1695,8 +1696,8 @@ const Re = ({ variant: n, children: t }) => {
1695
1696
  showContent: i = !1,
1696
1697
  setShowContent: c,
1697
1698
  readOnly: a,
1698
- value: x,
1699
- label: o,
1699
+ value: o,
1700
+ label: x,
1700
1701
  error: d,
1701
1702
  required: h,
1702
1703
  children: j
@@ -1727,8 +1728,8 @@ const Re = ({ variant: n, children: t }) => {
1727
1728
  name: "query",
1728
1729
  onChange: p,
1729
1730
  readOnly: a,
1730
- value: x,
1731
- label: o,
1731
+ value: o,
1732
+ label: x,
1732
1733
  required: h,
1733
1734
  error: d
1734
1735
  }
@@ -1776,7 +1777,7 @@ const Re = ({ variant: n, children: t }) => {
1776
1777
  " ",
1777
1778
  t
1778
1779
  ] })
1779
- ] }), Ye = ({ value: n, max: t, label: r }) => {
1780
+ ] }), $e = ({ value: n, max: t, label: r }) => {
1780
1781
  const i = () => {
1781
1782
  const c = Math.round(n / t * 100) + "%";
1782
1783
  return r ? r + " " + c : c;
@@ -1785,11 +1786,11 @@ const Re = ({ variant: n, children: t }) => {
1785
1786
  /* @__PURE__ */ e.jsx("label", { htmlFor: "progress", children: i() }),
1786
1787
  /* @__PURE__ */ e.jsx("progress", { id: "progress", value: n, max: t, children: i() })
1787
1788
  ] });
1788
- }, $e = ({ variant: n, size: t, style: r }) => {
1789
+ }, Ye = ({ variant: n, size: t, style: r }) => {
1789
1790
  const i = "muncher-hr" + (n ? " muncher-hr--" + n : "") + (t ? " muncher-hr--" + t : "") + (r ? " muncher-hr--" + r : "");
1790
1791
  return /* @__PURE__ */ e.jsx("hr", { className: i });
1791
1792
  }, Ue = ({ sliderItems: n, navButtonSize: t = "large", navButtonWeight: r = 2, variant: i, navIcon: c, navButtonPlacement: a = "inside" }) => {
1792
- const [x, o] = A(0), [d, h] = A(0), j = () => n.length > 1 && x > 0 ? /* @__PURE__ */ e.jsx(
1793
+ const [o, x] = A(0), [d, h] = A(0), j = () => n.length > 1 && o > 0 ? /* @__PURE__ */ e.jsx(
1793
1794
  xe,
1794
1795
  {
1795
1796
  direction: "left",
@@ -1798,10 +1799,10 @@ const Re = ({ variant: n, children: t }) => {
1798
1799
  navIcon: c,
1799
1800
  weight: r,
1800
1801
  onClick: () => {
1801
- x === 0 ? (h(-(n.length - 1) * 100), o(n.length - 1)) : (h(d + 100), o(x - 1));
1802
+ o === 0 ? (h(-(n.length - 1) * 100), x(n.length - 1)) : (h(d + 100), x(o - 1));
1802
1803
  }
1803
1804
  }
1804
- ) : "", u = () => n.length > 1 && x < n.length - 1 ? /* @__PURE__ */ e.jsx(
1805
+ ) : "", u = () => n.length > 1 && o < n.length - 1 ? /* @__PURE__ */ e.jsx(
1805
1806
  xe,
1806
1807
  {
1807
1808
  direction: "right",
@@ -1810,7 +1811,7 @@ const Re = ({ variant: n, children: t }) => {
1810
1811
  navIcon: c,
1811
1812
  variant: i,
1812
1813
  onClick: () => {
1813
- x === n.length - 1 ? (o(0), h(0)) : (h(d - 100), o(x + 1));
1814
+ o === n.length - 1 ? (x(0), h(0)) : (h(d - 100), x(o + 1));
1814
1815
  }
1815
1816
  }
1816
1817
  ) : "";
@@ -1840,18 +1841,18 @@ const Re = ({ variant: n, children: t }) => {
1840
1841
  maxValue: i,
1841
1842
  setMinValue: c,
1842
1843
  setMaxValue: a,
1843
- numberFormatter: x = (o) => new Intl.NumberFormat("en-US", {
1844
+ numberFormatter: o = (x) => new Intl.NumberFormat("en-US", {
1844
1845
  style: "currency",
1845
1846
  currency: "USD"
1846
- }).format(o)
1847
+ }).format(x)
1847
1848
  }) => {
1848
- const o = (j) => {
1849
+ const x = (j) => {
1849
1850
  const u = +j.target.value, p = u < i - 1 ? u : r;
1850
1851
  c(p);
1851
1852
  }, d = (j) => {
1852
1853
  const u = +j.target.value, p = u > r + 1 ? u : i;
1853
1854
  a(p);
1854
- }, h = (j) => x && j ? x(j) : j;
1855
+ }, h = (j) => o && j ? o(j) : j;
1855
1856
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-slider", children: [
1856
1857
  /* @__PURE__ */ e.jsx("div", { className: "slider-header", children: /* @__PURE__ */ e.jsx("p", { children: h(r) + " - " + h(i) }) }),
1857
1858
  /* @__PURE__ */ e.jsx(
@@ -1862,7 +1863,7 @@ const Re = ({ variant: n, children: t }) => {
1862
1863
  min: n,
1863
1864
  max: t,
1864
1865
  value: r,
1865
- onChange: o
1866
+ onChange: x
1866
1867
  }
1867
1868
  ),
1868
1869
  /* @__PURE__ */ e.jsx(
@@ -1891,8 +1892,8 @@ const Re = ({ variant: n, children: t }) => {
1891
1892
  currency: "USD"
1892
1893
  }).format(a)
1893
1894
  }) => {
1894
- const a = (o) => c ? c(o) : o, x = (o) => {
1895
- const d = +o.target.value;
1895
+ const a = (x) => c ? c(x) : x, o = (x) => {
1896
+ const d = +x.target.value;
1896
1897
  i(d);
1897
1898
  };
1898
1899
  return /* @__PURE__ */ e.jsxs("div", { className: "muncher-slider", children: [
@@ -1905,7 +1906,7 @@ const Re = ({ variant: n, children: t }) => {
1905
1906
  min: n,
1906
1907
  max: t,
1907
1908
  value: r,
1908
- onChange: x
1909
+ onChange: o
1909
1910
  }
1910
1911
  ),
1911
1912
  /* @__PURE__ */ e.jsxs("div", { className: "slider-values", children: [
@@ -1917,41 +1918,41 @@ const Re = ({ variant: n, children: t }) => {
1917
1918
  const c = {
1918
1919
  "--r": n
1919
1920
  }, a = () => {
1920
- let x = "muncher-star";
1921
- return t && (x += " star-" + t), r && (x += " star-" + r), x;
1921
+ let o = "muncher-star";
1922
+ return t && (o += " star-" + t), r && (o += " star-" + r), o;
1922
1923
  };
1923
1924
  return /* @__PURE__ */ e.jsx("span", { className: a(), style: c, ...i });
1924
1925
  }, qe = ({ handleTabSelected: n, children: t }) => {
1925
- const [r, i] = A(0), { tabs: c } = t, a = (x) => {
1926
- i(x), n && n(x);
1926
+ const [r, i] = A(0), { tabs: c } = t, a = (o) => {
1927
+ i(o), n && n(o);
1927
1928
  };
1928
1929
  return /* @__PURE__ */ e.jsxs("section", { className: "muncher-tabs", children: [
1929
1930
  /* @__PURE__ */ e.jsx("header", { children: c.map(
1930
- (x, o) => /* @__PURE__ */ e.jsxs("div", { className: "muncher-tab-header--item", children: [
1931
+ (o, x) => /* @__PURE__ */ e.jsxs("div", { className: "muncher-tab-header--item", children: [
1931
1932
  /* @__PURE__ */ e.jsx(
1932
1933
  O,
1933
1934
  {
1934
1935
  variant: "transparent",
1935
- active: r === o,
1936
+ active: r === x,
1936
1937
  size: "small",
1937
- title: x.headerTitle,
1938
+ title: o.headerTitle,
1938
1939
  onClick: () => {
1939
- a(o);
1940
+ a(x);
1940
1941
  },
1941
- children: x.header
1942
+ children: o.header
1942
1943
  }
1943
1944
  ),
1944
- o !== c.length - 1 ? /* @__PURE__ */ e.jsx("span", { className: "spacer", children: "|" }) : ""
1945
- ] }, "muncher-tab-header" + o)
1945
+ x !== c.length - 1 ? /* @__PURE__ */ e.jsx("span", { className: "spacer", children: "|" }) : ""
1946
+ ] }, "muncher-tab-header" + x)
1946
1947
  ) }),
1947
1948
  c.map(
1948
- (x, o) => /* @__PURE__ */ e.jsx(
1949
+ (o, x) => /* @__PURE__ */ e.jsx(
1949
1950
  "section",
1950
1951
  {
1951
- className: r === o ? "muncher-tab muncher-tab--active" : "muncher-tab",
1952
- children: x.body
1952
+ className: r === x ? "muncher-tab muncher-tab--active" : "muncher-tab",
1953
+ children: o.body
1953
1954
  },
1954
- "muncher-tab-" + o
1955
+ "muncher-tab-" + x
1955
1956
  )
1956
1957
  )
1957
1958
  ] });
@@ -1962,8 +1963,8 @@ const Re = ({ variant: n, children: t }) => {
1962
1963
  handleOnUpload: i,
1963
1964
  sortBy: c,
1964
1965
  excludeDownload: a,
1965
- includeUpload: x,
1966
- isUploading: o,
1966
+ includeUpload: o,
1967
+ isUploading: x,
1967
1968
  uploadWarningMessage: d,
1968
1969
  uploadSuccessMessage: h,
1969
1970
  excludePagination: j,
@@ -1978,8 +1979,8 @@ const Re = ({ variant: n, children: t }) => {
1978
1979
  var C;
1979
1980
  const m = [...N], M = (C = f[g.index]) == null ? void 0 : C.sort;
1980
1981
  return M ? m.sort(M) : m.sort((L, X) => {
1981
- var Y, $, U, W;
1982
- const Z = (($ = (Y = L[g.index]) == null ? void 0 : Y.value) == null ? void 0 : $.toString().toLowerCase()) ?? "", I = ((W = (U = X[g.index]) == null ? void 0 : U.value) == null ? void 0 : W.toString().toLowerCase()) ?? "";
1982
+ var $, Y, U, W;
1983
+ const Z = ((Y = ($ = L[g.index]) == null ? void 0 : $.value) == null ? void 0 : Y.toString().toLowerCase()) ?? "", I = ((W = (U = X[g.index]) == null ? void 0 : U.value) == null ? void 0 : W.toString().toLowerCase()) ?? "";
1983
1984
  return Z.localeCompare(I);
1984
1985
  }), g.desc ? m.reverse() : m;
1985
1986
  }, [N, g, f]), k = te(
@@ -2031,12 +2032,12 @@ const Re = ({ variant: n, children: t }) => {
2031
2032
  data: P
2032
2033
  }
2033
2034
  ),
2034
- x && /* @__PURE__ */ e.jsx(
2035
+ o && /* @__PURE__ */ e.jsx(
2035
2036
  Me,
2036
2037
  {
2037
2038
  name: "csv-input-file",
2038
2039
  handleOnChange: i,
2039
- isUploading: o,
2040
+ isUploading: x,
2040
2041
  warningMessage: d,
2041
2042
  successMessage: h
2042
2043
  }
@@ -2104,7 +2105,7 @@ export {
2104
2105
  ve as DropdownButton,
2105
2106
  Ae as DropdownNavButton,
2106
2107
  Je as Featured,
2107
- $e as Hr,
2108
+ Ye as Hr,
2108
2109
  w as Icon,
2109
2110
  Te as IconBadge,
2110
2111
  ze as ImageInput,
@@ -2116,7 +2117,7 @@ export {
2116
2117
  xe as NavigateButton,
2117
2118
  Fe as Paper,
2118
2119
  Ie as Pill,
2119
- Ye as Progress,
2120
+ $e as Progress,
2120
2121
  He as Radio,
2121
2122
  We as RangeSlider,
2122
2123
  Ce as Select,