@umami/react-zen 0.191.0 → 0.192.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.
package/dist/index.js CHANGED
@@ -241,6 +241,7 @@ __export(index_exports, {
241
241
  ConfirmationDialog: () => ConfirmationDialog,
242
242
  Container: () => Container,
243
243
  CopyButton: () => CopyButton,
244
+ DataCard: () => DataCard,
244
245
  DataColumn: () => DataColumn,
245
246
  DataTable: () => DataTable,
246
247
  Dialog: () => Dialog2,
@@ -328,7 +329,7 @@ __export(index_exports, {
328
329
  TooltipBubble: () => TooltipBubble,
329
330
  TooltipTrigger: () => $4e3b923658d69c60$export$8c610744efcf8a1d,
330
331
  ZenProvider: () => ZenProvider,
331
- useBreakpoints: () => useBreakpoints,
332
+ useBreakpoint: () => useBreakpoint,
332
333
  useDebounce: () => useDebounce,
333
334
  useNavigationContext: () => useNavigationContext,
334
335
  useTheme: () => useTheme,
@@ -32566,11 +32567,11 @@ function useInitTheme(preferred, colorScheme) {
32566
32567
  }, [preferred, colorScheme, initTheme]);
32567
32568
  }
32568
32569
 
32569
- // src/components/hooks/useBreakpoints.ts
32570
+ // src/components/hooks/useBreakpoint.ts
32570
32571
  var import_react182 = require("react");
32571
32572
 
32572
32573
  // src/lib/utils.ts
32573
- var debounce = (func, delay) => {
32574
+ function debounce(func, delay) {
32574
32575
  let timer;
32575
32576
  return (...args) => {
32576
32577
  clearTimeout(timer);
@@ -32578,9 +32579,12 @@ var debounce = (func, delay) => {
32578
32579
  func(...args);
32579
32580
  }, delay);
32580
32581
  };
32581
- };
32582
+ }
32583
+ function mapIdProperty(data) {
32584
+ return data.length && data?.[0]?.id === void 0 ? data.map((row, id) => ({ ...row, id })) : data;
32585
+ }
32582
32586
 
32583
- // src/components/hooks/useBreakpoints.ts
32587
+ // src/components/hooks/useBreakpoint.ts
32584
32588
  var breakpoints = {
32585
32589
  xs: [0, 576],
32586
32590
  sm: [576, 768],
@@ -32589,7 +32593,7 @@ var breakpoints = {
32589
32593
  xl: [1200, Infinity]
32590
32594
  };
32591
32595
  var DEBOUNCE_DELAY_MS = 150;
32592
- function useBreakpoints() {
32596
+ function useBreakpoint() {
32593
32597
  const [breakpoint, setBreakpoint] = (0, import_react182.useState)(null);
32594
32598
  const calculateBreakpoint = (0, import_react182.useCallback)(() => {
32595
32599
  if (typeof window === "undefined") {
@@ -33266,6 +33270,18 @@ function Container({
33266
33270
  );
33267
33271
  }
33268
33272
 
33273
+ // src/components/DataCard.tsx
33274
+ var import_jsx_runtime41 = require("react/jsx-runtime");
33275
+ function DataCard({ data = [], ...props }) {
33276
+ const rows = mapIdProperty(data);
33277
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Grid, { width: "100%", ...props, children: rows.map((row) => {
33278
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(Grid, { columns: "180px 1fr", border: "bottom", gapX: "3", children: [
33279
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Row, { paddingY: "3", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Text, { size: "3", weight: "bold", children: row?.label }) }),
33280
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Row, { paddingY: "3", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(Text, { size: "3", children: row?.value }) })
33281
+ ] }, row?.id);
33282
+ }) });
33283
+ }
33284
+
33269
33285
  // src/components/DataTable.tsx
33270
33286
  var import_classnames28 = __toESM(require_classnames());
33271
33287
  var import_react188 = require("react");
@@ -33277,13 +33293,13 @@ var import_classnames27 = __toESM(require_classnames());
33277
33293
  var Table_default = { "table": "Table_table__NWMxN", "header": "Table_header__YzdmY", "body": "Table_body__Nzg5M", "row": "Table_row__ZWFmM", "column": "Table_column__YTdhZ", "cell": "Table_cell__MjU3N", "start": "Table_start__ZGIyN", "center": "Table_center__Yzg5M", "end": "Table_end__YjA1Y" };
33278
33294
 
33279
33295
  // src/components/Table.tsx
33280
- var import_jsx_runtime41 = require("react/jsx-runtime");
33296
+ var import_jsx_runtime42 = require("react/jsx-runtime");
33281
33297
  var gridTemplateColumns = "repeat(auto-fit, minmax(140px, 1fr))";
33282
33298
  function Table2({ children, className, ...props }) {
33283
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)($1910c06f0ca9905e$export$54ec01a60f47d33d, { "aria-label": "Table", ...props, className: (0, import_classnames27.default)(Table_default.table, className), children });
33299
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)($1910c06f0ca9905e$export$54ec01a60f47d33d, { "aria-label": "Table", ...props, className: (0, import_classnames27.default)(Table_default.table, className), children });
33284
33300
  }
33285
33301
  function TableHeader({ children, className, style, ...props }) {
33286
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
33302
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
33287
33303
  $1910c06f0ca9905e$export$f850895b287ef28e,
33288
33304
  {
33289
33305
  ...props,
@@ -33294,10 +33310,10 @@ function TableHeader({ children, className, style, ...props }) {
33294
33310
  );
33295
33311
  }
33296
33312
  function TableBody({ children, className, ...props }) {
33297
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)($1910c06f0ca9905e$export$76ccd210b9029917, { ...props, className: (0, import_classnames27.default)(Table_default.body, className), children });
33313
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)($1910c06f0ca9905e$export$76ccd210b9029917, { ...props, className: (0, import_classnames27.default)(Table_default.body, className), children });
33298
33314
  }
33299
33315
  function TableRow({ children, className, style, ...props }) {
33300
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
33316
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
33301
33317
  $1910c06f0ca9905e$export$b59bdbef9ce70de2,
33302
33318
  {
33303
33319
  ...props,
@@ -33308,7 +33324,7 @@ function TableRow({ children, className, style, ...props }) {
33308
33324
  );
33309
33325
  }
33310
33326
  function TableColumn({ children, className, align, ...props }) {
33311
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
33327
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
33312
33328
  $1910c06f0ca9905e$export$816b5d811295e6bc,
33313
33329
  {
33314
33330
  ...props,
@@ -33319,17 +33335,17 @@ function TableColumn({ children, className, align, ...props }) {
33319
33335
  );
33320
33336
  }
33321
33337
  function TableCell({ children, className, align, ...props }) {
33322
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)($1910c06f0ca9905e$export$f6f0c3fe4ec306ea, { ...props, className: (0, import_classnames27.default)(Table_default.cell, className, align && Table_default[align]), children });
33338
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)($1910c06f0ca9905e$export$f6f0c3fe4ec306ea, { ...props, className: (0, import_classnames27.default)(Table_default.cell, className, align && Table_default[align]), children });
33323
33339
  }
33324
33340
 
33325
33341
  // css-modules:E:\dev\umami-react-zen\src\components\DataTable.module.css
33326
33342
  var DataTable_default = { "datatable": "DataTable_datatable__MWRkN", "cell": "DataTable_cell__MmMyM" };
33327
33343
 
33328
33344
  // src/components/DataTable.tsx
33329
- var import_jsx_runtime42 = require("react/jsx-runtime");
33345
+ var import_jsx_runtime43 = require("react/jsx-runtime");
33330
33346
  var import_react189 = require("react");
33331
33347
  function DataTable({ data = [], className, children, ...props }) {
33332
- const items = data.length && data?.[0]?.id === void 0 ? data.map((row, id) => ({ ...row, id })) : data;
33348
+ const rows = mapIdProperty(data);
33333
33349
  const widths = [];
33334
33350
  const columns = import_react188.Children.map(children, (child) => {
33335
33351
  if (child) {
@@ -33339,15 +33355,15 @@ function DataTable({ data = [], className, children, ...props }) {
33339
33355
  return null;
33340
33356
  })?.filter((n) => n);
33341
33357
  const gridTemplateColumns2 = widths.join(" ");
33342
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Table2, { ...props, className: (0, import_classnames28.default)(DataTable_default.datatable, className), children: [
33343
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TableHeader, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, label, as, hidden, width, ...columnProps }) => {
33358
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(Table2, { ...props, className: (0, import_classnames28.default)(DataTable_default.datatable, className), children: [
33359
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TableHeader, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, label, as, hidden, width, ...columnProps }) => {
33344
33360
  if (hidden) {
33345
33361
  return null;
33346
33362
  }
33347
33363
  return /* @__PURE__ */ (0, import_react189.createElement)(TableColumn, { ...columnProps, key: id, id }, label);
33348
33364
  }) }),
33349
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TableBody, { children: items.map((row, index) => {
33350
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TableRow, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, as, hidden, className: className2, children: children2, ...cellProps }) => {
33365
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TableBody, { children: rows.map((row, index) => {
33366
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(TableRow, { style: { gridTemplateColumns: gridTemplateColumns2 }, children: columns?.map(({ id, as, hidden, className: className2, children: children2, ...cellProps }) => {
33351
33367
  if (hidden) {
33352
33368
  return null;
33353
33369
  }
@@ -33376,12 +33392,12 @@ var import_classnames29 = __toESM(require_classnames());
33376
33392
  var Dots_default = { "dots": "Dots_dots__ZTc4M", "size-sm": "Dots_size-sm__YmFiM", "size-md": "Dots_size-md__MThiY", "size-lg": "Dots_size-lg__MTNlO", "dot": "Dots_dot__YTQ4Y", "dots-blink": "Dots_dots-blink__MjFjZ" };
33377
33393
 
33378
33394
  // src/components/Dots.tsx
33379
- var import_jsx_runtime43 = require("react/jsx-runtime");
33395
+ var import_jsx_runtime44 = require("react/jsx-runtime");
33380
33396
  function Dots({ size = "md", className, ...props }) {
33381
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { ...props, className: (0, import_classnames29.default)(Dots_default.dots, className, Dots_default[`size-${size}`]), children: [
33382
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: Dots_default.dot }),
33383
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: Dots_default.dot }),
33384
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: Dots_default.dot })
33397
+ return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { ...props, className: (0, import_classnames29.default)(Dots_default.dots, className, Dots_default[`size-${size}`]), children: [
33398
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: Dots_default.dot }),
33399
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: Dots_default.dot }),
33400
+ /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: Dots_default.dot })
33385
33401
  ] });
33386
33402
  }
33387
33403
 
@@ -33396,14 +33412,14 @@ var import_classnames30 = __toESM(require_classnames());
33396
33412
  var Tooltip_default = { "tooltip": "Tooltip_tooltip__YmY4Z", "bubble": "Tooltip_bubble__MWE0N", "arrow": "Tooltip_arrow__OGM1M", "slide": "Tooltip_slide__MGVmY" };
33397
33413
 
33398
33414
  // src/components/Tooltip.tsx
33399
- var import_jsx_runtime44 = require("react/jsx-runtime");
33415
+ var import_jsx_runtime45 = require("react/jsx-runtime");
33400
33416
  function Tooltip2({ children, className, showArrow, ...props }) {
33401
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)($4e3b923658d69c60$export$28c660c63b792dea, { ...props, className: (0, import_classnames30.default)(Tooltip_default.tooltip, className), children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(TooltipBubble, { showArrow, children }) });
33417
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)($4e3b923658d69c60$export$28c660c63b792dea, { ...props, className: (0, import_classnames30.default)(Tooltip_default.tooltip, className), children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(TooltipBubble, { showArrow, children }) });
33402
33418
  }
33403
33419
  function TooltipBubble({ showArrow, children, ...props }) {
33404
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { ...props, children: [
33405
- showArrow && /* @__PURE__ */ (0, import_jsx_runtime44.jsx)($44f671af83e7d9e0$export$746d02f47f4d381, { className: Tooltip_default.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
33406
- /* @__PURE__ */ (0, import_jsx_runtime44.jsx)("div", { className: Tooltip_default.bubble, children })
33420
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { ...props, children: [
33421
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)($44f671af83e7d9e0$export$746d02f47f4d381, { className: Tooltip_default.arrow, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("path", { d: "M0 0 L4 4 L8 0" }) }) }),
33422
+ /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: Tooltip_default.bubble, children })
33407
33423
  ] });
33408
33424
  }
33409
33425
 
@@ -33411,7 +33427,7 @@ function TooltipBubble({ showArrow, children, ...props }) {
33411
33427
  var FloatingTooltip_default = { "floating": "FloatingTooltip_floating__ZjM4N" };
33412
33428
 
33413
33429
  // src/components/FloatingTooltip.tsx
33414
- var import_jsx_runtime45 = require("react/jsx-runtime");
33430
+ var import_jsx_runtime46 = require("react/jsx-runtime");
33415
33431
  function FloatingTooltip({ className, style, children, ...props }) {
33416
33432
  const [position, setPosition] = (0, import_react190.useState)({ x: -1e3, y: -1e3 });
33417
33433
  (0, import_react190.useEffect)(() => {
@@ -33423,7 +33439,7 @@ function FloatingTooltip({ className, style, children, ...props }) {
33423
33439
  document.removeEventListener("mousemove", handler);
33424
33440
  };
33425
33441
  }, []);
33426
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
33442
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
33427
33443
  TooltipBubble,
33428
33444
  {
33429
33445
  ...props,
@@ -33441,7 +33457,7 @@ var import_classnames32 = __toESM(require_classnames());
33441
33457
  var Heading_default = { "heading": "Heading_heading__MGIyZ" };
33442
33458
 
33443
33459
  // src/components/Heading.tsx
33444
- var import_jsx_runtime46 = require("react/jsx-runtime");
33460
+ var import_jsx_runtime47 = require("react/jsx-runtime");
33445
33461
  function Heading2({
33446
33462
  size = "3",
33447
33463
  weight,
@@ -33458,7 +33474,7 @@ function Heading2({
33458
33474
  fontWeight: weight,
33459
33475
  letterSpacing: spacing
33460
33476
  });
33461
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
33477
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
33462
33478
  Box,
33463
33479
  {
33464
33480
  ...props,
@@ -33476,7 +33492,7 @@ var import_react191 = require("react");
33476
33492
  var HoverTrigger_default = { "wrapper": "HoverTrigger_wrapper__NGFlN" };
33477
33493
 
33478
33494
  // src/components/HoverTrigger.tsx
33479
- var import_jsx_runtime47 = require("react/jsx-runtime");
33495
+ var import_jsx_runtime48 = require("react/jsx-runtime");
33480
33496
  var CLOSE_DELAY = 500;
33481
33497
  function HoverTrigger({
33482
33498
  isOpen,
@@ -33527,9 +33543,9 @@ function HoverTrigger({
33527
33543
  }
33528
33544
  }, closeDelay);
33529
33545
  };
33530
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
33531
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { ref: triggerRef, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: triggerElement }),
33532
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(Popover2, { isOpen: open, isNonModal: true, triggerRef, children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
33546
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
33547
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { ref: triggerRef, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: triggerElement }),
33548
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Popover2, { isOpen: open, isNonModal: true, triggerRef, children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
33533
33549
  "div",
33534
33550
  {
33535
33551
  className: HoverTrigger_default.wrapper,
@@ -33542,7 +33558,7 @@ function HoverTrigger({
33542
33558
  }
33543
33559
 
33544
33560
  // src/components/IconLabel.tsx
33545
- var import_jsx_runtime48 = require("react/jsx-runtime");
33561
+ var import_jsx_runtime49 = require("react/jsx-runtime");
33546
33562
  function IconLabel({
33547
33563
  icon,
33548
33564
  label,
@@ -33552,9 +33568,9 @@ function IconLabel({
33552
33568
  children,
33553
33569
  ...props
33554
33570
  }) {
33555
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Row, { alignItems: "center", gap: true, width: "100%", ...props, children: [
33556
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon2, { ...iconProps, children: icon }),
33557
- showLabel && label && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Text, { ...labelProps, children: label }),
33571
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(Row, { alignItems: "center", gap: true, width: "100%", ...props, children: [
33572
+ /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon2, { ...iconProps, children: icon }),
33573
+ showLabel && label && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Text, { ...labelProps, children: label }),
33558
33574
  showLabel && children
33559
33575
  ] });
33560
33576
  }
@@ -33566,7 +33582,7 @@ var import_classnames33 = __toESM(require_classnames());
33566
33582
  var Image_default = { "image": "Image_image__M2EyN", "centered": "Image_centered__ZDFhM", "fill": "Image_fill__YWJhZ", "contain": "Image_contain__ZjAyN", "cover": "Image_cover__ODA4Y", "none": "Image_none__YTdiZ", "scale-down": "Image_scale-down__ODNlN" };
33567
33583
 
33568
33584
  // src/components/Image.tsx
33569
- var import_jsx_runtime49 = require("react/jsx-runtime");
33585
+ var import_jsx_runtime50 = require("react/jsx-runtime");
33570
33586
  function Image({
33571
33587
  src,
33572
33588
  alt,
@@ -33579,7 +33595,7 @@ function Image({
33579
33595
  ...props
33580
33596
  }) {
33581
33597
  const [classes, styleProps] = useDesignProps({ borderRadius, shadow });
33582
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
33598
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
33583
33599
  "img",
33584
33600
  {
33585
33601
  ...props,
@@ -33606,7 +33622,7 @@ var import_classnames34 = __toESM(require_classnames());
33606
33622
  var InlineEditField_default = { "edit": "InlineEditField_edit__MDliZ", "icon": "InlineEditField_icon__ZjE1O" };
33607
33623
 
33608
33624
  // src/components/InlineEditField.tsx
33609
- var import_jsx_runtime50 = require("react/jsx-runtime");
33625
+ var import_jsx_runtime51 = require("react/jsx-runtime");
33610
33626
  function InlineEditField({
33611
33627
  name = "",
33612
33628
  value: defaultValue = "",
@@ -33642,7 +33658,7 @@ function InlineEditField({
33642
33658
  handleCancel();
33643
33659
  }
33644
33660
  };
33645
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
33661
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
33646
33662
  "div",
33647
33663
  {
33648
33664
  "aria-label": "Edit",
@@ -33651,8 +33667,8 @@ function InlineEditField({
33651
33667
  onClick: handleEdit,
33652
33668
  children: [
33653
33669
  !edit && children,
33654
- !edit && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon2, { className: InlineEditField_default.icon, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SquarePen, {}) }),
33655
- edit && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
33670
+ !edit && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon2, { className: InlineEditField_default.icon, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(SquarePen, {}) }),
33671
+ edit && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
33656
33672
  TextField2,
33657
33673
  {
33658
33674
  name,
@@ -33675,7 +33691,7 @@ var import_classnames35 = __toESM(require_classnames());
33675
33691
  var Loading_default = { "loading": "Loading_loading__M2YyY", "absolute": "Loading_absolute__N2IxN", "center": "Loading_center__ZmUzM", "inline": "Loading_inline__MTFhM" };
33676
33692
 
33677
33693
  // src/components/Loading.tsx
33678
- var import_jsx_runtime51 = require("react/jsx-runtime");
33694
+ var import_jsx_runtime52 = require("react/jsx-runtime");
33679
33695
  function Loading({
33680
33696
  size,
33681
33697
  placement = "inline",
@@ -33683,9 +33699,9 @@ function Loading({
33683
33699
  className,
33684
33700
  ...props
33685
33701
  }) {
33686
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { ...props, className: (0, import_classnames35.default)(Loading_default.loading, className, Loading_default[placement]), children: [
33687
- icon === "dots" && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dots, { size }),
33688
- icon === "spinner" && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Spinner, { size })
33702
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("div", { ...props, className: (0, import_classnames35.default)(Loading_default.loading, className, Loading_default[placement]), children: [
33703
+ icon === "dots" && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Dots, { size }),
33704
+ icon === "spinner" && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Spinner, { size })
33689
33705
  ] });
33690
33706
  }
33691
33707
 
@@ -33696,9 +33712,9 @@ var import_classnames36 = __toESM(require_classnames());
33696
33712
  var Menu_default = { "menu": "Menu_menu__YTM5N", "separator": "Menu_separator__YjFhN", "section": "Menu_section__NWFlM", "header": "Menu_header__YzJkN", "item": "Menu_item__NGRkO", "checkmark": "Menu_checkmark__MWQ1O", "hideCheckmark": "Menu_hideCheckmark__YzBhM", "label": "Menu_label__NGMxM", "content": "Menu_content__MTA2O" };
33697
33713
 
33698
33714
  // src/components/Menu.tsx
33699
- var import_jsx_runtime52 = require("react/jsx-runtime");
33715
+ var import_jsx_runtime53 = require("react/jsx-runtime");
33700
33716
  function Menu2({ className, children, ...props }) {
33701
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames36.default)(Menu_default.menu, className), children });
33717
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames36.default)(Menu_default.menu, className), children });
33702
33718
  }
33703
33719
  function MenuItem2({
33704
33720
  icon,
@@ -33709,14 +33725,14 @@ function MenuItem2({
33709
33725
  className,
33710
33726
  ...props
33711
33727
  }) {
33712
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)($3674c52c6b3c5bce$export$2ce376c2cc3355c8, { ...props, className: (0, import_classnames36.default)(Menu_default.item, className), children: [
33713
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(IconLabel, { icon, label, children }),
33714
- showChecked && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon2, { "aria-hidden": "true", className: Menu_default.checkmark, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Check, {}) }),
33715
- showSubMenuIcon && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon2, { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ChevronRight, {}) })
33728
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)($3674c52c6b3c5bce$export$2ce376c2cc3355c8, { ...props, className: (0, import_classnames36.default)(Menu_default.item, className), children: [
33729
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(IconLabel, { icon, label, children }),
33730
+ showChecked && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon2, { "aria-hidden": "true", className: Menu_default.checkmark, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Check, {}) }),
33731
+ showSubMenuIcon && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon2, { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ChevronRight, {}) })
33716
33732
  ] });
33717
33733
  }
33718
33734
  function MenuSeparator({ className, ...props }) {
33719
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames36.default)(Menu_default.separator, className) });
33735
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames36.default)(Menu_default.separator, className) });
33720
33736
  }
33721
33737
  function MenuSection({
33722
33738
  title,
@@ -33730,9 +33746,9 @@ function MenuSection({
33730
33746
  maxHeight,
33731
33747
  overflow: maxHeight ? "auto" : void 0
33732
33748
  };
33733
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
33734
- title && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)($72a5793c14baf454$export$8b251419efc915eb, { className: Menu_default.header, children: title }),
33735
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
33749
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
33750
+ title && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)($72a5793c14baf454$export$8b251419efc915eb, { className: Menu_default.header, children: title }),
33751
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
33736
33752
  $3674c52c6b3c5bce$export$4b1545b4f2016d26,
33737
33753
  {
33738
33754
  ...props,
@@ -33744,7 +33760,7 @@ function MenuSection({
33744
33760
  ] });
33745
33761
  }
33746
33762
  function SubMenuTrigger({ children, ...props }) {
33747
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)($3674c52c6b3c5bce$export$ecabc99eeffab7ca, { ...props, children });
33763
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)($3674c52c6b3c5bce$export$ecabc99eeffab7ca, { ...props, children });
33748
33764
  }
33749
33765
 
33750
33766
  // src/components/Modal.tsx
@@ -33754,7 +33770,7 @@ var import_classnames37 = __toESM(require_classnames());
33754
33770
  var Modal_default = { "overlay": "Modal_overlay__MzBhO", "modal-fade-in": "Modal_modal-fade-in__OTcxN", "modal": "Modal_modal__YTU3M", "left": "Modal_left__ZDU0O", "right": "Modal_right__MGFhO", "top": "Modal_top__OTY4M", "bottom": "Modal_bottom__NjY4N", "fullscreen": "Modal_fullscreen__YTNkZ", "center": "Modal_center__ZTViM", "modal-zoom": "Modal_modal-zoom__MjY4Y", "modal-left": "Modal_modal-left__YTc0N", "modal-right": "Modal_modal-right__MWY0Z", "modal-top": "Modal_modal-top__OTQ2M", "modal-bottom": "Modal_modal-bottom__NDlkZ" };
33755
33771
 
33756
33772
  // src/components/Modal.tsx
33757
- var import_jsx_runtime53 = require("react/jsx-runtime");
33773
+ var import_jsx_runtime54 = require("react/jsx-runtime");
33758
33774
  function Modal2({
33759
33775
  position = "center",
33760
33776
  offset,
@@ -33766,7 +33782,7 @@ function Modal2({
33766
33782
  if (offset) {
33767
33783
  style[`--modal-offset`] = offset;
33768
33784
  }
33769
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)($f3f84453ead64de5$export$8948f78d83984c69, { ...props, className: Modal_default.overlay, style, isDismissable: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)($f3f84453ead64de5$export$2b77a92f1a5ad772, { className: (0, import_classnames37.default)(Modal_default.modal, position && Modal_default[position], className), children }) });
33785
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)($f3f84453ead64de5$export$8948f78d83984c69, { ...props, className: Modal_default.overlay, style, isDismissable: true, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)($f3f84453ead64de5$export$2b77a92f1a5ad772, { className: (0, import_classnames37.default)(Modal_default.modal, position && Modal_default[position], className), children }) });
33770
33786
  }
33771
33787
 
33772
33788
  // src/components/Navbar.tsx
@@ -33777,7 +33793,7 @@ var import_classnames38 = __toESM(require_classnames());
33777
33793
  var Navbar_default = { "nav": "Navbar_nav__ZjEwM", "item": "Navbar_item__MWVhZ", "icon": "Navbar_icon__ZmM1N" };
33778
33794
 
33779
33795
  // src/components/Navbar.tsx
33780
- var import_jsx_runtime54 = require("react/jsx-runtime");
33796
+ var import_jsx_runtime55 = require("react/jsx-runtime");
33781
33797
  var NavbarContext = (0, import_react193.createContext)(void 0);
33782
33798
  var useNavigationContext = () => {
33783
33799
  const context = (0, import_react193.useContext)(NavbarContext);
@@ -33788,20 +33804,20 @@ var useNavigationContext = () => {
33788
33804
  };
33789
33805
  function Navbar({ showArrow = true, className, children, ...props }) {
33790
33806
  const [activeMenu, setActiveMenu] = (0, import_react193.useState)("");
33791
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(NavbarContext.Provider, { value: { activeMenu, setActiveMenu }, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.nav, className), children }) });
33807
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(NavbarContext.Provider, { value: { activeMenu, setActiveMenu }, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.nav, className), children }) });
33792
33808
  }
33793
33809
  function NavbarItem({ label, children, className, ...props }) {
33794
33810
  const { activeMenu, setActiveMenu } = useNavigationContext();
33795
33811
  if (label) {
33796
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(HoverTrigger, { isOpen: activeMenu === label, onHoverStart: () => setActiveMenu(label), children: [
33797
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children: [
33798
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { children: label }),
33799
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon2, { rotate: 90, size: "sm", className: Navbar_default.icon, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ChevronRight, {}) })
33812
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(HoverTrigger, { isOpen: activeMenu === label, onHoverStart: () => setActiveMenu(label), children: [
33813
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children: [
33814
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { children: label }),
33815
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon2, { rotate: 90, size: "sm", className: Navbar_default.icon, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ChevronRight, {}) })
33800
33816
  ] }),
33801
33817
  children
33802
33818
  ] });
33803
33819
  }
33804
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children });
33820
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children });
33805
33821
  }
33806
33822
 
33807
33823
  // src/components/NavMenu.tsx
@@ -33812,7 +33828,7 @@ var import_classnames39 = __toESM(require_classnames());
33812
33828
  var NavMenu_default = { "navmenu": "NavMenu_navmenu__MzRmN", "item": "NavMenu_item__ZWRjZ", "selected": "NavMenu_selected__ZDU1N", "muted": "NavMenu_muted__MTgxN", "title": "NavMenu_title__ZjJhN", "clickable": "NavMenu_clickable__Mjg0O" };
33813
33829
 
33814
33830
  // src/components/NavMenu.tsx
33815
- var import_jsx_runtime55 = require("react/jsx-runtime");
33831
+ var import_jsx_runtime56 = require("react/jsx-runtime");
33816
33832
  var NavMenuContext = (0, import_react194.createContext)(null);
33817
33833
  function NavMenu({
33818
33834
  itemBackgroundColor = "2",
@@ -33822,7 +33838,7 @@ function NavMenu({
33822
33838
  children,
33823
33839
  ...props
33824
33840
  }) {
33825
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(NavMenuContext.Provider, { value: { itemBackgroundColor }, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
33841
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(NavMenuContext.Provider, { value: { itemBackgroundColor }, children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
33826
33842
  Column,
33827
33843
  {
33828
33844
  ...props,
@@ -33845,7 +33861,7 @@ function NavMenuGroup({
33845
33861
  setMinimized((state) => !state);
33846
33862
  }
33847
33863
  };
33848
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
33864
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
33849
33865
  Column,
33850
33866
  {
33851
33867
  gap: true,
@@ -33856,7 +33872,7 @@ function NavMenuGroup({
33856
33872
  allowMinimize && minimized && NavMenu_default.minimized
33857
33873
  ),
33858
33874
  children: [
33859
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
33875
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
33860
33876
  Row,
33861
33877
  {
33862
33878
  className: NavMenu_default.item,
@@ -33864,8 +33880,8 @@ function NavMenuGroup({
33864
33880
  justifyContent: "space-between",
33865
33881
  onClick: handleClick,
33866
33882
  children: [
33867
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { className: NavMenu_default.title, children: title }),
33868
- allowMinimize && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon2, { rotate: minimized ? 0 : 90, color: "muted", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ChevronRight, {}) })
33883
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Text, { className: NavMenu_default.title, children: title }),
33884
+ allowMinimize && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon2, { rotate: minimized ? 0 : 90, color: "muted", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ChevronRight, {}) })
33869
33885
  ]
33870
33886
  }
33871
33887
  ),
@@ -33876,7 +33892,7 @@ function NavMenuGroup({
33876
33892
  }
33877
33893
  function NavMenuItem({ isSelected, className, children, ...props }) {
33878
33894
  const { itemBackgroundColor } = (0, import_react194.useContext)(NavMenuContext);
33879
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
33895
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
33880
33896
  Row,
33881
33897
  {
33882
33898
  ...props,
@@ -33891,16 +33907,16 @@ function NavMenuItem({ isSelected, className, children, ...props }) {
33891
33907
  // src/components/PasswordField.tsx
33892
33908
  var import_react195 = require("react");
33893
33909
  var import_classnames40 = __toESM(require_classnames());
33894
- var import_jsx_runtime56 = require("react/jsx-runtime");
33910
+ var import_jsx_runtime57 = require("react/jsx-runtime");
33895
33911
  function PasswordField({ label, className, ...props }) {
33896
33912
  const [show, setShow] = (0, import_react195.useState)(false);
33897
33913
  const type = show ? "text" : "password";
33898
33914
  const handleShowPassword = () => setShow((state) => !state);
33899
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
33900
- label && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Label2, { children: label }),
33901
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)($bcdf0525bf22703d$export$2c73285ae9390cec, { "aria-label": "Password", ...props, className: (0, import_classnames40.default)(TextField_default.field, className), children: [
33902
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { type }),
33903
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon2, { onClick: handleShowPassword, children: show ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(EyeSlash_default, {}) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Eye_default, {}) })
33915
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, { children: [
33916
+ label && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Label2, { children: label }),
33917
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)($bcdf0525bf22703d$export$2c73285ae9390cec, { "aria-label": "Password", ...props, className: (0, import_classnames40.default)(TextField_default.field, className), children: [
33918
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { type }),
33919
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Icon2, { onClick: handleShowPassword, children: show ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(EyeSlash_default, {}) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Eye_default, {}) })
33904
33920
  ] })
33905
33921
  ] });
33906
33922
  }
@@ -33912,9 +33928,9 @@ var import_classnames41 = __toESM(require_classnames());
33912
33928
  var Popover_default = { "popover": "Popover_popover__YmFhM", "popover-slide": "Popover_popover-slide__OGZjY" };
33913
33929
 
33914
33930
  // src/components/Popover.tsx
33915
- var import_jsx_runtime57 = require("react/jsx-runtime");
33931
+ var import_jsx_runtime58 = require("react/jsx-runtime");
33916
33932
  function Popover2({ children, className, ...props }) {
33917
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)($07b14b47974efb58$export$5b6b19405a83ff9d, { ...props, className: (0, import_classnames41.default)(Popover_default.popover, className), children });
33933
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)($07b14b47974efb58$export$5b6b19405a83ff9d, { ...props, className: (0, import_classnames41.default)(Popover_default.popover, className), children });
33918
33934
  }
33919
33935
 
33920
33936
  // src/components/ProgressBar.tsx
@@ -33924,12 +33940,12 @@ var import_classnames42 = __toESM(require_classnames());
33924
33940
  var ProgressBar_default = { "progressbar": "ProgressBar_progressbar__YzdlO", "track": "ProgressBar_track__YzgzY", "fill": "ProgressBar_fill__ZTJlM", "value": "ProgressBar_value__NDk1Z" };
33925
33941
 
33926
33942
  // src/components/ProgressBar.tsx
33927
- var import_jsx_runtime58 = require("react/jsx-runtime");
33943
+ var import_jsx_runtime59 = require("react/jsx-runtime");
33928
33944
  function ProgressBar2({ className, showPercentage, ...props }) {
33929
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames42.default)(ProgressBar_default.progressbar, className), children: ({ percentage = 0, valueText }) => {
33930
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, { children: [
33931
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: ProgressBar_default.track, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: ProgressBar_default.fill, style: { width: `${percentage}%` } }) }),
33932
- showPercentage && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: ProgressBar_default.value, children: valueText })
33945
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames42.default)(ProgressBar_default.progressbar, className), children: ({ percentage = 0, valueText }) => {
33946
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
33947
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: ProgressBar_default.track, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: ProgressBar_default.fill, style: { width: `${percentage}%` } }) }),
33948
+ showPercentage && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: ProgressBar_default.value, children: valueText })
33933
33949
  ] });
33934
33950
  } });
33935
33951
  }
@@ -33941,16 +33957,16 @@ var import_classnames43 = __toESM(require_classnames());
33941
33957
  var ProgressCircle_default = { "progresscircle": "ProgressCircle_progresscircle__NGMyY", "track": "ProgressCircle_track__YzY2M", "fill": "ProgressCircle_fill__ZmMzM", "value": "ProgressCircle_value__YjM0Y" };
33942
33958
 
33943
33959
  // src/components/ProgressCircle.tsx
33944
- var import_jsx_runtime59 = require("react/jsx-runtime");
33960
+ var import_jsx_runtime60 = require("react/jsx-runtime");
33945
33961
  function ProgressCircle({ className, showPercentage, ...props }) {
33946
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames43.default)(ProgressCircle_default.progresscircle, className), children: ({ percentage = 0, valueText }) => {
33962
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames43.default)(ProgressCircle_default.progresscircle, className), children: ({ percentage = 0, valueText }) => {
33947
33963
  const radius = 45;
33948
33964
  const circumference = radius * 2 * Math.PI;
33949
33965
  const offset = circumference - percentage / 100 * circumference;
33950
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
33951
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("svg", { viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg", children: [
33952
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("circle", { className: ProgressCircle_default.track, cx: "50", cy: "50", r: "45" }),
33953
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
33966
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
33967
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)("svg", { viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg", children: [
33968
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("circle", { className: ProgressCircle_default.track, cx: "50", cy: "50", r: "45" }),
33969
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
33954
33970
  "circle",
33955
33971
  {
33956
33972
  className: ProgressCircle_default.fill,
@@ -33962,7 +33978,7 @@ function ProgressCircle({ className, showPercentage, ...props }) {
33962
33978
  }
33963
33979
  )
33964
33980
  ] }),
33965
- showPercentage && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("label", { className: ProgressCircle_default.value, children: valueText })
33981
+ showPercentage && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("label", { className: ProgressCircle_default.value, children: valueText })
33966
33982
  ] });
33967
33983
  } });
33968
33984
  }
@@ -33974,7 +33990,7 @@ var import_classnames44 = __toESM(require_classnames());
33974
33990
  var RadioGroup_default = { "radiogroup": "RadioGroup_radiogroup__ZjliM", "inputs": "RadioGroup_inputs__NjA4N", "radio": "RadioGroup_radio__MmE2Z", "variant-circle": "RadioGroup_variant-circle__NzliY", "variant-box": "RadioGroup_variant-box__Mjk3N" };
33975
33991
 
33976
33992
  // src/components/RadioGroup.tsx
33977
- var import_jsx_runtime60 = require("react/jsx-runtime");
33993
+ var import_jsx_runtime61 = require("react/jsx-runtime");
33978
33994
  function RadioGroup2({
33979
33995
  variant = "circle",
33980
33996
  label,
@@ -33982,27 +33998,27 @@ function RadioGroup2({
33982
33998
  className,
33983
33999
  ...props
33984
34000
  }) {
33985
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
34001
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
33986
34002
  $b6c3ddc6086f204d$export$a98f0dcb43a68a25,
33987
34003
  {
33988
34004
  "aria-label": "RadioGroup",
33989
34005
  ...props,
33990
34006
  className: (0, import_classnames44.default)(RadioGroup_default.radiogroup, RadioGroup_default[`variant-${variant}`], className),
33991
34007
  children: [
33992
- label && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Label2, { children: label }),
33993
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: RadioGroup_default.inputs, children })
34008
+ label && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Label2, { children: label }),
34009
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("div", { className: RadioGroup_default.inputs, children })
33994
34010
  ]
33995
34011
  }
33996
34012
  );
33997
34013
  }
33998
34014
  function Radio2({ children, className, ...props }) {
33999
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)($b6c3ddc6086f204d$export$d7b12c4107be0d61, { "aria-label": "Radio", ...props, className: (0, import_classnames44.default)(RadioGroup_default.radio, className), children });
34015
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsx)($b6c3ddc6086f204d$export$d7b12c4107be0d61, { "aria-label": "Radio", ...props, className: (0, import_classnames44.default)(RadioGroup_default.radio, className), children });
34000
34016
  }
34001
34017
 
34002
34018
  // src/components/SearchField.tsx
34003
34019
  var import_react196 = require("react");
34004
34020
  var import_classnames45 = __toESM(require_classnames());
34005
- var import_jsx_runtime61 = require("react/jsx-runtime");
34021
+ var import_jsx_runtime62 = require("react/jsx-runtime");
34006
34022
  function SearchField2({
34007
34023
  label,
34008
34024
  placeholder,
@@ -34033,9 +34049,9 @@ function SearchField2({
34033
34049
  onSearch?.(searchValue);
34034
34050
  }
34035
34051
  }, [searchValue, delay]);
34036
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx_runtime61.Fragment, { children: [
34037
- label && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Label2, { children: label }),
34038
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
34052
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_jsx_runtime62.Fragment, { children: [
34053
+ label && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Label2, { children: label }),
34054
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
34039
34055
  $440f4836bcb56932$export$b94867ecbd698f21,
34040
34056
  {
34041
34057
  "aria-label": "Search",
@@ -34043,9 +34059,9 @@ function SearchField2({
34043
34059
  className: (0, import_classnames45.default)(TextField_default.field, className),
34044
34060
  onChange: handleChange,
34045
34061
  children: [
34046
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon2, { strokeColor: "8", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Search, {}) }),
34047
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { placeholder, value: search }),
34048
- search && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon2, { size: "sm", color: "8", onClick: resetSearch, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(X, {}) })
34062
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon2, { strokeColor: "8", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Search, {}) }),
34063
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { placeholder, value: search }),
34064
+ search && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon2, { size: "sm", color: "8", onClick: resetSearch, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(X, {}) })
34049
34065
  ]
34050
34066
  }
34051
34067
  )
@@ -34060,7 +34076,7 @@ var import_classnames46 = __toESM(require_classnames());
34060
34076
  var Select_default = { "select": "Select_select__NTRiY", "button": "Select_button__ZTJmY", "value": "Select_value__OWU2Z", "list": "Select_list__NTk4N", "search": "Select_search__YWI3Y" };
34061
34077
 
34062
34078
  // src/components/Select.tsx
34063
- var import_jsx_runtime62 = require("react/jsx-runtime");
34079
+ var import_jsx_runtime63 = require("react/jsx-runtime");
34064
34080
  function Select2({
34065
34081
  items = [],
34066
34082
  value,
@@ -34094,7 +34110,7 @@ function Select2({
34094
34110
  setSearch("");
34095
34111
  onSearch?.("");
34096
34112
  };
34097
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
34113
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
34098
34114
  $82d7e5349645de74$export$ef9b1a59e592288f,
34099
34115
  {
34100
34116
  "aria-label": "Select",
@@ -34104,21 +34120,21 @@ function Select2({
34104
34120
  defaultSelectedKey: defaultValue,
34105
34121
  onSelectionChange: handleChange,
34106
34122
  children: [
34107
- label && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Label2, { children: label }),
34108
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
34123
+ label && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Label2, { children: label }),
34124
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
34109
34125
  Button2,
34110
34126
  {
34111
34127
  variant: "outline",
34112
34128
  ...buttonProps,
34113
34129
  className: (0, import_classnames46.default)(Select_default.button, buttonProps?.className),
34114
- children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: Select_default.value, children: [
34115
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
34116
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(ChevronRight, {}) })
34130
+ children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: Select_default.value, children: [
34131
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
34132
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(ChevronRight, {}) })
34117
34133
  ] })
34118
34134
  }
34119
34135
  ),
34120
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Popover2, { ...popoverProps, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: Select_default.list, children: [
34121
- allowSearch && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
34136
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Popover2, { ...popoverProps, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: Select_default.list, children: [
34137
+ allowSearch && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
34122
34138
  SearchField2,
34123
34139
  {
34124
34140
  className: Select_default.search,
@@ -34129,8 +34145,8 @@ function Select2({
34129
34145
  autoFocus: true
34130
34146
  }
34131
34147
  ),
34132
- isLoading && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Loading, { icon: "dots", placement: "center", size: "sm" }),
34133
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
34148
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Loading, { icon: "dots", placement: "center", size: "sm" }),
34149
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
34134
34150
  List,
34135
34151
  {
34136
34152
  ...listProps,
@@ -34153,7 +34169,7 @@ var import_classnames47 = __toESM(require_classnames());
34153
34169
  var Sidebar_default = { "sidebar": "Sidebar_sidebar__NDg2N", "header": "Sidebar_header__ZGU4M", "label": "Sidebar_label__NzZkM", "section": "Sidebar_section__NDY5Y", "title": "Sidebar_title__NmU4O", "content": "Sidebar_content__YjhhO", "item": "Sidebar_item__YmFjY", "selected": "Sidebar_selected__NWU3Y", "collapsed": "Sidebar_collapsed__MDY4N", "muted": "Sidebar_muted__N2U2M" };
34154
34170
 
34155
34171
  // src/components/Sidebar.tsx
34156
- var import_jsx_runtime63 = require("react/jsx-runtime");
34172
+ var import_jsx_runtime64 = require("react/jsx-runtime");
34157
34173
  var SidebarContext = (0, import_react198.createContext)(null);
34158
34174
  function Sidebar({
34159
34175
  itemBackgroundColor = "2",
@@ -34163,7 +34179,7 @@ function Sidebar({
34163
34179
  children,
34164
34180
  ...props
34165
34181
  }) {
34166
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SidebarContext.Provider, { value: { isCollapsed, itemBackgroundColor }, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
34182
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(SidebarContext.Provider, { value: { isCollapsed, itemBackgroundColor }, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
34167
34183
  Column,
34168
34184
  {
34169
34185
  border: "right",
@@ -34184,9 +34200,9 @@ function SidebarSection({
34184
34200
  children,
34185
34201
  ...props
34186
34202
  }) {
34187
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Column, { ...props, className: (0, import_classnames47.default)(Sidebar_default.section, className), children: [
34188
- title && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: Sidebar_default.title, children: title }),
34189
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: Sidebar_default.content, children })
34203
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(Column, { ...props, className: (0, import_classnames47.default)(Sidebar_default.section, className), children: [
34204
+ title && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: Sidebar_default.title, children: title }),
34205
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: Sidebar_default.content, children })
34190
34206
  ] });
34191
34207
  }
34192
34208
  function SidebarHeader({
@@ -34196,9 +34212,9 @@ function SidebarHeader({
34196
34212
  children,
34197
34213
  ...props
34198
34214
  }) {
34199
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Row, { ...props, className: (0, import_classnames47.default)(Sidebar_default.header, className), children: [
34200
- icon && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon2, { size: "sm", children: icon }),
34201
- label && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: Sidebar_default.label, children: label }),
34215
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(Row, { ...props, className: (0, import_classnames47.default)(Sidebar_default.header, className), children: [
34216
+ icon && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon2, { size: "sm", children: icon }),
34217
+ label && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: Sidebar_default.label, children: label }),
34202
34218
  children
34203
34219
  ] });
34204
34220
  }
@@ -34211,8 +34227,8 @@ function SidebarItem({
34211
34227
  ...props
34212
34228
  }) {
34213
34229
  const { isCollapsed, itemBackgroundColor } = (0, import_react198.useContext)(SidebarContext);
34214
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)($4e3b923658d69c60$export$8c610744efcf8a1d, { delay: 0, closeDelay: 0, isDisabled: !isCollapsed, children: [
34215
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)($f645667febf57a63$export$35a3bebf7ef2d934, { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
34230
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)($4e3b923658d69c60$export$8c610744efcf8a1d, { delay: 0, closeDelay: 0, isDisabled: !isCollapsed, children: [
34231
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)($f645667febf57a63$export$35a3bebf7ef2d934, { children: /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
34216
34232
  Row,
34217
34233
  {
34218
34234
  ...props,
@@ -34220,13 +34236,13 @@ function SidebarItem({
34220
34236
  hoverBackgroundColor: itemBackgroundColor,
34221
34237
  className: (0, import_classnames47.default)(Sidebar_default.item, className, isSelected && Sidebar_default.selected),
34222
34238
  children: [
34223
- icon && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon2, { size: "sm", children: icon }),
34224
- label && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Text, { className: (0, import_classnames47.default)(Sidebar_default.label), children: label }),
34239
+ icon && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Icon2, { size: "sm", children: icon }),
34240
+ label && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Text, { className: (0, import_classnames47.default)(Sidebar_default.label), children: label }),
34225
34241
  children
34226
34242
  ]
34227
34243
  }
34228
34244
  ) }),
34229
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Tooltip2, { placement: "right", children: label })
34245
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Tooltip2, { placement: "right", children: label })
34230
34246
  ] });
34231
34247
  }
34232
34248
 
@@ -34237,17 +34253,17 @@ var import_classnames48 = __toESM(require_classnames());
34237
34253
  var Slider_default = { "slider": "Slider_slider__MjBhO", "header": "Slider_header__ZTE2M", "track": "Slider_track__ODk5M", "fill": "Slider_fill__YzdhM", "thumb": "Slider_thumb__NGEzM" };
34238
34254
 
34239
34255
  // src/components/Slider.tsx
34240
- var import_jsx_runtime64 = require("react/jsx-runtime");
34256
+ var import_jsx_runtime65 = require("react/jsx-runtime");
34241
34257
  function Slider2({ className, showValue = true, label, ...props }) {
34242
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)($6f909507e6374d18$export$472062a354075cee, { ...props, className: (0, import_classnames48.default)(Slider_default.slider, className), children: [
34243
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: Slider_default.header, children: [
34244
- label && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Label2, { className: Slider_default.label, children: label }),
34245
- showValue && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)($6f909507e6374d18$export$a590f758a961cb5b, { className: Slider_default.output })
34258
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)($6f909507e6374d18$export$472062a354075cee, { ...props, className: (0, import_classnames48.default)(Slider_default.slider, className), children: [
34259
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { className: Slider_default.header, children: [
34260
+ label && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Label2, { className: Slider_default.label, children: label }),
34261
+ showValue && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)($6f909507e6374d18$export$a590f758a961cb5b, { className: Slider_default.output })
34246
34262
  ] }),
34247
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)($6f909507e6374d18$export$105594979f116971, { className: Slider_default.track, children: ({ state }) => {
34263
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)($6f909507e6374d18$export$105594979f116971, { className: Slider_default.track, children: ({ state }) => {
34248
34264
  const isHorizontal = state.orientation === "horizontal";
34249
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
34250
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
34265
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_jsx_runtime65.Fragment, { children: [
34266
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
34251
34267
  "div",
34252
34268
  {
34253
34269
  className: Slider_default.fill,
@@ -34256,7 +34272,7 @@ function Slider2({ className, showValue = true, label, ...props }) {
34256
34272
  }
34257
34273
  }
34258
34274
  ),
34259
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)($6f909507e6374d18$export$2c1b491743890dec, { className: Slider_default.thumb })
34275
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)($6f909507e6374d18$export$2c1b491743890dec, { className: Slider_default.thumb })
34260
34276
  ] });
34261
34277
  } })
34262
34278
  ] });
@@ -34269,11 +34285,11 @@ var import_classnames49 = __toESM(require_classnames());
34269
34285
  var StatusLight_default = { "statuslight": "StatusLight_statuslight__MTliM", "status": "StatusLight_status__MDNmO", "bg": "StatusLight_bg__MjVjN", "success": "StatusLight_success__ZWI1N", "warning": "StatusLight_warning__YWRmM", "error": "StatusLight_error__NjdjM", "active": "StatusLight_active__NGZiY", "inactive": "StatusLight_inactive__NDI0Z" };
34270
34286
 
34271
34287
  // src/components/StatusLight.tsx
34272
- var import_jsx_runtime65 = require("react/jsx-runtime");
34288
+ var import_jsx_runtime66 = require("react/jsx-runtime");
34273
34289
  function StatusLight(props) {
34274
34290
  const { color, variant = "inactive", children, className, ...domProps } = props;
34275
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { ...domProps, className: (0, import_classnames49.default)(StatusLight_default.statuslight, className), children: [
34276
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: StatusLight_default.bg, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
34291
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)("div", { ...domProps, className: (0, import_classnames49.default)(StatusLight_default.statuslight, className), children: [
34292
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: StatusLight_default.bg, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
34277
34293
  "div",
34278
34294
  {
34279
34295
  className: (0, import_classnames49.default)(StatusLight_default.status, StatusLight_default[variant]),
@@ -34291,12 +34307,12 @@ var import_classnames50 = __toESM(require_classnames());
34291
34307
  var Switch_default = { "switch": "Switch_switch__NzIwM", "track": "Switch_track__NWQ0M", "knob": "Switch_knob__NDU3M" };
34292
34308
 
34293
34309
  // src/components/Switch.tsx
34294
- var import_jsx_runtime66 = require("react/jsx-runtime");
34310
+ var import_jsx_runtime67 = require("react/jsx-runtime");
34295
34311
  function Switch2({ label, children, className, ...props }) {
34296
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(Column, { children: [
34297
- label && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Label2, { children: label }),
34298
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)($8e59e948500a8fe1$export$b5d5cf8927ab7262, { ...props, className: (0, import_classnames50.default)(Switch_default.switch, className), children: [
34299
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: Switch_default.track, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: Switch_default.knob }) }),
34312
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(Column, { children: [
34313
+ label && /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Label2, { children: label }),
34314
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)($8e59e948500a8fe1$export$b5d5cf8927ab7262, { ...props, className: (0, import_classnames50.default)(Switch_default.switch, className), children: [
34315
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: Switch_default.track, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("div", { className: Switch_default.knob }) }),
34300
34316
  children
34301
34317
  ] })
34302
34318
  ] });
@@ -34306,18 +34322,18 @@ function Switch2({ label, children, className, ...props }) {
34306
34322
  var Tabs_default = { "tabs": "Tabs_tabs__OWVjO", "list": "Tabs_list__YWRjM", "tab": "Tabs_tab__ZjgwM", "quiet": "Tabs_quiet__ZTQ1O" };
34307
34323
 
34308
34324
  // src/components/Tabs.tsx
34309
- var import_jsx_runtime67 = require("react/jsx-runtime");
34325
+ var import_jsx_runtime68 = require("react/jsx-runtime");
34310
34326
  function Tabs2({ children, ...props }) {
34311
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)($5e8ad37a45e1c704$export$b2539bed5023c21c, { ...props, className: Tabs_default.tabs, children });
34327
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)($5e8ad37a45e1c704$export$b2539bed5023c21c, { ...props, className: Tabs_default.tabs, children });
34312
34328
  }
34313
34329
  function TabList2({ children, ...props }) {
34314
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)($5e8ad37a45e1c704$export$e51a686c67fdaa2d, { ...props, className: Tabs_default.list, children });
34330
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)($5e8ad37a45e1c704$export$e51a686c67fdaa2d, { ...props, className: Tabs_default.list, children });
34315
34331
  }
34316
34332
  function Tab({ children, ...props }) {
34317
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)($5e8ad37a45e1c704$export$3e41faf802a29e71, { ...props, className: Tabs_default.tab, children });
34333
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)($5e8ad37a45e1c704$export$3e41faf802a29e71, { ...props, className: Tabs_default.tab, children });
34318
34334
  }
34319
34335
  function TabPanel2({ children, ...props }) {
34320
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)($5e8ad37a45e1c704$export$3d96ec278d3efce4, { ...props, className: Tabs_default.panel, children });
34336
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsx)($5e8ad37a45e1c704$export$3d96ec278d3efce4, { ...props, className: Tabs_default.panel, children });
34321
34337
  }
34322
34338
 
34323
34339
  // src/components/ThemeButton.tsx
@@ -34327,7 +34343,7 @@ var import_classnames51 = __toESM(require_classnames());
34327
34343
  var ThemeButton_default = { "button": "ThemeButton_button__MDUzN" };
34328
34344
 
34329
34345
  // src/components/ThemeButton.tsx
34330
- var import_jsx_runtime68 = require("react/jsx-runtime");
34346
+ var import_jsx_runtime69 = require("react/jsx-runtime");
34331
34347
  function ThemeButton({ className, variant = "quiet", onPress, ...props }) {
34332
34348
  const { theme, setTheme } = useTheme();
34333
34349
  const transitions = useTransition(theme, {
@@ -34346,7 +34362,7 @@ function ThemeButton({ className, variant = "quiet", onPress, ...props }) {
34346
34362
  setTheme(theme === "light" ? "dark" : "light");
34347
34363
  onPress?.(e);
34348
34364
  }
34349
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
34365
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
34350
34366
  Button2,
34351
34367
  {
34352
34368
  ...props,
@@ -34356,7 +34372,7 @@ function ThemeButton({ className, variant = "quiet", onPress, ...props }) {
34356
34372
  children: [
34357
34373
  transitions((style, item) => (
34358
34374
  // @ts-ignore
34359
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(animated.div, { style, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon2, { size: "sm", children: item === "light" ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Sun, {}) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Moon, {}) }) }, item)
34375
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(animated.div, { style, children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Icon2, { size: "sm", children: item === "light" ? /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Sun, {}) : /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Moon, {}) }) }, item)
34360
34376
  )),
34361
34377
  "\xA0"
34362
34378
  ]
@@ -34371,12 +34387,12 @@ var import_classnames52 = __toESM(require_classnames());
34371
34387
  var Toggle_default = { "toggle": "Toggle_toggle__OWVjZ" };
34372
34388
 
34373
34389
  // src/components/Toggle.tsx
34374
- var import_jsx_runtime69 = require("react/jsx-runtime");
34390
+ var import_jsx_runtime70 = require("react/jsx-runtime");
34375
34391
  function Toggle({ label, children, className, ...props }) {
34376
34392
  const isSelected = typeof props.value !== "undefined" ? !!props.value : void 0;
34377
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx_runtime69.Fragment, { children: [
34378
- label && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Label2, { children: label }),
34379
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
34393
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(import_jsx_runtime70.Fragment, { children: [
34394
+ label && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Label2, { children: label }),
34395
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
34380
34396
  $efde0372d7a700fe$export$d2b052e7b4be1756,
34381
34397
  {
34382
34398
  ...props,
@@ -34395,7 +34411,7 @@ var import_classnames53 = __toESM(require_classnames());
34395
34411
  var ToggleGroup_default = { "group": "ToggleGroup_group__NDJiO", "list": "ToggleGroup_list__NTM2M", "item": "ToggleGroup_item__MWFiY", "primary": "ToggleGroup_primary__ZTAyY" };
34396
34412
 
34397
34413
  // src/components/ToggleGroup.tsx
34398
- var import_jsx_runtime70 = require("react/jsx-runtime");
34414
+ var import_jsx_runtime71 = require("react/jsx-runtime");
34399
34415
  function ToggleGroup({
34400
34416
  label,
34401
34417
  value,
@@ -34414,7 +34430,7 @@ function ToggleGroup({
34414
34430
  onSelectionChange?.(keys);
34415
34431
  onChange?.(Array.from(keys).map((k) => k.toString()));
34416
34432
  };
34417
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
34433
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
34418
34434
  $eaf9e70818b436db$export$67ea30858aaf75e3,
34419
34435
  {
34420
34436
  ...props,
@@ -34424,18 +34440,18 @@ function ToggleGroup({
34424
34440
  onSelectionChange: handleChange,
34425
34441
  className: (0, import_classnames53.default)(ToggleGroup_default.group, className, variant && ToggleGroup_default[variant]),
34426
34442
  children: [
34427
- label && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Label2, { children: label }),
34428
- /* @__PURE__ */ (0, import_jsx_runtime70.jsx)($eaf9e70818b436db$export$f9fef0f55402315b, { className: ToggleGroup_default.list, children })
34443
+ label && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Label2, { children: label }),
34444
+ /* @__PURE__ */ (0, import_jsx_runtime71.jsx)($eaf9e70818b436db$export$f9fef0f55402315b, { className: ToggleGroup_default.list, children })
34429
34445
  ]
34430
34446
  }
34431
34447
  );
34432
34448
  }
34433
34449
  function ToggleGroupItem({ className, children, ...props }) {
34434
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)($eaf9e70818b436db$export$3288d34c523a1192, { ...props, className: (0, import_classnames53.default)(ToggleGroup_default.item, className), children });
34450
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)($eaf9e70818b436db$export$3288d34c523a1192, { ...props, className: (0, import_classnames53.default)(ToggleGroup_default.item, className), children });
34435
34451
  }
34436
34452
 
34437
34453
  // src/components/ZenProvider.tsx
34438
- var import_jsx_runtime71 = require("react/jsx-runtime");
34454
+ var import_jsx_runtime72 = require("react/jsx-runtime");
34439
34455
  var defaultToastConfig = {
34440
34456
  duration: 3e3
34441
34457
  };
@@ -34446,7 +34462,7 @@ function ZenProvider({
34446
34462
  toast = defaultToastConfig
34447
34463
  }) {
34448
34464
  useInitTheme(theme, colorScheme);
34449
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ToastProvider, { ...toast, children });
34465
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ToastProvider, { ...toast, children });
34450
34466
  }
34451
34467
  /*! Bundled license information:
34452
34468