@umami/react-zen 0.190.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
@@ -34,18 +34,18 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
34
34
  // node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
35
35
  var require_use_sync_external_store_shim_production = __commonJS({
36
36
  "node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"(exports) {
37
- var import_react198 = __toESM(require("react"));
38
- var React5 = import_react198.default;
37
+ var import_react199 = __toESM(require("react"));
38
+ var React5 = import_react199.default;
39
39
  function is2(x, y) {
40
40
  return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
41
41
  }
42
42
  var objectIs = "function" === typeof Object.is ? Object.is : is2;
43
- var useState19 = React5.useState;
44
- var useEffect12 = React5.useEffect;
43
+ var useState20 = React5.useState;
44
+ var useEffect13 = React5.useEffect;
45
45
  var useLayoutEffect3 = React5.useLayoutEffect;
46
46
  var useDebugValue = React5.useDebugValue;
47
47
  function useSyncExternalStore$2(subscribe, getSnapshot) {
48
- var value = getSnapshot(), _useState = useState19({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
48
+ var value = getSnapshot(), _useState = useState20({ inst: { value, getSnapshot } }), inst = _useState[0].inst, forceUpdate = _useState[1];
49
49
  useLayoutEffect3(
50
50
  function() {
51
51
  inst.value = value;
@@ -54,7 +54,7 @@ var require_use_sync_external_store_shim_production = __commonJS({
54
54
  },
55
55
  [subscribe, value, getSnapshot]
56
56
  );
57
- useEffect12(
57
+ useEffect13(
58
58
  function() {
59
59
  checkIfSnapshotChanged(inst) && forceUpdate({ inst });
60
60
  return subscribe(function() {
@@ -87,7 +87,7 @@ var require_use_sync_external_store_shim_production = __commonJS({
87
87
  // node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
88
88
  var require_use_sync_external_store_shim_development = __commonJS({
89
89
  "node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.1.1/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js"(exports) {
90
- var import_react198 = __toESM(require("react"));
90
+ var import_react199 = __toESM(require("react"));
91
91
  (function() {
92
92
  function is2(x, y) {
93
93
  return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
@@ -103,7 +103,7 @@ var require_use_sync_external_store_shim_development = __commonJS({
103
103
  "The result of getSnapshot should be cached to avoid an infinite loop"
104
104
  ), didWarnUncachedGetSnapshot = true);
105
105
  }
106
- cachedValue = useState19({
106
+ cachedValue = useState20({
107
107
  inst: { value, getSnapshot }
108
108
  });
109
109
  var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
@@ -115,7 +115,7 @@ var require_use_sync_external_store_shim_development = __commonJS({
115
115
  },
116
116
  [subscribe, value, getSnapshot]
117
117
  );
118
- useEffect12(
118
+ useEffect13(
119
119
  function() {
120
120
  checkIfSnapshotChanged(inst) && forceUpdate({ inst });
121
121
  return subscribe(function() {
@@ -141,7 +141,7 @@ var require_use_sync_external_store_shim_development = __commonJS({
141
141
  return getSnapshot();
142
142
  }
143
143
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
144
- var React5 = import_react198.default, objectIs = "function" === typeof Object.is ? Object.is : is2, useState19 = React5.useState, useEffect12 = React5.useEffect, useLayoutEffect3 = React5.useLayoutEffect, useDebugValue = React5.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
144
+ var React5 = import_react199.default, objectIs = "function" === typeof Object.is ? Object.is : is2, useState20 = React5.useState, useEffect13 = React5.useEffect, useLayoutEffect3 = React5.useLayoutEffect, useDebugValue = React5.useDebugValue, didWarnOld18Alpha = false, didWarnUncachedGetSnapshot = false, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
145
145
  exports.useSyncExternalStore = void 0 !== React5.useSyncExternalStore ? React5.useSyncExternalStore : shim;
146
146
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
147
147
  })();
@@ -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,6 +329,7 @@ __export(index_exports, {
328
329
  TooltipBubble: () => TooltipBubble,
329
330
  TooltipTrigger: () => $4e3b923658d69c60$export$8c610744efcf8a1d,
330
331
  ZenProvider: () => ZenProvider,
332
+ useBreakpoint: () => useBreakpoint,
331
333
  useDebounce: () => useDebounce,
332
334
  useNavigationContext: () => useNavigationContext,
333
335
  useTheme: () => useTheme,
@@ -26617,7 +26619,7 @@ function createFormControl(props = {}) {
26617
26619
  state: createSubject()
26618
26620
  };
26619
26621
  const shouldDisplayAllAssociatedErrors = _options.criteriaMode === VALIDATION_MODE.all;
26620
- const debounce = (callback) => (wait) => {
26622
+ const debounce2 = (callback) => (wait) => {
26621
26623
  clearTimeout(timer);
26622
26624
  timer = setTimeout(callback, wait);
26623
26625
  };
@@ -26730,7 +26732,7 @@ function createFormControl(props = {}) {
26730
26732
  const previousFieldError = get(_formState.errors, name);
26731
26733
  const shouldUpdateValid = (_proxyFormState.isValid || _proxySubscribeFormState.isValid) && isBoolean(isValid) && _formState.isValid !== isValid;
26732
26734
  if (_options.delayError && error) {
26733
- delayErrorCallback = debounce(() => updateErrors(name, error));
26735
+ delayErrorCallback = debounce2(() => updateErrors(name, error));
26734
26736
  delayErrorCallback(_options.delayError);
26735
26737
  } else {
26736
26738
  clearTimeout(timer);
@@ -32565,8 +32567,58 @@ function useInitTheme(preferred, colorScheme) {
32565
32567
  }, [preferred, colorScheme, initTheme]);
32566
32568
  }
32567
32569
 
32568
- // src/components/Accordion.tsx
32570
+ // src/components/hooks/useBreakpoint.ts
32569
32571
  var import_react182 = require("react");
32572
+
32573
+ // src/lib/utils.ts
32574
+ function debounce(func, delay) {
32575
+ let timer;
32576
+ return (...args) => {
32577
+ clearTimeout(timer);
32578
+ timer = window.setTimeout(() => {
32579
+ func(...args);
32580
+ }, delay);
32581
+ };
32582
+ }
32583
+ function mapIdProperty(data) {
32584
+ return data.length && data?.[0]?.id === void 0 ? data.map((row, id) => ({ ...row, id })) : data;
32585
+ }
32586
+
32587
+ // src/components/hooks/useBreakpoint.ts
32588
+ var breakpoints = {
32589
+ xs: [0, 576],
32590
+ sm: [576, 768],
32591
+ md: [768, 992],
32592
+ lg: [992, 1200],
32593
+ xl: [1200, Infinity]
32594
+ };
32595
+ var DEBOUNCE_DELAY_MS = 150;
32596
+ function useBreakpoint() {
32597
+ const [breakpoint, setBreakpoint] = (0, import_react182.useState)(null);
32598
+ const calculateBreakpoint = (0, import_react182.useCallback)(() => {
32599
+ if (typeof window === "undefined") {
32600
+ return;
32601
+ }
32602
+ const width = window.innerWidth;
32603
+ const currentBreakpointKey = Object.keys(breakpoints).find((key) => {
32604
+ const [min, max] = breakpoints[key];
32605
+ return width >= min && width < max;
32606
+ }) || "xs";
32607
+ setBreakpoint(currentBreakpointKey);
32608
+ }, []);
32609
+ (0, import_react182.useEffect)(() => {
32610
+ calculateBreakpoint();
32611
+ const debouncedResize = debounce(calculateBreakpoint, DEBOUNCE_DELAY_MS);
32612
+ window.addEventListener("resize", debouncedResize);
32613
+ return () => {
32614
+ window.removeEventListener("resize", debouncedResize);
32615
+ };
32616
+ }, [calculateBreakpoint]);
32617
+ return breakpoint;
32618
+ }
32619
+
32620
+ // src/components/Accordion.tsx
32621
+ var import_react183 = require("react");
32570
32622
  var import_classnames14 = __toESM(require_classnames());
32571
32623
 
32572
32624
  // src/components/Text.tsx
@@ -32640,7 +32692,7 @@ function AccordionItem({
32640
32692
  ...props
32641
32693
  }) {
32642
32694
  const [trigger, panel] = children;
32643
- const [expanded, setExpanded] = (0, import_react182.useState)(defaultExpanded);
32695
+ const [expanded, setExpanded] = (0, import_react183.useState)(defaultExpanded);
32644
32696
  const handleExpandedChange = (isExpanded) => {
32645
32697
  requestAnimationFrame(() => setExpanded(isExpanded));
32646
32698
  };
@@ -32851,7 +32903,7 @@ function Checkbox2({ label, className, children, ...props }) {
32851
32903
  var import_classnames22 = __toESM(require_classnames());
32852
32904
 
32853
32905
  // src/components/List.tsx
32854
- var import_react183 = require("react");
32906
+ var import_react184 = require("react");
32855
32907
  var import_classnames20 = __toESM(require_classnames());
32856
32908
 
32857
32909
  // src/lib/constants.ts
@@ -32943,7 +32995,7 @@ function List({
32943
32995
  children: children || items?.map((item) => {
32944
32996
  const id2 = item[idProperty] || item.toString();
32945
32997
  const label2 = item[labelProperty] || item.toString();
32946
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react183.Fragment, { children: [
32998
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(import_react184.Fragment, { children: [
32947
32999
  item[separatorProperty] && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)($431f98aba6844401$export$1ff3c3f08ae963c0, { className: List_default.separator }),
32948
33000
  /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(ListItem, { id: id2, className: List_default.item, children: label2 })
32949
33001
  ] }, id2);
@@ -33063,15 +33115,15 @@ function Code({ asChild, children }) {
33063
33115
  }
33064
33116
 
33065
33117
  // src/components/ConfirmationDialog.tsx
33066
- var import_react186 = require("react");
33118
+ var import_react187 = require("react");
33067
33119
  var import_classnames25 = __toESM(require_classnames());
33068
33120
 
33069
33121
  // src/components/TextField.tsx
33070
- var import_react185 = require("react");
33122
+ var import_react186 = require("react");
33071
33123
  var import_classnames24 = __toESM(require_classnames());
33072
33124
 
33073
33125
  // src/components/CopyButton.tsx
33074
- var import_react184 = require("react");
33126
+ var import_react185 = require("react");
33075
33127
  var import_classnames23 = __toESM(require_classnames());
33076
33128
 
33077
33129
  // css-modules:E:\dev\umami-react-zen\src\components\CopyButton.module.css
@@ -33081,8 +33133,8 @@ var CopyButton_default = { "icon": "CopyButton_icon__YTM2Y", "copy-button": "Cop
33081
33133
  var import_jsx_runtime37 = require("react/jsx-runtime");
33082
33134
  var TIMEOUT = 2e3;
33083
33135
  function CopyButton({ value, timeout = TIMEOUT, className, children, ...props }) {
33084
- const [copied, setCopied] = (0, import_react184.useState)(false);
33085
- const ref = (0, import_react184.useRef)(timeout);
33136
+ const [copied, setCopied] = (0, import_react185.useState)(false);
33137
+ const ref = (0, import_react185.useRef)(timeout);
33086
33138
  const handleCopy = async () => {
33087
33139
  if (value) {
33088
33140
  await navigator.clipboard.writeText(value);
@@ -33114,13 +33166,13 @@ function TextField2({
33114
33166
  children,
33115
33167
  ...props
33116
33168
  }) {
33117
- const [inputValue, setInputValue] = (0, import_react185.useState)(defaultValue || value);
33169
+ const [inputValue, setInputValue] = (0, import_react186.useState)(defaultValue || value);
33118
33170
  const Component = asTextArea ? $216918bed6669f72$export$f5c9f3c2c4054eec : $3985021b0ad6602f$export$f5b8910cec6cf069;
33119
33171
  const handleChange = (value2) => {
33120
33172
  setInputValue(value2);
33121
33173
  return onChange?.(value2);
33122
33174
  };
33123
- (0, import_react185.useEffect)(() => {
33175
+ (0, import_react186.useEffect)(() => {
33124
33176
  setInputValue(value);
33125
33177
  }, [value]);
33126
33178
  return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(import_jsx_runtime38.Fragment, { children: [
@@ -33163,7 +33215,7 @@ function ConfirmationDialog({
33163
33215
  children,
33164
33216
  ...props
33165
33217
  }) {
33166
- const [canSave, setCanSave] = (0, import_react186.useState)(false);
33218
+ const [canSave, setCanSave] = (0, import_react187.useState)(false);
33167
33219
  const handleChange = (e) => {
33168
33220
  setCanSave(e.target.value === value);
33169
33221
  };
@@ -33218,9 +33270,21 @@ function Container({
33218
33270
  );
33219
33271
  }
33220
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
+
33221
33285
  // src/components/DataTable.tsx
33222
33286
  var import_classnames28 = __toESM(require_classnames());
33223
- var import_react187 = require("react");
33287
+ var import_react188 = require("react");
33224
33288
 
33225
33289
  // src/components/Table.tsx
33226
33290
  var import_classnames27 = __toESM(require_classnames());
@@ -33229,13 +33293,13 @@ var import_classnames27 = __toESM(require_classnames());
33229
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" };
33230
33294
 
33231
33295
  // src/components/Table.tsx
33232
- var import_jsx_runtime41 = require("react/jsx-runtime");
33296
+ var import_jsx_runtime42 = require("react/jsx-runtime");
33233
33297
  var gridTemplateColumns = "repeat(auto-fit, minmax(140px, 1fr))";
33234
33298
  function Table2({ children, className, ...props }) {
33235
- 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 });
33236
33300
  }
33237
33301
  function TableHeader({ children, className, style, ...props }) {
33238
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
33302
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
33239
33303
  $1910c06f0ca9905e$export$f850895b287ef28e,
33240
33304
  {
33241
33305
  ...props,
@@ -33246,10 +33310,10 @@ function TableHeader({ children, className, style, ...props }) {
33246
33310
  );
33247
33311
  }
33248
33312
  function TableBody({ children, className, ...props }) {
33249
- 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 });
33250
33314
  }
33251
33315
  function TableRow({ children, className, style, ...props }) {
33252
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
33316
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
33253
33317
  $1910c06f0ca9905e$export$b59bdbef9ce70de2,
33254
33318
  {
33255
33319
  ...props,
@@ -33260,7 +33324,7 @@ function TableRow({ children, className, style, ...props }) {
33260
33324
  );
33261
33325
  }
33262
33326
  function TableColumn({ children, className, align, ...props }) {
33263
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
33327
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
33264
33328
  $1910c06f0ca9905e$export$816b5d811295e6bc,
33265
33329
  {
33266
33330
  ...props,
@@ -33271,19 +33335,19 @@ function TableColumn({ children, className, align, ...props }) {
33271
33335
  );
33272
33336
  }
33273
33337
  function TableCell({ children, className, align, ...props }) {
33274
- 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 });
33275
33339
  }
33276
33340
 
33277
33341
  // css-modules:E:\dev\umami-react-zen\src\components\DataTable.module.css
33278
33342
  var DataTable_default = { "datatable": "DataTable_datatable__MWRkN", "cell": "DataTable_cell__MmMyM" };
33279
33343
 
33280
33344
  // src/components/DataTable.tsx
33281
- var import_jsx_runtime42 = require("react/jsx-runtime");
33282
- var import_react188 = require("react");
33345
+ var import_jsx_runtime43 = require("react/jsx-runtime");
33346
+ var import_react189 = require("react");
33283
33347
  function DataTable({ data = [], className, children, ...props }) {
33284
- const items = data.length && data?.[0]?.id === void 0 ? data.map((row, id) => ({ ...row, id })) : data;
33348
+ const rows = mapIdProperty(data);
33285
33349
  const widths = [];
33286
- const columns = import_react187.Children.map(children, (child) => {
33350
+ const columns = import_react188.Children.map(children, (child) => {
33287
33351
  if (child) {
33288
33352
  widths.push(child?.props?.width || "1fr");
33289
33353
  return { ...child?.props };
@@ -33291,27 +33355,27 @@ function DataTable({ data = [], className, children, ...props }) {
33291
33355
  return null;
33292
33356
  })?.filter((n) => n);
33293
33357
  const gridTemplateColumns2 = widths.join(" ");
33294
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(Table2, { ...props, className: (0, import_classnames28.default)(DataTable_default.datatable, className), children: [
33295
- /* @__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 }) => {
33296
33360
  if (hidden) {
33297
33361
  return null;
33298
33362
  }
33299
- return /* @__PURE__ */ (0, import_react188.createElement)(TableColumn, { ...columnProps, key: id, id }, label);
33363
+ return /* @__PURE__ */ (0, import_react189.createElement)(TableColumn, { ...columnProps, key: id, id }, label);
33300
33364
  }) }),
33301
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(TableBody, { children: items.map((row, index) => {
33302
- 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 }) => {
33303
33367
  if (hidden) {
33304
33368
  return null;
33305
33369
  }
33306
33370
  const value = typeof children2 === "function" ? children2(row, index) : children2 || row[id];
33307
- return /* @__PURE__ */ (0, import_react188.createElement)(
33371
+ return /* @__PURE__ */ (0, import_react189.createElement)(
33308
33372
  TableCell,
33309
33373
  {
33310
33374
  ...cellProps,
33311
33375
  key: id,
33312
33376
  className: (0, import_classnames28.default)(DataTable_default.cell, className2)
33313
33377
  },
33314
- as ? (0, import_react187.createElement)(as, {}, value) : value
33378
+ as ? (0, import_react188.createElement)(as, {}, value) : value
33315
33379
  );
33316
33380
  }) }, index);
33317
33381
  }) })
@@ -33328,17 +33392,17 @@ var import_classnames29 = __toESM(require_classnames());
33328
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" };
33329
33393
 
33330
33394
  // src/components/Dots.tsx
33331
- var import_jsx_runtime43 = require("react/jsx-runtime");
33395
+ var import_jsx_runtime44 = require("react/jsx-runtime");
33332
33396
  function Dots({ size = "md", className, ...props }) {
33333
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { ...props, className: (0, import_classnames29.default)(Dots_default.dots, className, Dots_default[`size-${size}`]), children: [
33334
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: Dots_default.dot }),
33335
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: Dots_default.dot }),
33336
- /* @__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 })
33337
33401
  ] });
33338
33402
  }
33339
33403
 
33340
33404
  // src/components/FloatingTooltip.tsx
33341
- var import_react189 = require("react");
33405
+ var import_react190 = require("react");
33342
33406
  var import_classnames31 = __toESM(require_classnames());
33343
33407
 
33344
33408
  // src/components/Tooltip.tsx
@@ -33348,14 +33412,14 @@ var import_classnames30 = __toESM(require_classnames());
33348
33412
  var Tooltip_default = { "tooltip": "Tooltip_tooltip__YmY4Z", "bubble": "Tooltip_bubble__MWE0N", "arrow": "Tooltip_arrow__OGM1M", "slide": "Tooltip_slide__MGVmY" };
33349
33413
 
33350
33414
  // src/components/Tooltip.tsx
33351
- var import_jsx_runtime44 = require("react/jsx-runtime");
33415
+ var import_jsx_runtime45 = require("react/jsx-runtime");
33352
33416
  function Tooltip2({ children, className, showArrow, ...props }) {
33353
- 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 }) });
33354
33418
  }
33355
33419
  function TooltipBubble({ showArrow, children, ...props }) {
33356
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)("div", { ...props, children: [
33357
- 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" }) }) }),
33358
- /* @__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 })
33359
33423
  ] });
33360
33424
  }
33361
33425
 
@@ -33363,10 +33427,10 @@ function TooltipBubble({ showArrow, children, ...props }) {
33363
33427
  var FloatingTooltip_default = { "floating": "FloatingTooltip_floating__ZjM4N" };
33364
33428
 
33365
33429
  // src/components/FloatingTooltip.tsx
33366
- var import_jsx_runtime45 = require("react/jsx-runtime");
33430
+ var import_jsx_runtime46 = require("react/jsx-runtime");
33367
33431
  function FloatingTooltip({ className, style, children, ...props }) {
33368
- const [position, setPosition] = (0, import_react189.useState)({ x: -1e3, y: -1e3 });
33369
- (0, import_react189.useEffect)(() => {
33432
+ const [position, setPosition] = (0, import_react190.useState)({ x: -1e3, y: -1e3 });
33433
+ (0, import_react190.useEffect)(() => {
33370
33434
  const handler = (e) => {
33371
33435
  setPosition({ x: e.clientX, y: e.clientY });
33372
33436
  };
@@ -33375,7 +33439,7 @@ function FloatingTooltip({ className, style, children, ...props }) {
33375
33439
  document.removeEventListener("mousemove", handler);
33376
33440
  };
33377
33441
  }, []);
33378
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
33442
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
33379
33443
  TooltipBubble,
33380
33444
  {
33381
33445
  ...props,
@@ -33393,7 +33457,7 @@ var import_classnames32 = __toESM(require_classnames());
33393
33457
  var Heading_default = { "heading": "Heading_heading__MGIyZ" };
33394
33458
 
33395
33459
  // src/components/Heading.tsx
33396
- var import_jsx_runtime46 = require("react/jsx-runtime");
33460
+ var import_jsx_runtime47 = require("react/jsx-runtime");
33397
33461
  function Heading2({
33398
33462
  size = "3",
33399
33463
  weight,
@@ -33410,7 +33474,7 @@ function Heading2({
33410
33474
  fontWeight: weight,
33411
33475
  letterSpacing: spacing
33412
33476
  });
33413
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
33477
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
33414
33478
  Box,
33415
33479
  {
33416
33480
  ...props,
@@ -33422,13 +33486,13 @@ function Heading2({
33422
33486
  }
33423
33487
 
33424
33488
  // src/components/HoverTrigger.tsx
33425
- var import_react190 = require("react");
33489
+ var import_react191 = require("react");
33426
33490
 
33427
33491
  // css-modules:E:\dev\umami-react-zen\src\components\HoverTrigger.module.css
33428
33492
  var HoverTrigger_default = { "wrapper": "HoverTrigger_wrapper__NGFlN" };
33429
33493
 
33430
33494
  // src/components/HoverTrigger.tsx
33431
- var import_jsx_runtime47 = require("react/jsx-runtime");
33495
+ var import_jsx_runtime48 = require("react/jsx-runtime");
33432
33496
  var CLOSE_DELAY = 500;
33433
33497
  function HoverTrigger({
33434
33498
  isOpen,
@@ -33438,12 +33502,12 @@ function HoverTrigger({
33438
33502
  children
33439
33503
  }) {
33440
33504
  const [triggerElement, popupElement] = children;
33441
- const triggerRef = (0, import_react190.useRef)(null);
33442
- const [open, setOpen] = (0, import_react190.useState)(isOpen);
33443
- const isOverMenu = (0, import_react190.useRef)(false);
33444
- const isOverButton = (0, import_react190.useRef)(false);
33445
- const timeout = (0, import_react190.useRef)(null);
33446
- (0, import_react190.useEffect)(() => {
33505
+ const triggerRef = (0, import_react191.useRef)(null);
33506
+ const [open, setOpen] = (0, import_react191.useState)(isOpen);
33507
+ const isOverMenu = (0, import_react191.useRef)(false);
33508
+ const isOverButton = (0, import_react191.useRef)(false);
33509
+ const timeout = (0, import_react191.useRef)(null);
33510
+ (0, import_react191.useEffect)(() => {
33447
33511
  if (isOpen !== open) {
33448
33512
  setOpen(isOpen);
33449
33513
  }
@@ -33479,9 +33543,9 @@ function HoverTrigger({
33479
33543
  }
33480
33544
  }, closeDelay);
33481
33545
  };
33482
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_jsx_runtime47.Fragment, { children: [
33483
- /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { ref: triggerRef, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, children: triggerElement }),
33484
- /* @__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)(
33485
33549
  "div",
33486
33550
  {
33487
33551
  className: HoverTrigger_default.wrapper,
@@ -33494,7 +33558,7 @@ function HoverTrigger({
33494
33558
  }
33495
33559
 
33496
33560
  // src/components/IconLabel.tsx
33497
- var import_jsx_runtime48 = require("react/jsx-runtime");
33561
+ var import_jsx_runtime49 = require("react/jsx-runtime");
33498
33562
  function IconLabel({
33499
33563
  icon,
33500
33564
  label,
@@ -33504,9 +33568,9 @@ function IconLabel({
33504
33568
  children,
33505
33569
  ...props
33506
33570
  }) {
33507
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Row, { alignItems: "center", gap: true, width: "100%", ...props, children: [
33508
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon2, { ...iconProps, children: icon }),
33509
- 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 }),
33510
33574
  showLabel && children
33511
33575
  ] });
33512
33576
  }
@@ -33518,7 +33582,7 @@ var import_classnames33 = __toESM(require_classnames());
33518
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" };
33519
33583
 
33520
33584
  // src/components/Image.tsx
33521
- var import_jsx_runtime49 = require("react/jsx-runtime");
33585
+ var import_jsx_runtime50 = require("react/jsx-runtime");
33522
33586
  function Image({
33523
33587
  src,
33524
33588
  alt,
@@ -33531,7 +33595,7 @@ function Image({
33531
33595
  ...props
33532
33596
  }) {
33533
33597
  const [classes, styleProps] = useDesignProps({ borderRadius, shadow });
33534
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
33598
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
33535
33599
  "img",
33536
33600
  {
33537
33601
  ...props,
@@ -33551,14 +33615,14 @@ function Image({
33551
33615
  }
33552
33616
 
33553
33617
  // src/components/InlineEditField.tsx
33554
- var import_react191 = require("react");
33618
+ var import_react192 = require("react");
33555
33619
  var import_classnames34 = __toESM(require_classnames());
33556
33620
 
33557
33621
  // css-modules:E:\dev\umami-react-zen\src\components\InlineEditField.module.css
33558
33622
  var InlineEditField_default = { "edit": "InlineEditField_edit__MDliZ", "icon": "InlineEditField_icon__ZjE1O" };
33559
33623
 
33560
33624
  // src/components/InlineEditField.tsx
33561
- var import_jsx_runtime50 = require("react/jsx-runtime");
33625
+ var import_jsx_runtime51 = require("react/jsx-runtime");
33562
33626
  function InlineEditField({
33563
33627
  name = "",
33564
33628
  value: defaultValue = "",
@@ -33570,8 +33634,8 @@ function InlineEditField({
33570
33634
  onCancel,
33571
33635
  ...props
33572
33636
  }) {
33573
- const [value, setValue] = (0, import_react191.useState)(defaultValue);
33574
- const [edit, setEdit] = (0, import_react191.useState)(defaultEdit);
33637
+ const [value, setValue] = (0, import_react192.useState)(defaultValue);
33638
+ const [edit, setEdit] = (0, import_react192.useState)(defaultEdit);
33575
33639
  const handleEdit = () => setEdit(true);
33576
33640
  const handleChange = (e) => {
33577
33641
  const val = e.target.value;
@@ -33582,7 +33646,7 @@ function InlineEditField({
33582
33646
  setEdit(false);
33583
33647
  onCommit?.(value);
33584
33648
  };
33585
- const handleCancel = (0, import_react191.useCallback)(() => {
33649
+ const handleCancel = (0, import_react192.useCallback)(() => {
33586
33650
  setEdit(false);
33587
33651
  setValue(defaultValue);
33588
33652
  onCancel?.();
@@ -33594,7 +33658,7 @@ function InlineEditField({
33594
33658
  handleCancel();
33595
33659
  }
33596
33660
  };
33597
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
33661
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
33598
33662
  "div",
33599
33663
  {
33600
33664
  "aria-label": "Edit",
@@ -33603,8 +33667,8 @@ function InlineEditField({
33603
33667
  onClick: handleEdit,
33604
33668
  children: [
33605
33669
  !edit && children,
33606
- !edit && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon2, { className: InlineEditField_default.icon, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SquarePen, {}) }),
33607
- 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)(
33608
33672
  TextField2,
33609
33673
  {
33610
33674
  name,
@@ -33627,7 +33691,7 @@ var import_classnames35 = __toESM(require_classnames());
33627
33691
  var Loading_default = { "loading": "Loading_loading__M2YyY", "absolute": "Loading_absolute__N2IxN", "center": "Loading_center__ZmUzM", "inline": "Loading_inline__MTFhM" };
33628
33692
 
33629
33693
  // src/components/Loading.tsx
33630
- var import_jsx_runtime51 = require("react/jsx-runtime");
33694
+ var import_jsx_runtime52 = require("react/jsx-runtime");
33631
33695
  function Loading({
33632
33696
  size,
33633
33697
  placement = "inline",
@@ -33635,9 +33699,9 @@ function Loading({
33635
33699
  className,
33636
33700
  ...props
33637
33701
  }) {
33638
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { ...props, className: (0, import_classnames35.default)(Loading_default.loading, className, Loading_default[placement]), children: [
33639
- icon === "dots" && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dots, { size }),
33640
- 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 })
33641
33705
  ] });
33642
33706
  }
33643
33707
 
@@ -33648,9 +33712,9 @@ var import_classnames36 = __toESM(require_classnames());
33648
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" };
33649
33713
 
33650
33714
  // src/components/Menu.tsx
33651
- var import_jsx_runtime52 = require("react/jsx-runtime");
33715
+ var import_jsx_runtime53 = require("react/jsx-runtime");
33652
33716
  function Menu2({ className, children, ...props }) {
33653
- 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 });
33654
33718
  }
33655
33719
  function MenuItem2({
33656
33720
  icon,
@@ -33661,14 +33725,14 @@ function MenuItem2({
33661
33725
  className,
33662
33726
  ...props
33663
33727
  }) {
33664
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)($3674c52c6b3c5bce$export$2ce376c2cc3355c8, { ...props, className: (0, import_classnames36.default)(Menu_default.item, className), children: [
33665
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(IconLabel, { icon, label, children }),
33666
- showChecked && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon2, { "aria-hidden": "true", className: Menu_default.checkmark, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Check, {}) }),
33667
- 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, {}) })
33668
33732
  ] });
33669
33733
  }
33670
33734
  function MenuSeparator({ className, ...props }) {
33671
- 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) });
33672
33736
  }
33673
33737
  function MenuSection({
33674
33738
  title,
@@ -33682,9 +33746,9 @@ function MenuSection({
33682
33746
  maxHeight,
33683
33747
  overflow: maxHeight ? "auto" : void 0
33684
33748
  };
33685
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
33686
- title && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)($72a5793c14baf454$export$8b251419efc915eb, { className: Menu_default.header, children: title }),
33687
- /* @__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)(
33688
33752
  $3674c52c6b3c5bce$export$4b1545b4f2016d26,
33689
33753
  {
33690
33754
  ...props,
@@ -33696,7 +33760,7 @@ function MenuSection({
33696
33760
  ] });
33697
33761
  }
33698
33762
  function SubMenuTrigger({ children, ...props }) {
33699
- 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 });
33700
33764
  }
33701
33765
 
33702
33766
  // src/components/Modal.tsx
@@ -33706,7 +33770,7 @@ var import_classnames37 = __toESM(require_classnames());
33706
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" };
33707
33771
 
33708
33772
  // src/components/Modal.tsx
33709
- var import_jsx_runtime53 = require("react/jsx-runtime");
33773
+ var import_jsx_runtime54 = require("react/jsx-runtime");
33710
33774
  function Modal2({
33711
33775
  position = "center",
33712
33776
  offset,
@@ -33718,54 +33782,54 @@ function Modal2({
33718
33782
  if (offset) {
33719
33783
  style[`--modal-offset`] = offset;
33720
33784
  }
33721
- 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 }) });
33722
33786
  }
33723
33787
 
33724
33788
  // src/components/Navbar.tsx
33725
- var import_react192 = require("react");
33789
+ var import_react193 = require("react");
33726
33790
  var import_classnames38 = __toESM(require_classnames());
33727
33791
 
33728
33792
  // css-modules:E:\dev\umami-react-zen\src\components\Navbar.module.css
33729
33793
  var Navbar_default = { "nav": "Navbar_nav__ZjEwM", "item": "Navbar_item__MWVhZ", "icon": "Navbar_icon__ZmM1N" };
33730
33794
 
33731
33795
  // src/components/Navbar.tsx
33732
- var import_jsx_runtime54 = require("react/jsx-runtime");
33733
- var NavbarContext = (0, import_react192.createContext)(void 0);
33796
+ var import_jsx_runtime55 = require("react/jsx-runtime");
33797
+ var NavbarContext = (0, import_react193.createContext)(void 0);
33734
33798
  var useNavigationContext = () => {
33735
- const context = (0, import_react192.useContext)(NavbarContext);
33799
+ const context = (0, import_react193.useContext)(NavbarContext);
33736
33800
  if (!context) {
33737
33801
  throw new Error("useNavigationContext must be used within a Navbar");
33738
33802
  }
33739
33803
  return context;
33740
33804
  };
33741
33805
  function Navbar({ showArrow = true, className, children, ...props }) {
33742
- const [activeMenu, setActiveMenu] = (0, import_react192.useState)("");
33743
- 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 }) });
33806
+ const [activeMenu, setActiveMenu] = (0, import_react193.useState)("");
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 }) });
33744
33808
  }
33745
33809
  function NavbarItem({ label, children, className, ...props }) {
33746
33810
  const { activeMenu, setActiveMenu } = useNavigationContext();
33747
33811
  if (label) {
33748
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(HoverTrigger, { isOpen: activeMenu === label, onHoverStart: () => setActiveMenu(label), children: [
33749
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children: [
33750
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { children: label }),
33751
- /* @__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, {}) })
33752
33816
  ] }),
33753
33817
  children
33754
33818
  ] });
33755
33819
  }
33756
- 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 });
33757
33821
  }
33758
33822
 
33759
33823
  // src/components/NavMenu.tsx
33760
- var import_react193 = require("react");
33824
+ var import_react194 = require("react");
33761
33825
  var import_classnames39 = __toESM(require_classnames());
33762
33826
 
33763
33827
  // css-modules:E:\dev\umami-react-zen\src\components\NavMenu.module.css
33764
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" };
33765
33829
 
33766
33830
  // src/components/NavMenu.tsx
33767
- var import_jsx_runtime55 = require("react/jsx-runtime");
33768
- var NavMenuContext = (0, import_react193.createContext)(null);
33831
+ var import_jsx_runtime56 = require("react/jsx-runtime");
33832
+ var NavMenuContext = (0, import_react194.createContext)(null);
33769
33833
  function NavMenu({
33770
33834
  itemBackgroundColor = "2",
33771
33835
  muteItems,
@@ -33774,7 +33838,7 @@ function NavMenu({
33774
33838
  children,
33775
33839
  ...props
33776
33840
  }) {
33777
- 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)(
33778
33842
  Column,
33779
33843
  {
33780
33844
  ...props,
@@ -33791,13 +33855,13 @@ function NavMenuGroup({
33791
33855
  children,
33792
33856
  ...props
33793
33857
  }) {
33794
- const [minimized, setMinimized] = (0, import_react193.useState)(!!isMinimized);
33858
+ const [minimized, setMinimized] = (0, import_react194.useState)(!!isMinimized);
33795
33859
  const handleClick = () => {
33796
33860
  if (allowMinimize) {
33797
33861
  setMinimized((state) => !state);
33798
33862
  }
33799
33863
  };
33800
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
33864
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
33801
33865
  Column,
33802
33866
  {
33803
33867
  gap: true,
@@ -33808,7 +33872,7 @@ function NavMenuGroup({
33808
33872
  allowMinimize && minimized && NavMenu_default.minimized
33809
33873
  ),
33810
33874
  children: [
33811
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
33875
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
33812
33876
  Row,
33813
33877
  {
33814
33878
  className: NavMenu_default.item,
@@ -33816,8 +33880,8 @@ function NavMenuGroup({
33816
33880
  justifyContent: "space-between",
33817
33881
  onClick: handleClick,
33818
33882
  children: [
33819
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { className: NavMenu_default.title, children: title }),
33820
- 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, {}) })
33821
33885
  ]
33822
33886
  }
33823
33887
  ),
@@ -33827,8 +33891,8 @@ function NavMenuGroup({
33827
33891
  );
33828
33892
  }
33829
33893
  function NavMenuItem({ isSelected, className, children, ...props }) {
33830
- const { itemBackgroundColor } = (0, import_react193.useContext)(NavMenuContext);
33831
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
33894
+ const { itemBackgroundColor } = (0, import_react194.useContext)(NavMenuContext);
33895
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
33832
33896
  Row,
33833
33897
  {
33834
33898
  ...props,
@@ -33841,18 +33905,18 @@ function NavMenuItem({ isSelected, className, children, ...props }) {
33841
33905
  }
33842
33906
 
33843
33907
  // src/components/PasswordField.tsx
33844
- var import_react194 = require("react");
33908
+ var import_react195 = require("react");
33845
33909
  var import_classnames40 = __toESM(require_classnames());
33846
- var import_jsx_runtime56 = require("react/jsx-runtime");
33910
+ var import_jsx_runtime57 = require("react/jsx-runtime");
33847
33911
  function PasswordField({ label, className, ...props }) {
33848
- const [show, setShow] = (0, import_react194.useState)(false);
33912
+ const [show, setShow] = (0, import_react195.useState)(false);
33849
33913
  const type = show ? "text" : "password";
33850
33914
  const handleShowPassword = () => setShow((state) => !state);
33851
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
33852
- label && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Label2, { children: label }),
33853
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)($bcdf0525bf22703d$export$2c73285ae9390cec, { "aria-label": "Password", ...props, className: (0, import_classnames40.default)(TextField_default.field, className), children: [
33854
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { type }),
33855
- /* @__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, {}) })
33856
33920
  ] })
33857
33921
  ] });
33858
33922
  }
@@ -33864,9 +33928,9 @@ var import_classnames41 = __toESM(require_classnames());
33864
33928
  var Popover_default = { "popover": "Popover_popover__YmFhM", "popover-slide": "Popover_popover-slide__OGZjY" };
33865
33929
 
33866
33930
  // src/components/Popover.tsx
33867
- var import_jsx_runtime57 = require("react/jsx-runtime");
33931
+ var import_jsx_runtime58 = require("react/jsx-runtime");
33868
33932
  function Popover2({ children, className, ...props }) {
33869
- 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 });
33870
33934
  }
33871
33935
 
33872
33936
  // src/components/ProgressBar.tsx
@@ -33876,12 +33940,12 @@ var import_classnames42 = __toESM(require_classnames());
33876
33940
  var ProgressBar_default = { "progressbar": "ProgressBar_progressbar__YzdlO", "track": "ProgressBar_track__YzgzY", "fill": "ProgressBar_fill__ZTJlM", "value": "ProgressBar_value__NDk1Z" };
33877
33941
 
33878
33942
  // src/components/ProgressBar.tsx
33879
- var import_jsx_runtime58 = require("react/jsx-runtime");
33943
+ var import_jsx_runtime59 = require("react/jsx-runtime");
33880
33944
  function ProgressBar2({ className, showPercentage, ...props }) {
33881
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames42.default)(ProgressBar_default.progressbar, className), children: ({ percentage = 0, valueText }) => {
33882
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, { children: [
33883
- /* @__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}%` } }) }),
33884
- 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 })
33885
33949
  ] });
33886
33950
  } });
33887
33951
  }
@@ -33893,16 +33957,16 @@ var import_classnames43 = __toESM(require_classnames());
33893
33957
  var ProgressCircle_default = { "progresscircle": "ProgressCircle_progresscircle__NGMyY", "track": "ProgressCircle_track__YzY2M", "fill": "ProgressCircle_fill__ZmMzM", "value": "ProgressCircle_value__YjM0Y" };
33894
33958
 
33895
33959
  // src/components/ProgressCircle.tsx
33896
- var import_jsx_runtime59 = require("react/jsx-runtime");
33960
+ var import_jsx_runtime60 = require("react/jsx-runtime");
33897
33961
  function ProgressCircle({ className, showPercentage, ...props }) {
33898
- 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 }) => {
33899
33963
  const radius = 45;
33900
33964
  const circumference = radius * 2 * Math.PI;
33901
33965
  const offset = circumference - percentage / 100 * circumference;
33902
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
33903
- /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("svg", { viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg", children: [
33904
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("circle", { className: ProgressCircle_default.track, cx: "50", cy: "50", r: "45" }),
33905
- /* @__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)(
33906
33970
  "circle",
33907
33971
  {
33908
33972
  className: ProgressCircle_default.fill,
@@ -33914,7 +33978,7 @@ function ProgressCircle({ className, showPercentage, ...props }) {
33914
33978
  }
33915
33979
  )
33916
33980
  ] }),
33917
- 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 })
33918
33982
  ] });
33919
33983
  } });
33920
33984
  }
@@ -33926,7 +33990,7 @@ var import_classnames44 = __toESM(require_classnames());
33926
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" };
33927
33991
 
33928
33992
  // src/components/RadioGroup.tsx
33929
- var import_jsx_runtime60 = require("react/jsx-runtime");
33993
+ var import_jsx_runtime61 = require("react/jsx-runtime");
33930
33994
  function RadioGroup2({
33931
33995
  variant = "circle",
33932
33996
  label,
@@ -33934,27 +33998,27 @@ function RadioGroup2({
33934
33998
  className,
33935
33999
  ...props
33936
34000
  }) {
33937
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
34001
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
33938
34002
  $b6c3ddc6086f204d$export$a98f0dcb43a68a25,
33939
34003
  {
33940
34004
  "aria-label": "RadioGroup",
33941
34005
  ...props,
33942
34006
  className: (0, import_classnames44.default)(RadioGroup_default.radiogroup, RadioGroup_default[`variant-${variant}`], className),
33943
34007
  children: [
33944
- label && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Label2, { children: label }),
33945
- /* @__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 })
33946
34010
  ]
33947
34011
  }
33948
34012
  );
33949
34013
  }
33950
34014
  function Radio2({ children, className, ...props }) {
33951
- 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 });
33952
34016
  }
33953
34017
 
33954
34018
  // src/components/SearchField.tsx
33955
- var import_react195 = require("react");
34019
+ var import_react196 = require("react");
33956
34020
  var import_classnames45 = __toESM(require_classnames());
33957
- var import_jsx_runtime61 = require("react/jsx-runtime");
34021
+ var import_jsx_runtime62 = require("react/jsx-runtime");
33958
34022
  function SearchField2({
33959
34023
  label,
33960
34024
  placeholder,
@@ -33966,7 +34030,7 @@ function SearchField2({
33966
34030
  className,
33967
34031
  ...props
33968
34032
  }) {
33969
- const [search, setSearch] = (0, import_react195.useState)(defaultValue);
34033
+ const [search, setSearch] = (0, import_react196.useState)(defaultValue);
33970
34034
  const searchValue = useDebounce(search, delay);
33971
34035
  const handleChange = (value2) => {
33972
34036
  setSearch(value2);
@@ -33980,14 +34044,14 @@ function SearchField2({
33980
34044
  onSearch?.("");
33981
34045
  onChange?.("");
33982
34046
  };
33983
- (0, import_react195.useEffect)(() => {
34047
+ (0, import_react196.useEffect)(() => {
33984
34048
  if (delay > 0) {
33985
34049
  onSearch?.(searchValue);
33986
34050
  }
33987
34051
  }, [searchValue, delay]);
33988
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx_runtime61.Fragment, { children: [
33989
- label && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Label2, { children: label }),
33990
- /* @__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)(
33991
34055
  $440f4836bcb56932$export$b94867ecbd698f21,
33992
34056
  {
33993
34057
  "aria-label": "Search",
@@ -33995,9 +34059,9 @@ function SearchField2({
33995
34059
  className: (0, import_classnames45.default)(TextField_default.field, className),
33996
34060
  onChange: handleChange,
33997
34061
  children: [
33998
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon2, { strokeColor: "8", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Search, {}) }),
33999
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { placeholder, value: search }),
34000
- 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, {}) })
34001
34065
  ]
34002
34066
  }
34003
34067
  )
@@ -34005,14 +34069,14 @@ function SearchField2({
34005
34069
  }
34006
34070
 
34007
34071
  // src/components/Select.tsx
34008
- var import_react196 = require("react");
34072
+ var import_react197 = require("react");
34009
34073
  var import_classnames46 = __toESM(require_classnames());
34010
34074
 
34011
34075
  // css-modules:E:\dev\umami-react-zen\src\components\Select.module.css
34012
34076
  var Select_default = { "select": "Select_select__NTRiY", "button": "Select_button__ZTJmY", "value": "Select_value__OWU2Z", "list": "Select_list__NTk4N", "search": "Select_search__YWI3Y" };
34013
34077
 
34014
34078
  // src/components/Select.tsx
34015
- var import_jsx_runtime62 = require("react/jsx-runtime");
34079
+ var import_jsx_runtime63 = require("react/jsx-runtime");
34016
34080
  function Select2({
34017
34081
  items = [],
34018
34082
  value,
@@ -34033,7 +34097,7 @@ function Select2({
34033
34097
  children,
34034
34098
  ...props
34035
34099
  }) {
34036
- const [search, setSearch] = (0, import_react196.useState)("");
34100
+ const [search, setSearch] = (0, import_react197.useState)("");
34037
34101
  const handleChange = (e) => {
34038
34102
  onSelectionChange?.(e);
34039
34103
  onChange?.(e);
@@ -34046,7 +34110,7 @@ function Select2({
34046
34110
  setSearch("");
34047
34111
  onSearch?.("");
34048
34112
  };
34049
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
34113
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
34050
34114
  $82d7e5349645de74$export$ef9b1a59e592288f,
34051
34115
  {
34052
34116
  "aria-label": "Select",
@@ -34056,21 +34120,21 @@ function Select2({
34056
34120
  defaultSelectedKey: defaultValue,
34057
34121
  onSelectionChange: handleChange,
34058
34122
  children: [
34059
- label && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Label2, { children: label }),
34060
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
34123
+ label && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Label2, { children: label }),
34124
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
34061
34125
  Button2,
34062
34126
  {
34063
34127
  variant: "outline",
34064
34128
  ...buttonProps,
34065
34129
  className: (0, import_classnames46.default)(Select_default.button, buttonProps?.className),
34066
- children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: Select_default.value, children: [
34067
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
34068
- /* @__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, {}) })
34069
34133
  ] })
34070
34134
  }
34071
34135
  ),
34072
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Popover2, { ...popoverProps, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: Select_default.list, children: [
34073
- 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)(
34074
34138
  SearchField2,
34075
34139
  {
34076
34140
  className: Select_default.search,
@@ -34081,8 +34145,8 @@ function Select2({
34081
34145
  autoFocus: true
34082
34146
  }
34083
34147
  ),
34084
- isLoading && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Loading, { icon: "dots", placement: "center", size: "sm" }),
34085
- /* @__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)(
34086
34150
  List,
34087
34151
  {
34088
34152
  ...listProps,
@@ -34098,15 +34162,15 @@ function Select2({
34098
34162
  }
34099
34163
 
34100
34164
  // src/components/Sidebar.tsx
34101
- var import_react197 = require("react");
34165
+ var import_react198 = require("react");
34102
34166
  var import_classnames47 = __toESM(require_classnames());
34103
34167
 
34104
34168
  // css-modules:E:\dev\umami-react-zen\src\components\Sidebar.module.css
34105
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" };
34106
34170
 
34107
34171
  // src/components/Sidebar.tsx
34108
- var import_jsx_runtime63 = require("react/jsx-runtime");
34109
- var SidebarContext = (0, import_react197.createContext)(null);
34172
+ var import_jsx_runtime64 = require("react/jsx-runtime");
34173
+ var SidebarContext = (0, import_react198.createContext)(null);
34110
34174
  function Sidebar({
34111
34175
  itemBackgroundColor = "2",
34112
34176
  isCollapsed,
@@ -34115,7 +34179,7 @@ function Sidebar({
34115
34179
  children,
34116
34180
  ...props
34117
34181
  }) {
34118
- 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)(
34119
34183
  Column,
34120
34184
  {
34121
34185
  border: "right",
@@ -34136,9 +34200,9 @@ function SidebarSection({
34136
34200
  children,
34137
34201
  ...props
34138
34202
  }) {
34139
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Column, { ...props, className: (0, import_classnames47.default)(Sidebar_default.section, className), children: [
34140
- title && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: Sidebar_default.title, children: title }),
34141
- /* @__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 })
34142
34206
  ] });
34143
34207
  }
34144
34208
  function SidebarHeader({
@@ -34148,9 +34212,9 @@ function SidebarHeader({
34148
34212
  children,
34149
34213
  ...props
34150
34214
  }) {
34151
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Row, { ...props, className: (0, import_classnames47.default)(Sidebar_default.header, className), children: [
34152
- icon && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon2, { size: "sm", children: icon }),
34153
- 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 }),
34154
34218
  children
34155
34219
  ] });
34156
34220
  }
@@ -34162,9 +34226,9 @@ function SidebarItem({
34162
34226
  children,
34163
34227
  ...props
34164
34228
  }) {
34165
- const { isCollapsed, itemBackgroundColor } = (0, import_react197.useContext)(SidebarContext);
34166
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)($4e3b923658d69c60$export$8c610744efcf8a1d, { delay: 0, closeDelay: 0, isDisabled: !isCollapsed, children: [
34167
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)($f645667febf57a63$export$35a3bebf7ef2d934, { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
34229
+ const { isCollapsed, itemBackgroundColor } = (0, import_react198.useContext)(SidebarContext);
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)(
34168
34232
  Row,
34169
34233
  {
34170
34234
  ...props,
@@ -34172,13 +34236,13 @@ function SidebarItem({
34172
34236
  hoverBackgroundColor: itemBackgroundColor,
34173
34237
  className: (0, import_classnames47.default)(Sidebar_default.item, className, isSelected && Sidebar_default.selected),
34174
34238
  children: [
34175
- icon && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon2, { size: "sm", children: icon }),
34176
- 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 }),
34177
34241
  children
34178
34242
  ]
34179
34243
  }
34180
34244
  ) }),
34181
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Tooltip2, { placement: "right", children: label })
34245
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Tooltip2, { placement: "right", children: label })
34182
34246
  ] });
34183
34247
  }
34184
34248
 
@@ -34189,17 +34253,17 @@ var import_classnames48 = __toESM(require_classnames());
34189
34253
  var Slider_default = { "slider": "Slider_slider__MjBhO", "header": "Slider_header__ZTE2M", "track": "Slider_track__ODk5M", "fill": "Slider_fill__YzdhM", "thumb": "Slider_thumb__NGEzM" };
34190
34254
 
34191
34255
  // src/components/Slider.tsx
34192
- var import_jsx_runtime64 = require("react/jsx-runtime");
34256
+ var import_jsx_runtime65 = require("react/jsx-runtime");
34193
34257
  function Slider2({ className, showValue = true, label, ...props }) {
34194
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)($6f909507e6374d18$export$472062a354075cee, { ...props, className: (0, import_classnames48.default)(Slider_default.slider, className), children: [
34195
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: Slider_default.header, children: [
34196
- label && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Label2, { className: Slider_default.label, children: label }),
34197
- 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 })
34198
34262
  ] }),
34199
- /* @__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 }) => {
34200
34264
  const isHorizontal = state.orientation === "horizontal";
34201
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
34202
- /* @__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)(
34203
34267
  "div",
34204
34268
  {
34205
34269
  className: Slider_default.fill,
@@ -34208,7 +34272,7 @@ function Slider2({ className, showValue = true, label, ...props }) {
34208
34272
  }
34209
34273
  }
34210
34274
  ),
34211
- /* @__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 })
34212
34276
  ] });
34213
34277
  } })
34214
34278
  ] });
@@ -34221,11 +34285,11 @@ var import_classnames49 = __toESM(require_classnames());
34221
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" };
34222
34286
 
34223
34287
  // src/components/StatusLight.tsx
34224
- var import_jsx_runtime65 = require("react/jsx-runtime");
34288
+ var import_jsx_runtime66 = require("react/jsx-runtime");
34225
34289
  function StatusLight(props) {
34226
34290
  const { color, variant = "inactive", children, className, ...domProps } = props;
34227
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { ...domProps, className: (0, import_classnames49.default)(StatusLight_default.statuslight, className), children: [
34228
- /* @__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)(
34229
34293
  "div",
34230
34294
  {
34231
34295
  className: (0, import_classnames49.default)(StatusLight_default.status, StatusLight_default[variant]),
@@ -34243,12 +34307,12 @@ var import_classnames50 = __toESM(require_classnames());
34243
34307
  var Switch_default = { "switch": "Switch_switch__NzIwM", "track": "Switch_track__NWQ0M", "knob": "Switch_knob__NDU3M" };
34244
34308
 
34245
34309
  // src/components/Switch.tsx
34246
- var import_jsx_runtime66 = require("react/jsx-runtime");
34310
+ var import_jsx_runtime67 = require("react/jsx-runtime");
34247
34311
  function Switch2({ label, children, className, ...props }) {
34248
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(Column, { children: [
34249
- label && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Label2, { children: label }),
34250
- /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)($8e59e948500a8fe1$export$b5d5cf8927ab7262, { ...props, className: (0, import_classnames50.default)(Switch_default.switch, className), children: [
34251
- /* @__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 }) }),
34252
34316
  children
34253
34317
  ] })
34254
34318
  ] });
@@ -34258,18 +34322,18 @@ function Switch2({ label, children, className, ...props }) {
34258
34322
  var Tabs_default = { "tabs": "Tabs_tabs__OWVjO", "list": "Tabs_list__YWRjM", "tab": "Tabs_tab__ZjgwM", "quiet": "Tabs_quiet__ZTQ1O" };
34259
34323
 
34260
34324
  // src/components/Tabs.tsx
34261
- var import_jsx_runtime67 = require("react/jsx-runtime");
34325
+ var import_jsx_runtime68 = require("react/jsx-runtime");
34262
34326
  function Tabs2({ children, ...props }) {
34263
- 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 });
34264
34328
  }
34265
34329
  function TabList2({ children, ...props }) {
34266
- 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 });
34267
34331
  }
34268
34332
  function Tab({ children, ...props }) {
34269
- 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 });
34270
34334
  }
34271
34335
  function TabPanel2({ children, ...props }) {
34272
- 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 });
34273
34337
  }
34274
34338
 
34275
34339
  // src/components/ThemeButton.tsx
@@ -34279,7 +34343,7 @@ var import_classnames51 = __toESM(require_classnames());
34279
34343
  var ThemeButton_default = { "button": "ThemeButton_button__MDUzN" };
34280
34344
 
34281
34345
  // src/components/ThemeButton.tsx
34282
- var import_jsx_runtime68 = require("react/jsx-runtime");
34346
+ var import_jsx_runtime69 = require("react/jsx-runtime");
34283
34347
  function ThemeButton({ className, variant = "quiet", onPress, ...props }) {
34284
34348
  const { theme, setTheme } = useTheme();
34285
34349
  const transitions = useTransition(theme, {
@@ -34298,7 +34362,7 @@ function ThemeButton({ className, variant = "quiet", onPress, ...props }) {
34298
34362
  setTheme(theme === "light" ? "dark" : "light");
34299
34363
  onPress?.(e);
34300
34364
  }
34301
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
34365
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
34302
34366
  Button2,
34303
34367
  {
34304
34368
  ...props,
@@ -34308,7 +34372,7 @@ function ThemeButton({ className, variant = "quiet", onPress, ...props }) {
34308
34372
  children: [
34309
34373
  transitions((style, item) => (
34310
34374
  // @ts-ignore
34311
- /* @__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)
34312
34376
  )),
34313
34377
  "\xA0"
34314
34378
  ]
@@ -34323,12 +34387,12 @@ var import_classnames52 = __toESM(require_classnames());
34323
34387
  var Toggle_default = { "toggle": "Toggle_toggle__OWVjZ" };
34324
34388
 
34325
34389
  // src/components/Toggle.tsx
34326
- var import_jsx_runtime69 = require("react/jsx-runtime");
34390
+ var import_jsx_runtime70 = require("react/jsx-runtime");
34327
34391
  function Toggle({ label, children, className, ...props }) {
34328
34392
  const isSelected = typeof props.value !== "undefined" ? !!props.value : void 0;
34329
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx_runtime69.Fragment, { children: [
34330
- label && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Label2, { children: label }),
34331
- /* @__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)(
34332
34396
  $efde0372d7a700fe$export$d2b052e7b4be1756,
34333
34397
  {
34334
34398
  ...props,
@@ -34347,7 +34411,7 @@ var import_classnames53 = __toESM(require_classnames());
34347
34411
  var ToggleGroup_default = { "group": "ToggleGroup_group__NDJiO", "list": "ToggleGroup_list__NTM2M", "item": "ToggleGroup_item__MWFiY", "primary": "ToggleGroup_primary__ZTAyY" };
34348
34412
 
34349
34413
  // src/components/ToggleGroup.tsx
34350
- var import_jsx_runtime70 = require("react/jsx-runtime");
34414
+ var import_jsx_runtime71 = require("react/jsx-runtime");
34351
34415
  function ToggleGroup({
34352
34416
  label,
34353
34417
  value,
@@ -34366,7 +34430,7 @@ function ToggleGroup({
34366
34430
  onSelectionChange?.(keys);
34367
34431
  onChange?.(Array.from(keys).map((k) => k.toString()));
34368
34432
  };
34369
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
34433
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(
34370
34434
  $eaf9e70818b436db$export$67ea30858aaf75e3,
34371
34435
  {
34372
34436
  ...props,
@@ -34376,18 +34440,18 @@ function ToggleGroup({
34376
34440
  onSelectionChange: handleChange,
34377
34441
  className: (0, import_classnames53.default)(ToggleGroup_default.group, className, variant && ToggleGroup_default[variant]),
34378
34442
  children: [
34379
- label && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Label2, { children: label }),
34380
- /* @__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 })
34381
34445
  ]
34382
34446
  }
34383
34447
  );
34384
34448
  }
34385
34449
  function ToggleGroupItem({ className, children, ...props }) {
34386
- 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 });
34387
34451
  }
34388
34452
 
34389
34453
  // src/components/ZenProvider.tsx
34390
- var import_jsx_runtime71 = require("react/jsx-runtime");
34454
+ var import_jsx_runtime72 = require("react/jsx-runtime");
34391
34455
  var defaultToastConfig = {
34392
34456
  duration: 3e3
34393
34457
  };
@@ -34398,7 +34462,7 @@ function ZenProvider({
34398
34462
  toast = defaultToastConfig
34399
34463
  }) {
34400
34464
  useInitTheme(theme, colorScheme);
34401
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ToastProvider, { ...toast, children });
34465
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ToastProvider, { ...toast, children });
34402
34466
  }
34403
34467
  /*! Bundled license information:
34404
34468