@umami/react-zen 0.4.0 → 0.5.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.mjs CHANGED
@@ -558,7 +558,7 @@ var require_classnames = __commonJS({
558
558
  (function() {
559
559
  "use strict";
560
560
  var hasOwn = {}.hasOwnProperty;
561
- function classNames45() {
561
+ function classNames46() {
562
562
  var classes = "";
563
563
  for (var i = 0; i < arguments.length; i++) {
564
564
  var arg = arguments[i];
@@ -576,7 +576,7 @@ var require_classnames = __commonJS({
576
576
  return "";
577
577
  }
578
578
  if (Array.isArray(arg)) {
579
- return classNames45.apply(null, arg);
579
+ return classNames46.apply(null, arg);
580
580
  }
581
581
  if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes("[native code]")) {
582
582
  return arg.toString();
@@ -599,14 +599,14 @@ var require_classnames = __commonJS({
599
599
  return value + newClass;
600
600
  }
601
601
  if (typeof module !== "undefined" && module.exports) {
602
- classNames45.default = classNames45;
603
- module.exports = classNames45;
602
+ classNames46.default = classNames46;
603
+ module.exports = classNames46;
604
604
  } else if (typeof define === "function" && typeof define.amd === "object" && define.amd) {
605
605
  define("classnames", [], function() {
606
- return classNames45;
606
+ return classNames46;
607
607
  });
608
608
  } else {
609
- window.classNames = classNames45;
609
+ window.classNames = classNames46;
610
610
  }
611
611
  })();
612
612
  }
@@ -13209,6 +13209,259 @@ function $3e5eb2498db5b506$export$73f7a44322579622(props) {
13209
13209
  };
13210
13210
  }
13211
13211
 
13212
+ // node_modules/@react-aria/menu/dist/useSafelyMouseToSubmenu.mjs
13213
+ import { useRef as $fUfeP$useRef, useState as $fUfeP$useState, useEffect as $fUfeP$useEffect } from "react";
13214
+ var $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS = 2;
13215
+ var $d275435c250248f8$var$THROTTLE_TIME = 50;
13216
+ var $d275435c250248f8$var$TIMEOUT_TIME = 1e3;
13217
+ var $d275435c250248f8$var$ANGLE_PADDING = Math.PI / 12;
13218
+ function $d275435c250248f8$export$85ec83e04c95f50a(options) {
13219
+ let { menuRef, submenuRef, isOpen, isDisabled } = options;
13220
+ let prevPointerPos = (0, $fUfeP$useRef)(void 0);
13221
+ let submenuRect = (0, $fUfeP$useRef)(void 0);
13222
+ let lastProcessedTime = (0, $fUfeP$useRef)(0);
13223
+ let timeout = (0, $fUfeP$useRef)(void 0);
13224
+ let autoCloseTimeout = (0, $fUfeP$useRef)(void 0);
13225
+ let submenuSide = (0, $fUfeP$useRef)(void 0);
13226
+ let movementsTowardsSubmenuCount = (0, $fUfeP$useRef)(2);
13227
+ let [preventPointerEvents, setPreventPointerEvents] = (0, $fUfeP$useState)(false);
13228
+ let updateSubmenuRect = () => {
13229
+ if (submenuRef.current) {
13230
+ submenuRect.current = submenuRef.current.getBoundingClientRect();
13231
+ submenuSide.current = void 0;
13232
+ }
13233
+ };
13234
+ (0, $9daab02d461809db$export$683480f191c0e3ea)({
13235
+ ref: submenuRef,
13236
+ onResize: updateSubmenuRect
13237
+ });
13238
+ let reset = () => {
13239
+ setPreventPointerEvents(false);
13240
+ movementsTowardsSubmenuCount.current = $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS;
13241
+ prevPointerPos.current = void 0;
13242
+ };
13243
+ let modality = (0, $507fabe10e71c6fb$export$98e20ec92f614cfe)();
13244
+ (0, $fUfeP$useEffect)(() => {
13245
+ if (preventPointerEvents && menuRef.current) menuRef.current.style.pointerEvents = "none";
13246
+ else menuRef.current.style.pointerEvents = "";
13247
+ }, [
13248
+ menuRef,
13249
+ preventPointerEvents
13250
+ ]);
13251
+ (0, $fUfeP$useEffect)(() => {
13252
+ let submenu = submenuRef.current;
13253
+ let menu = menuRef.current;
13254
+ if (isDisabled || !submenu || !isOpen || modality !== "pointer") {
13255
+ reset();
13256
+ return;
13257
+ }
13258
+ submenuRect.current = submenu.getBoundingClientRect();
13259
+ let onPointerMove = (e) => {
13260
+ if (e.pointerType === "touch" || e.pointerType === "pen") return;
13261
+ let currentTime = Date.now();
13262
+ if (currentTime - lastProcessedTime.current < $d275435c250248f8$var$THROTTLE_TIME) return;
13263
+ clearTimeout(timeout.current);
13264
+ clearTimeout(autoCloseTimeout.current);
13265
+ let { clientX: mouseX, clientY: mouseY } = e;
13266
+ if (!prevPointerPos.current) {
13267
+ prevPointerPos.current = {
13268
+ x: mouseX,
13269
+ y: mouseY
13270
+ };
13271
+ return;
13272
+ }
13273
+ if (!submenuRect.current) return;
13274
+ if (!submenuSide.current) submenuSide.current = mouseX > submenuRect.current.right ? "left" : "right";
13275
+ if (mouseX < menu.getBoundingClientRect().left || mouseX > menu.getBoundingClientRect().right || mouseY < menu.getBoundingClientRect().top || mouseY > menu.getBoundingClientRect().bottom) {
13276
+ reset();
13277
+ return;
13278
+ }
13279
+ let prevMouseX = prevPointerPos.current.x;
13280
+ let prevMouseY = prevPointerPos.current.y;
13281
+ let toSubmenuX = submenuSide.current === "right" ? submenuRect.current.left - prevMouseX : prevMouseX - submenuRect.current.right;
13282
+ let angleTop = Math.atan2(prevMouseY - submenuRect.current.top, toSubmenuX) + $d275435c250248f8$var$ANGLE_PADDING;
13283
+ let angleBottom = Math.atan2(prevMouseY - submenuRect.current.bottom, toSubmenuX) - $d275435c250248f8$var$ANGLE_PADDING;
13284
+ let anglePointer = Math.atan2(prevMouseY - mouseY, submenuSide.current === "left" ? -(mouseX - prevMouseX) : mouseX - prevMouseX);
13285
+ let isMovingTowardsSubmenu = anglePointer < angleTop && anglePointer > angleBottom;
13286
+ movementsTowardsSubmenuCount.current = isMovingTowardsSubmenu ? Math.min(movementsTowardsSubmenuCount.current + 1, $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS) : Math.max(movementsTowardsSubmenuCount.current - 1, 0);
13287
+ if (movementsTowardsSubmenuCount.current >= $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS) setPreventPointerEvents(true);
13288
+ else setPreventPointerEvents(false);
13289
+ lastProcessedTime.current = currentTime;
13290
+ prevPointerPos.current = {
13291
+ x: mouseX,
13292
+ y: mouseY
13293
+ };
13294
+ if (isMovingTowardsSubmenu) timeout.current = setTimeout(() => {
13295
+ reset();
13296
+ autoCloseTimeout.current = setTimeout(() => {
13297
+ let target = document.elementFromPoint(mouseX, mouseY);
13298
+ if (target && menu.contains(target)) target.dispatchEvent(new PointerEvent("pointerover", {
13299
+ bubbles: true,
13300
+ cancelable: true
13301
+ }));
13302
+ }, 100);
13303
+ }, $d275435c250248f8$var$TIMEOUT_TIME);
13304
+ };
13305
+ window.addEventListener("pointermove", onPointerMove);
13306
+ return () => {
13307
+ window.removeEventListener("pointermove", onPointerMove);
13308
+ clearTimeout(timeout.current);
13309
+ clearTimeout(autoCloseTimeout.current);
13310
+ movementsTowardsSubmenuCount.current = $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS;
13311
+ };
13312
+ }, [
13313
+ isDisabled,
13314
+ isOpen,
13315
+ menuRef,
13316
+ modality,
13317
+ setPreventPointerEvents,
13318
+ submenuRef
13319
+ ]);
13320
+ }
13321
+
13322
+ // node_modules/@react-aria/menu/dist/useSubmenuTrigger.mjs
13323
+ import { useRef as $dXlYe$useRef, useCallback as $dXlYe$useCallback } from "react";
13324
+ function $0065b146e7192841$export$7138b0d059a6e743(props, state, ref) {
13325
+ let { parentMenuRef, submenuRef, type = "menu", isDisabled, delay = 200 } = props;
13326
+ let submenuTriggerId = (0, $bdb11010cef70236$export$f680877a34711e37)();
13327
+ let overlayId = (0, $bdb11010cef70236$export$f680877a34711e37)();
13328
+ let { direction } = (0, $18f2051aff69b9bf$export$43bb16f9c6d9e3f7)();
13329
+ let openTimeout = (0, $dXlYe$useRef)(void 0);
13330
+ let cancelOpenTimeout = (0, $dXlYe$useCallback)(() => {
13331
+ if (openTimeout.current) {
13332
+ clearTimeout(openTimeout.current);
13333
+ openTimeout.current = void 0;
13334
+ }
13335
+ }, [
13336
+ openTimeout
13337
+ ]);
13338
+ let onSubmenuOpen = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)((focusStrategy) => {
13339
+ cancelOpenTimeout();
13340
+ state.open(focusStrategy);
13341
+ });
13342
+ let onSubmenuClose = (0, $8ae05eaa5c114e9c$export$7f54fc3180508a52)(() => {
13343
+ cancelOpenTimeout();
13344
+ state.close();
13345
+ });
13346
+ (0, $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c)(() => {
13347
+ return () => {
13348
+ cancelOpenTimeout();
13349
+ };
13350
+ }, [
13351
+ cancelOpenTimeout
13352
+ ]);
13353
+ let submenuKeyDown = (e) => {
13354
+ switch (e.key) {
13355
+ case "ArrowLeft":
13356
+ if (direction === "ltr" && e.currentTarget.contains(e.target)) {
13357
+ e.stopPropagation();
13358
+ onSubmenuClose();
13359
+ ref.current.focus();
13360
+ }
13361
+ break;
13362
+ case "ArrowRight":
13363
+ if (direction === "rtl" && e.currentTarget.contains(e.target)) {
13364
+ e.stopPropagation();
13365
+ onSubmenuClose();
13366
+ ref.current.focus();
13367
+ }
13368
+ break;
13369
+ case "Escape":
13370
+ e.stopPropagation();
13371
+ state.closeAll();
13372
+ break;
13373
+ }
13374
+ };
13375
+ let submenuProps = {
13376
+ id: overlayId,
13377
+ "aria-labelledby": submenuTriggerId,
13378
+ submenuLevel: state.submenuLevel,
13379
+ ...type === "menu" && {
13380
+ onClose: state.closeAll,
13381
+ autoFocus: state.focusStrategy,
13382
+ onKeyDown: submenuKeyDown
13383
+ }
13384
+ };
13385
+ let submenuTriggerKeyDown = (e) => {
13386
+ switch (e.key) {
13387
+ case "ArrowRight":
13388
+ if (!isDisabled) {
13389
+ if (direction === "ltr") {
13390
+ if (!state.isOpen) onSubmenuOpen("first");
13391
+ if (type === "menu" && !!(submenuRef === null || submenuRef === void 0 ? void 0 : submenuRef.current) && document.activeElement === (ref === null || ref === void 0 ? void 0 : ref.current)) submenuRef.current.focus();
13392
+ } else if (state.isOpen) onSubmenuClose();
13393
+ else e.continuePropagation();
13394
+ }
13395
+ break;
13396
+ case "ArrowLeft":
13397
+ if (!isDisabled) {
13398
+ if (direction === "rtl") {
13399
+ if (!state.isOpen) onSubmenuOpen("first");
13400
+ if (type === "menu" && !!(submenuRef === null || submenuRef === void 0 ? void 0 : submenuRef.current) && document.activeElement === (ref === null || ref === void 0 ? void 0 : ref.current)) submenuRef.current.focus();
13401
+ } else if (state.isOpen) onSubmenuClose();
13402
+ else e.continuePropagation();
13403
+ }
13404
+ break;
13405
+ case "Escape":
13406
+ state.closeAll();
13407
+ break;
13408
+ default:
13409
+ e.continuePropagation();
13410
+ break;
13411
+ }
13412
+ };
13413
+ let onPressStart = (e) => {
13414
+ if (!isDisabled && (e.pointerType === "virtual" || e.pointerType === "keyboard"))
13415
+ onSubmenuOpen("first");
13416
+ };
13417
+ let onPress = (e) => {
13418
+ if (!isDisabled && (e.pointerType === "touch" || e.pointerType === "mouse"))
13419
+ onSubmenuOpen();
13420
+ };
13421
+ let onHoverChange = (isHovered) => {
13422
+ if (!isDisabled) {
13423
+ if (isHovered && !state.isOpen) {
13424
+ if (!openTimeout.current) openTimeout.current = setTimeout(() => {
13425
+ onSubmenuOpen();
13426
+ }, delay);
13427
+ } else if (!isHovered) cancelOpenTimeout();
13428
+ }
13429
+ };
13430
+ let onBlur = (e) => {
13431
+ if (state.isOpen && parentMenuRef.current.contains(e.relatedTarget)) onSubmenuClose();
13432
+ };
13433
+ let shouldCloseOnInteractOutside = (target) => {
13434
+ if (target !== ref.current) return true;
13435
+ return false;
13436
+ };
13437
+ (0, $d275435c250248f8$export$85ec83e04c95f50a)({
13438
+ menuRef: parentMenuRef,
13439
+ submenuRef,
13440
+ isOpen: state.isOpen,
13441
+ isDisabled
13442
+ });
13443
+ return {
13444
+ submenuTriggerProps: {
13445
+ id: submenuTriggerId,
13446
+ "aria-controls": state.isOpen ? overlayId : void 0,
13447
+ "aria-haspopup": !isDisabled ? type : void 0,
13448
+ "aria-expanded": state.isOpen ? "true" : "false",
13449
+ onPressStart,
13450
+ onPress,
13451
+ onHoverChange,
13452
+ onKeyDown: submenuTriggerKeyDown,
13453
+ onBlur,
13454
+ isOpen: state.isOpen
13455
+ },
13456
+ submenuProps,
13457
+ popoverProps: {
13458
+ isNonModal: true,
13459
+ disableFocusManagement: true,
13460
+ shouldCloseOnInteractOutside
13461
+ }
13462
+ };
13463
+ }
13464
+
13212
13465
  // node_modules/@react-aria/combobox/dist/useComboBox.mjs
13213
13466
  function $parcel$interopDefault7(a) {
13214
13467
  return a && a.__esModule ? a.default : a;
@@ -17948,6 +18201,66 @@ function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
17948
18201
  };
17949
18202
  }
17950
18203
 
18204
+ // node_modules/@react-stately/menu/dist/useSubmenuTriggerState.mjs
18205
+ import { useState as $7exkJ$useState, useMemo as $7exkJ$useMemo, useCallback as $7exkJ$useCallback } from "react";
18206
+ function $e5614764aa47eb35$export$cfc51cf86138bf98(props, state) {
18207
+ let { triggerKey } = props;
18208
+ let { expandedKeysStack, openSubmenu, closeSubmenu, close: closeAll } = state;
18209
+ let [submenuLevel] = (0, $7exkJ$useState)(expandedKeysStack === null || expandedKeysStack === void 0 ? void 0 : expandedKeysStack.length);
18210
+ let isOpen = (0, $7exkJ$useMemo)(() => expandedKeysStack[submenuLevel] === triggerKey, [
18211
+ expandedKeysStack,
18212
+ triggerKey,
18213
+ submenuLevel
18214
+ ]);
18215
+ let [focusStrategy, setFocusStrategy] = (0, $7exkJ$useState)(null);
18216
+ let open = (0, $7exkJ$useCallback)((focusStrategy2 = null) => {
18217
+ setFocusStrategy(focusStrategy2);
18218
+ openSubmenu(triggerKey, submenuLevel);
18219
+ }, [
18220
+ openSubmenu,
18221
+ submenuLevel,
18222
+ triggerKey
18223
+ ]);
18224
+ let close = (0, $7exkJ$useCallback)(() => {
18225
+ setFocusStrategy(null);
18226
+ closeSubmenu(triggerKey, submenuLevel);
18227
+ }, [
18228
+ closeSubmenu,
18229
+ submenuLevel,
18230
+ triggerKey
18231
+ ]);
18232
+ let toggle = (0, $7exkJ$useCallback)((focusStrategy2 = null) => {
18233
+ setFocusStrategy(focusStrategy2);
18234
+ if (isOpen) close();
18235
+ else open(focusStrategy2);
18236
+ }, [
18237
+ close,
18238
+ open,
18239
+ isOpen
18240
+ ]);
18241
+ return (0, $7exkJ$useMemo)(() => ({
18242
+ focusStrategy,
18243
+ isOpen,
18244
+ open,
18245
+ close,
18246
+ closeAll,
18247
+ submenuLevel,
18248
+ // TODO: Placeholders that aren't used but give us parity with OverlayTriggerState so we can use this in Popover. Refactor if we update Popover via
18249
+ // https://github.com/adobe/react-spectrum/pull/4976#discussion_r1336472863
18250
+ setOpen: () => {
18251
+ },
18252
+ toggle
18253
+ }), [
18254
+ isOpen,
18255
+ open,
18256
+ close,
18257
+ closeAll,
18258
+ focusStrategy,
18259
+ toggle,
18260
+ submenuLevel
18261
+ ]);
18262
+ }
18263
+
17951
18264
  // node_modules/@react-stately/radio/dist/useRadioGroupState.mjs
17952
18265
  import { useMemo as $l55kx$useMemo, useState as $l55kx$useState } from "react";
17953
18266
  var $a54cdc5c1942b639$var$instance = Math.round(Math.random() * 1e10);
@@ -20540,6 +20853,57 @@ function $3674c52c6b3c5bce$export$27d2ad3c5815583e(props) {
20540
20853
  }, props.children));
20541
20854
  }
20542
20855
  var $3674c52c6b3c5bce$var$SubmenuTriggerContext = /* @__PURE__ */ (0, $kM2ZM$createContext)(null);
20856
+ var $3674c52c6b3c5bce$export$ecabc99eeffab7ca = /* @__PURE__ */ (0, $e1995378a142960e$export$e953bb1cd0f19726)("submenutrigger", (props, ref, item) => {
20857
+ let { CollectionBranch } = (0, $kM2ZM$useContext)((0, $7135fc7d473fd974$export$4feb769f8ddf26c5));
20858
+ let state = (0, $kM2ZM$useContext)($3674c52c6b3c5bce$export$24aad8519b95b41b);
20859
+ let rootMenuTriggerState = (0, $kM2ZM$useContext)($3674c52c6b3c5bce$export$795aec4671cbae19);
20860
+ let submenuTriggerState = (0, $e5614764aa47eb35$export$cfc51cf86138bf98)({
20861
+ triggerKey: item.key
20862
+ }, rootMenuTriggerState);
20863
+ let submenuRef = (0, $kM2ZM$useRef)(null);
20864
+ let itemRef = (0, $df56164dff5785e2$export$4338b53315abf666)(ref);
20865
+ let popoverContext = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)((0, $07b14b47974efb58$export$9b9a0cd73afb7ca4));
20866
+ let { parentMenuRef } = (0, $kM2ZM$useContext)($3674c52c6b3c5bce$var$SubmenuTriggerContext);
20867
+ let { submenuTriggerProps, submenuProps, popoverProps } = (0, $0065b146e7192841$export$7138b0d059a6e743)({
20868
+ parentMenuRef,
20869
+ submenuRef,
20870
+ delay: props.delay
20871
+ }, submenuTriggerState, itemRef);
20872
+ return /* @__PURE__ */ (0, $kM2ZM$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {
20873
+ values: [
20874
+ [
20875
+ $3674c52c6b3c5bce$var$MenuItemContext,
20876
+ {
20877
+ ...submenuTriggerProps,
20878
+ onAction: void 0,
20879
+ ref: itemRef
20880
+ }
20881
+ ],
20882
+ [
20883
+ $3674c52c6b3c5bce$export$c7e742effb1c51e2,
20884
+ submenuProps
20885
+ ],
20886
+ [
20887
+ (0, $de32f1b87079253c$export$d2f961adcb0afbe),
20888
+ submenuTriggerState
20889
+ ],
20890
+ [
20891
+ (0, $07b14b47974efb58$export$9b9a0cd73afb7ca4),
20892
+ {
20893
+ ref: submenuRef,
20894
+ trigger: "SubmenuTrigger",
20895
+ triggerRef: itemRef,
20896
+ placement: "end top",
20897
+ UNSTABLE_portalContainer: popoverContext.UNSTABLE_portalContainer || void 0,
20898
+ ...popoverProps
20899
+ }
20900
+ ]
20901
+ ]
20902
+ }, /* @__PURE__ */ (0, $kM2ZM$react).createElement(CollectionBranch, {
20903
+ collection: state.collection,
20904
+ parent: item
20905
+ }), props.children[1]);
20906
+ }, (props) => props.children[0]);
20543
20907
  function $3674c52c6b3c5bce$var$Menu(props, ref) {
20544
20908
  [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $3674c52c6b3c5bce$export$c7e742effb1c51e2);
20545
20909
  return /* @__PURE__ */ (0, $kM2ZM$react).createElement((0, $e1995378a142960e$export$bf788dd355e3a401), {
@@ -22594,6 +22958,106 @@ function $4e3b923658d69c60$var$TooltipInner(props) {
22594
22958
  }, renderProps.children));
22595
22959
  }
22596
22960
 
22961
+ // node_modules/@babel/runtime/helpers/esm/extends.js
22962
+ function _extends() {
22963
+ _extends = Object.assign ? Object.assign.bind() : function(target) {
22964
+ for (var i = 1; i < arguments.length; i++) {
22965
+ var source = arguments[i];
22966
+ for (var key in source) {
22967
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
22968
+ target[key] = source[key];
22969
+ }
22970
+ }
22971
+ }
22972
+ return target;
22973
+ };
22974
+ return _extends.apply(this, arguments);
22975
+ }
22976
+
22977
+ // node_modules/@radix-ui/react-slot/dist/index.mjs
22978
+ import { forwardRef as $9IrjX$forwardRef, Children as $9IrjX$Children, isValidElement as $9IrjX$isValidElement, createElement as $9IrjX$createElement, cloneElement as $9IrjX$cloneElement, Fragment as $9IrjX$Fragment } from "react";
22979
+
22980
+ // node_modules/@radix-ui/react-compose-refs/dist/index.mjs
22981
+ import { useCallback as $3vqmr$useCallback } from "react";
22982
+ function $6ed0406888f73fc4$var$setRef(ref, value) {
22983
+ if (typeof ref === "function") ref(value);
22984
+ else if (ref !== null && ref !== void 0) ref.current = value;
22985
+ }
22986
+ function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
22987
+ return (node) => refs.forEach(
22988
+ (ref) => $6ed0406888f73fc4$var$setRef(ref, node)
22989
+ );
22990
+ }
22991
+ function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs) {
22992
+ return $3vqmr$useCallback($6ed0406888f73fc4$export$43e446d32b3d21af(...refs), refs);
22993
+ }
22994
+
22995
+ // node_modules/@radix-ui/react-slot/dist/index.mjs
22996
+ var $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /* @__PURE__ */ $9IrjX$forwardRef((props, forwardedRef) => {
22997
+ const { children, ...slotProps } = props;
22998
+ const childrenArray = $9IrjX$Children.toArray(children);
22999
+ const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
23000
+ if (slottable) {
23001
+ const newElement = slottable.props.children;
23002
+ const newChildren = childrenArray.map((child) => {
23003
+ if (child === slottable) {
23004
+ if ($9IrjX$Children.count(newElement) > 1) return $9IrjX$Children.only(null);
23005
+ return /* @__PURE__ */ $9IrjX$isValidElement(newElement) ? newElement.props.children : null;
23006
+ } else return child;
23007
+ });
23008
+ return /* @__PURE__ */ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
23009
+ ref: forwardedRef
23010
+ }), /* @__PURE__ */ $9IrjX$isValidElement(newElement) ? /* @__PURE__ */ $9IrjX$cloneElement(newElement, void 0, newChildren) : null);
23011
+ }
23012
+ return /* @__PURE__ */ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
23013
+ ref: forwardedRef
23014
+ }), children);
23015
+ });
23016
+ $5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = "Slot";
23017
+ var $5e63c961fc1ce211$var$SlotClone = /* @__PURE__ */ $9IrjX$forwardRef((props, forwardedRef) => {
23018
+ const { children, ...slotProps } = props;
23019
+ if (/* @__PURE__ */ $9IrjX$isValidElement(children)) return /* @__PURE__ */ $9IrjX$cloneElement(children, {
23020
+ ...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),
23021
+ ref: forwardedRef ? $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref) : children.ref
23022
+ });
23023
+ return $9IrjX$Children.count(children) > 1 ? $9IrjX$Children.only(null) : null;
23024
+ });
23025
+ $5e63c961fc1ce211$var$SlotClone.displayName = "SlotClone";
23026
+ var $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children }) => {
23027
+ return /* @__PURE__ */ $9IrjX$createElement($9IrjX$Fragment, null, children);
23028
+ };
23029
+ function $5e63c961fc1ce211$var$isSlottable(child) {
23030
+ return /* @__PURE__ */ $9IrjX$isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
23031
+ }
23032
+ function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
23033
+ const overrideProps = {
23034
+ ...childProps
23035
+ };
23036
+ for (const propName in childProps) {
23037
+ const slotPropValue = slotProps[propName];
23038
+ const childPropValue = childProps[propName];
23039
+ const isHandler = /^on[A-Z]/.test(propName);
23040
+ if (isHandler) {
23041
+ if (slotPropValue && childPropValue) overrideProps[propName] = (...args) => {
23042
+ childPropValue(...args);
23043
+ slotPropValue(...args);
23044
+ };
23045
+ else if (slotPropValue) overrideProps[propName] = slotPropValue;
23046
+ } else if (propName === "style") overrideProps[propName] = {
23047
+ ...slotPropValue,
23048
+ ...childPropValue
23049
+ };
23050
+ else if (propName === "className") overrideProps[propName] = [
23051
+ slotPropValue,
23052
+ childPropValue
23053
+ ].filter(Boolean).join(" ");
23054
+ }
23055
+ return {
23056
+ ...slotProps,
23057
+ ...overrideProps
23058
+ };
23059
+ }
23060
+
22597
23061
  // src/components/hooks/useDebounce.ts
22598
23062
  import { useState, useEffect } from "react";
22599
23063
  function useDebounce(value, delay) {
@@ -22722,22 +23186,6 @@ function useToast() {
22722
23186
  return { toast, toasts };
22723
23187
  }
22724
23188
 
22725
- // node_modules/@babel/runtime/helpers/esm/extends.js
22726
- function _extends() {
22727
- _extends = Object.assign ? Object.assign.bind() : function(target) {
22728
- for (var i = 1; i < arguments.length; i++) {
22729
- var source = arguments[i];
22730
- for (var key in source) {
22731
- if (Object.prototype.hasOwnProperty.call(source, key)) {
22732
- target[key] = source[key];
22733
- }
22734
- }
22735
- }
22736
- return target;
22737
- };
22738
- return _extends.apply(this, arguments);
22739
- }
22740
-
22741
23189
  // node_modules/@radix-ui/react-accordion/dist/index.mjs
22742
23190
  import $3DjNB$react from "react";
22743
23191
 
@@ -22837,90 +23285,6 @@ function $c512c27ab02ef895$var$composeContextScopes(...scopes) {
22837
23285
 
22838
23286
  // node_modules/@radix-ui/react-collection/dist/index.mjs
22839
23287
  import $6vYhU$react from "react";
22840
-
22841
- // node_modules/@radix-ui/react-compose-refs/dist/index.mjs
22842
- import { useCallback as $3vqmr$useCallback } from "react";
22843
- function $6ed0406888f73fc4$var$setRef(ref, value) {
22844
- if (typeof ref === "function") ref(value);
22845
- else if (ref !== null && ref !== void 0) ref.current = value;
22846
- }
22847
- function $6ed0406888f73fc4$export$43e446d32b3d21af(...refs) {
22848
- return (node) => refs.forEach(
22849
- (ref) => $6ed0406888f73fc4$var$setRef(ref, node)
22850
- );
22851
- }
22852
- function $6ed0406888f73fc4$export$c7b2cbe3552a0d05(...refs) {
22853
- return $3vqmr$useCallback($6ed0406888f73fc4$export$43e446d32b3d21af(...refs), refs);
22854
- }
22855
-
22856
- // node_modules/@radix-ui/react-slot/dist/index.mjs
22857
- import { forwardRef as $9IrjX$forwardRef, Children as $9IrjX$Children, isValidElement as $9IrjX$isValidElement, createElement as $9IrjX$createElement, cloneElement as $9IrjX$cloneElement, Fragment as $9IrjX$Fragment } from "react";
22858
- var $5e63c961fc1ce211$export$8c6ed5c666ac1360 = /* @__PURE__ */ $9IrjX$forwardRef((props, forwardedRef) => {
22859
- const { children, ...slotProps } = props;
22860
- const childrenArray = $9IrjX$Children.toArray(children);
22861
- const slottable = childrenArray.find($5e63c961fc1ce211$var$isSlottable);
22862
- if (slottable) {
22863
- const newElement = slottable.props.children;
22864
- const newChildren = childrenArray.map((child) => {
22865
- if (child === slottable) {
22866
- if ($9IrjX$Children.count(newElement) > 1) return $9IrjX$Children.only(null);
22867
- return /* @__PURE__ */ $9IrjX$isValidElement(newElement) ? newElement.props.children : null;
22868
- } else return child;
22869
- });
22870
- return /* @__PURE__ */ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
22871
- ref: forwardedRef
22872
- }), /* @__PURE__ */ $9IrjX$isValidElement(newElement) ? /* @__PURE__ */ $9IrjX$cloneElement(newElement, void 0, newChildren) : null);
22873
- }
22874
- return /* @__PURE__ */ $9IrjX$createElement($5e63c961fc1ce211$var$SlotClone, _extends({}, slotProps, {
22875
- ref: forwardedRef
22876
- }), children);
22877
- });
22878
- $5e63c961fc1ce211$export$8c6ed5c666ac1360.displayName = "Slot";
22879
- var $5e63c961fc1ce211$var$SlotClone = /* @__PURE__ */ $9IrjX$forwardRef((props, forwardedRef) => {
22880
- const { children, ...slotProps } = props;
22881
- if (/* @__PURE__ */ $9IrjX$isValidElement(children)) return /* @__PURE__ */ $9IrjX$cloneElement(children, {
22882
- ...$5e63c961fc1ce211$var$mergeProps(slotProps, children.props),
22883
- ref: forwardedRef ? $6ed0406888f73fc4$export$43e446d32b3d21af(forwardedRef, children.ref) : children.ref
22884
- });
22885
- return $9IrjX$Children.count(children) > 1 ? $9IrjX$Children.only(null) : null;
22886
- });
22887
- $5e63c961fc1ce211$var$SlotClone.displayName = "SlotClone";
22888
- var $5e63c961fc1ce211$export$d9f1ccf0bdb05d45 = ({ children }) => {
22889
- return /* @__PURE__ */ $9IrjX$createElement($9IrjX$Fragment, null, children);
22890
- };
22891
- function $5e63c961fc1ce211$var$isSlottable(child) {
22892
- return /* @__PURE__ */ $9IrjX$isValidElement(child) && child.type === $5e63c961fc1ce211$export$d9f1ccf0bdb05d45;
22893
- }
22894
- function $5e63c961fc1ce211$var$mergeProps(slotProps, childProps) {
22895
- const overrideProps = {
22896
- ...childProps
22897
- };
22898
- for (const propName in childProps) {
22899
- const slotPropValue = slotProps[propName];
22900
- const childPropValue = childProps[propName];
22901
- const isHandler = /^on[A-Z]/.test(propName);
22902
- if (isHandler) {
22903
- if (slotPropValue && childPropValue) overrideProps[propName] = (...args) => {
22904
- childPropValue(...args);
22905
- slotPropValue(...args);
22906
- };
22907
- else if (slotPropValue) overrideProps[propName] = slotPropValue;
22908
- } else if (propName === "style") overrideProps[propName] = {
22909
- ...slotPropValue,
22910
- ...childPropValue
22911
- };
22912
- else if (propName === "className") overrideProps[propName] = [
22913
- slotPropValue,
22914
- childPropValue
22915
- ].filter(Boolean).join(" ");
22916
- }
22917
- return {
22918
- ...slotProps,
22919
- ...overrideProps
22920
- };
22921
- }
22922
-
22923
- // node_modules/@radix-ui/react-collection/dist/index.mjs
22924
23288
  function $e02a7d9cb1dc128c$export$c74125a8e3af6bb2(name) {
22925
23289
  const PROVIDER_NAME2 = name + "CollectionProvider";
22926
23290
  const [createCollectionContext, createCollectionScope2] = $c512c27ab02ef895$export$50c7b4e9d9f19c1(PROVIDER_NAME2);
@@ -24004,7 +24368,7 @@ var AlertIcons = {
24004
24368
  };
24005
24369
 
24006
24370
  // src/components/AlertDialog.tsx
24007
- var import_classnames7 = __toESM(require_classnames());
24371
+ var import_classnames8 = __toESM(require_classnames());
24008
24372
 
24009
24373
  // src/components/Dialog.tsx
24010
24374
  var import_classnames4 = __toESM(require_classnames());
@@ -24027,8 +24391,65 @@ function Dialog({ title, children, className, ...props }) {
24027
24391
  }
24028
24392
 
24029
24393
  // src/components/Flexbox.tsx
24394
+ var import_classnames6 = __toESM(require_classnames());
24395
+
24396
+ // src/components/Box.tsx
24030
24397
  var import_classnames5 = __toESM(require_classnames());
24031
24398
 
24399
+ // src/components/Box.module.css
24400
+ var Box_default = {
24401
+ "font-size-xs": "Box_font-size-xs",
24402
+ "font-size-sm": "Box_font-size-sm",
24403
+ "font-size-md": "Box_font-size-md",
24404
+ "font-size-lg": "Box_font-size-lg",
24405
+ "font-size-xl": "Box_font-size-xl",
24406
+ "border-radius-sm": "Box_border-radius-sm",
24407
+ "border-radius-md": "Box_border-radius-md",
24408
+ "border-radius-lg": "Box_border-radius-lg",
24409
+ "border-radius-full": "Box_border-radius-full",
24410
+ "gap-xs": "Box_gap-xs",
24411
+ "gap-sm": "Box_gap-sm",
24412
+ "gap-md": "Box_gap-md",
24413
+ "gap-lg": "Box_gap-lg",
24414
+ "gap-xl": "Box_gap-xl",
24415
+ "shadow-1": "Box_shadow-1",
24416
+ "shadow-2": "Box_shadow-2",
24417
+ "shadow-3": "Box_shadow-3",
24418
+ "shadow-4": "Box_shadow-4",
24419
+ "shadow-5": "Box_shadow-5",
24420
+ "shadow-6": "Box_shadow-6"
24421
+ };
24422
+
24423
+ // src/components/Box.tsx
24424
+ import { jsx as jsx5 } from "react/jsx-runtime";
24425
+ function Box({
24426
+ className,
24427
+ spacing,
24428
+ fontSize,
24429
+ borderRadius,
24430
+ shadow,
24431
+ gap,
24432
+ asChild,
24433
+ children,
24434
+ ...props
24435
+ }) {
24436
+ const Component = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : "div";
24437
+ return /* @__PURE__ */ jsx5(
24438
+ Component,
24439
+ {
24440
+ ...props,
24441
+ className: (0, import_classnames5.default)(
24442
+ className,
24443
+ fontSize && Box_default[`font-size-${fontSize}`],
24444
+ gap && Box_default[`gap-${gap}`],
24445
+ shadow && Box_default[`shadow-${shadow}`],
24446
+ spacing && Box_default[`spacing-${spacing}`]
24447
+ ),
24448
+ children
24449
+ }
24450
+ );
24451
+ }
24452
+
24032
24453
  // src/components/Flexbox.module.css
24033
24454
  var Flexbox_default = {
24034
24455
  flexbox: "Flexbox_flexbox",
@@ -24123,7 +24544,7 @@ var Flexbox_default = {
24123
24544
  };
24124
24545
 
24125
24546
  // src/components/Flexbox.tsx
24126
- import { jsx as jsx5 } from "react/jsx-runtime";
24547
+ import { jsx as jsx6 } from "react/jsx-runtime";
24127
24548
  function Flexbox({
24128
24549
  inline,
24129
24550
  direction,
@@ -24133,8 +24554,6 @@ function Flexbox({
24133
24554
  alignContent,
24134
24555
  alignItems,
24135
24556
  alignSelf,
24136
- gap,
24137
- order,
24138
24557
  grow,
24139
24558
  shrink,
24140
24559
  basis,
@@ -24142,13 +24561,13 @@ function Flexbox({
24142
24561
  style,
24143
24562
  className,
24144
24563
  children,
24145
- ...attributes
24564
+ ...props
24146
24565
  }) {
24147
- return /* @__PURE__ */ jsx5(
24148
- "div",
24566
+ return /* @__PURE__ */ jsx6(
24567
+ Box,
24149
24568
  {
24150
- ...attributes,
24151
- className: (0, import_classnames5.default)(
24569
+ ...props,
24570
+ className: (0, import_classnames6.default)(
24152
24571
  Flexbox_default.flexbox,
24153
24572
  className,
24154
24573
  direction && Flexbox_default[direction],
@@ -24158,10 +24577,9 @@ function Flexbox({
24158
24577
  alignContent && Flexbox_default[`align-content-${replace(alignContent)}`],
24159
24578
  alignItems && Flexbox_default[`align-items-${replace(alignItems)}`],
24160
24579
  alignSelf && Flexbox_default[`align-self-${replace(alignSelf)}`],
24161
- inline && Flexbox_default.inline,
24162
- spacing && Flexbox_default[`spacing${spacing}`]
24580
+ inline && Flexbox_default.inline
24163
24581
  ),
24164
- style: { order, gap, flexBasis: basis, flexGrow: grow, flexShrink: shrink, ...style },
24582
+ style: { flexBasis: basis, flexGrow: grow, flexShrink: shrink, ...style },
24165
24583
  children
24166
24584
  }
24167
24585
  );
@@ -24171,19 +24589,19 @@ function replace(s) {
24171
24589
  }
24172
24590
 
24173
24591
  // src/components/Column.tsx
24174
- import { jsx as jsx6 } from "react/jsx-runtime";
24592
+ import { jsx as jsx7 } from "react/jsx-runtime";
24175
24593
  function Column({ reverse, children, ...props }) {
24176
- return /* @__PURE__ */ jsx6(Flexbox, { ...props, direction: reverse ? "column-reverse" : "column", children });
24594
+ return /* @__PURE__ */ jsx7(Flexbox, { ...props, direction: reverse ? "column-reverse" : "column", children });
24177
24595
  }
24178
24596
 
24179
24597
  // src/components/Row.tsx
24180
- import { jsx as jsx7 } from "react/jsx-runtime";
24598
+ import { jsx as jsx8 } from "react/jsx-runtime";
24181
24599
  function Row({ reverse, children, ...props }) {
24182
- return /* @__PURE__ */ jsx7(Flexbox, { ...props, direction: reverse ? "row-reverse" : "row", children });
24600
+ return /* @__PURE__ */ jsx8(Flexbox, { ...props, direction: reverse ? "row-reverse" : "row", children });
24183
24601
  }
24184
24602
 
24185
24603
  // src/components/Button.tsx
24186
- var import_classnames6 = __toESM(require_classnames());
24604
+ var import_classnames7 = __toESM(require_classnames());
24187
24605
 
24188
24606
  // src/components/Button.module.css
24189
24607
  var Button_default = {
@@ -24196,11 +24614,12 @@ var Button_default = {
24196
24614
  xs: "Button_xs",
24197
24615
  sm: "Button_sm",
24198
24616
  md: "Button_md",
24199
- lg: "Button_lg"
24617
+ lg: "Button_lg",
24618
+ xl: "Button_xl"
24200
24619
  };
24201
24620
 
24202
24621
  // src/components/Button.tsx
24203
- import { jsx as jsx8 } from "react/jsx-runtime";
24622
+ import { jsx as jsx9 } from "react/jsx-runtime";
24204
24623
  function Button({
24205
24624
  variant = "secondary",
24206
24625
  size = "md",
@@ -24211,12 +24630,12 @@ function Button({
24211
24630
  ...props
24212
24631
  }) {
24213
24632
  const Component = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : $d2b4bc8c273e7be6$export$353f5b6fc5456de1;
24214
- return /* @__PURE__ */ jsx8(
24633
+ return /* @__PURE__ */ jsx9(
24215
24634
  Component,
24216
24635
  {
24217
24636
  ...props,
24218
24637
  preventFocusOnPress: Component === $d2b4bc8c273e7be6$export$353f5b6fc5456de1 ? preventFocusOnPress : void 0,
24219
- className: (0, import_classnames6.default)(
24638
+ className: (0, import_classnames7.default)(
24220
24639
  Button_default.button,
24221
24640
  className,
24222
24641
  variant && Button_default[variant],
@@ -24234,7 +24653,7 @@ var AlertDialog_default = {
24234
24653
  };
24235
24654
 
24236
24655
  // src/components/AlertDialog.tsx
24237
- import { jsx as jsx9, jsxs as jsxs4 } from "react/jsx-runtime";
24656
+ import { jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
24238
24657
  function AlertDialog({
24239
24658
  title,
24240
24659
  description,
@@ -24256,12 +24675,12 @@ function AlertDialog({
24256
24675
  onCancel?.();
24257
24676
  close();
24258
24677
  };
24259
- return /* @__PURE__ */ jsx9(Dialog, { ...props, title, className: (0, import_classnames7.default)(AlertDialog_default.dialog, className), children: ({ close }) => {
24678
+ return /* @__PURE__ */ jsx10(Dialog, { ...props, title, className: (0, import_classnames8.default)(AlertDialog_default.dialog, className), children: ({ close }) => {
24260
24679
  return /* @__PURE__ */ jsxs4(Column, { spacing: 6, children: [
24261
24680
  typeof children === "function" ? children({ close }) : children,
24262
24681
  /* @__PURE__ */ jsxs4(Row, { spacing: 3, justifyContent: "end", children: [
24263
- /* @__PURE__ */ jsx9(Button, { onPress: () => handleClose(close), children: cancelLabel }),
24264
- /* @__PURE__ */ jsx9(
24682
+ /* @__PURE__ */ jsx10(Button, { onPress: () => handleClose(close), children: cancelLabel }),
24683
+ /* @__PURE__ */ jsx10(
24265
24684
  Button,
24266
24685
  {
24267
24686
  variant: isDanger ? "danger" : "primary",
@@ -24276,7 +24695,7 @@ function AlertDialog({
24276
24695
  }
24277
24696
 
24278
24697
  // src/components/Breadcrumbs.tsx
24279
- var import_classnames8 = __toESM(require_classnames());
24698
+ var import_classnames9 = __toESM(require_classnames());
24280
24699
 
24281
24700
  // src/components/Breadcrumbs.module.css
24282
24701
  var Breadcrumbs_default = {
@@ -24286,19 +24705,19 @@ var Breadcrumbs_default = {
24286
24705
  };
24287
24706
 
24288
24707
  // src/components/Breadcrumbs.tsx
24289
- import { jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
24708
+ import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
24290
24709
  function Breadcrumbs({ children, className, ...props }) {
24291
- return /* @__PURE__ */ jsx10($778035c5624f61e7$export$2dc68d50d56fbbd, { ...props, className: (0, import_classnames8.default)(Breadcrumbs_default.breadcrumbs, className), children });
24710
+ return /* @__PURE__ */ jsx11($778035c5624f61e7$export$2dc68d50d56fbbd, { ...props, className: (0, import_classnames9.default)(Breadcrumbs_default.breadcrumbs, className), children });
24292
24711
  }
24293
24712
  function Breadcrumb2({ children, className, ...props }) {
24294
- return /* @__PURE__ */ jsxs5($778035c5624f61e7$export$dabcc1ec9dd9d1cc, { ...props, className: (0, import_classnames8.default)(Breadcrumbs_default.breadcrumb, className), children: [
24713
+ return /* @__PURE__ */ jsxs5($778035c5624f61e7$export$dabcc1ec9dd9d1cc, { ...props, className: (0, import_classnames9.default)(Breadcrumbs_default.breadcrumb, className), children: [
24295
24714
  children,
24296
- /* @__PURE__ */ jsx10(Icon, { className: Breadcrumbs_default.icon, size: "xs", children: /* @__PURE__ */ jsx10(Icons.Chevron, {}) })
24715
+ /* @__PURE__ */ jsx11(Icon, { className: Breadcrumbs_default.icon, size: "xs", children: /* @__PURE__ */ jsx11(Icons.Chevron, {}) })
24297
24716
  ] });
24298
24717
  }
24299
24718
 
24300
24719
  // src/components/Calendar.tsx
24301
- var import_classnames9 = __toESM(require_classnames());
24720
+ var import_classnames10 = __toESM(require_classnames());
24302
24721
 
24303
24722
  // src/components/Calendar.module.css
24304
24723
  var Calendar_default = {
@@ -24311,23 +24730,23 @@ var Calendar_default = {
24311
24730
  };
24312
24731
 
24313
24732
  // src/components/Calendar.tsx
24314
- import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
24733
+ import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
24315
24734
  function Calendar({ className, ...props }) {
24316
- return /* @__PURE__ */ jsxs6($dfd62f934fc76fed$export$e1aef45b828286de, { ...props, className: (0, import_classnames9.default)(Calendar_default.calendar, className), children: [
24735
+ return /* @__PURE__ */ jsxs6($dfd62f934fc76fed$export$e1aef45b828286de, { ...props, className: (0, import_classnames10.default)(Calendar_default.calendar, className), children: [
24317
24736
  /* @__PURE__ */ jsxs6("header", { className: Calendar_default.header, children: [
24318
- /* @__PURE__ */ jsx11(Button, { slot: "previous", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ jsx11(Icon, { rotate: 180, children: /* @__PURE__ */ jsx11(Icons.Chevron, {}) }) }),
24319
- /* @__PURE__ */ jsx11($5cb03073d3f54797$export$a8a3e93435678ff9, { className: Calendar_default.heading }),
24320
- /* @__PURE__ */ jsx11(Button, { slot: "next", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ jsx11(Icon, { children: /* @__PURE__ */ jsx11(Icons.Chevron, {}) }) })
24737
+ /* @__PURE__ */ jsx12(Button, { slot: "previous", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ jsx12(Icon, { rotate: 180, children: /* @__PURE__ */ jsx12(Icons.Chevron, {}) }) }),
24738
+ /* @__PURE__ */ jsx12($5cb03073d3f54797$export$a8a3e93435678ff9, { className: Calendar_default.heading }),
24739
+ /* @__PURE__ */ jsx12(Button, { slot: "next", className: Calendar_default.button, variant: "quiet", children: /* @__PURE__ */ jsx12(Icon, { children: /* @__PURE__ */ jsx12(Icons.Chevron, {}) }) })
24321
24740
  ] }),
24322
24741
  /* @__PURE__ */ jsxs6($dfd62f934fc76fed$export$5bd780d491cfc46c, { children: [
24323
- /* @__PURE__ */ jsx11($dfd62f934fc76fed$export$22e2d15eaa4d2377, { children: (day) => /* @__PURE__ */ jsx11($dfd62f934fc76fed$export$ad2135cac3a11b3d, { className: Calendar_default.headerCell, children: day }) }),
24324
- /* @__PURE__ */ jsx11($dfd62f934fc76fed$export$e11f8ba65d857bff, { className: Calendar_default.body, children: (date) => /* @__PURE__ */ jsx11($dfd62f934fc76fed$export$5d847498420df57b, { className: Calendar_default.cell, date }) })
24742
+ /* @__PURE__ */ jsx12($dfd62f934fc76fed$export$22e2d15eaa4d2377, { children: (day) => /* @__PURE__ */ jsx12($dfd62f934fc76fed$export$ad2135cac3a11b3d, { className: Calendar_default.headerCell, children: day }) }),
24743
+ /* @__PURE__ */ jsx12($dfd62f934fc76fed$export$e11f8ba65d857bff, { className: Calendar_default.body, children: (date) => /* @__PURE__ */ jsx12($dfd62f934fc76fed$export$5d847498420df57b, { className: Calendar_default.cell, date }) })
24325
24744
  ] })
24326
24745
  ] });
24327
24746
  }
24328
24747
 
24329
24748
  // src/components/Checkbox.tsx
24330
- var import_classnames10 = __toESM(require_classnames());
24749
+ var import_classnames11 = __toESM(require_classnames());
24331
24750
 
24332
24751
  // src/components/Checkbox.module.css
24333
24752
  var Checkbox_default = {
@@ -24337,24 +24756,24 @@ var Checkbox_default = {
24337
24756
  };
24338
24757
 
24339
24758
  // src/components/Checkbox.tsx
24340
- import { Fragment as Fragment2, jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
24759
+ import { Fragment as Fragment2, jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
24341
24760
  function Checkbox({ className, children, ...props }) {
24342
- return /* @__PURE__ */ jsx12($bc237834342dbd75$export$48513f6b9f8ce62d, { ...props, className: (0, import_classnames10.default)(Checkbox_default.checkbox, className), children: ({ isIndeterminate, isSelected }) => {
24761
+ return /* @__PURE__ */ jsx13($bc237834342dbd75$export$48513f6b9f8ce62d, { ...props, className: (0, import_classnames11.default)(Checkbox_default.checkbox, className), children: ({ isIndeterminate, isSelected }) => {
24343
24762
  return /* @__PURE__ */ jsxs7(Fragment2, { children: [
24344
- /* @__PURE__ */ jsx12("div", { className: Checkbox_default.box, children: /* @__PURE__ */ jsx12(Icon, { className: Checkbox_default.icon, size: "xs", children: isIndeterminate ? /* @__PURE__ */ jsx12(Icons.Minus, {}) : isSelected ? /* @__PURE__ */ jsx12(Icons.Check, {}) : null }) }),
24763
+ /* @__PURE__ */ jsx13("div", { className: Checkbox_default.box, children: /* @__PURE__ */ jsx13(Icon, { className: Checkbox_default.icon, size: "xs", children: isIndeterminate ? /* @__PURE__ */ jsx13(Icons.Minus, {}) : isSelected ? /* @__PURE__ */ jsx13(Icons.Check, {}) : null }) }),
24345
24764
  children
24346
24765
  ] });
24347
24766
  } });
24348
24767
  }
24349
24768
 
24350
24769
  // src/components/Combobox.tsx
24351
- var import_classnames14 = __toESM(require_classnames());
24770
+ var import_classnames15 = __toESM(require_classnames());
24352
24771
 
24353
24772
  // src/components/List.tsx
24354
- var import_classnames12 = __toESM(require_classnames());
24773
+ var import_classnames13 = __toESM(require_classnames());
24355
24774
 
24356
24775
  // src/components/ListItem.tsx
24357
- var import_classnames11 = __toESM(require_classnames());
24776
+ var import_classnames12 = __toESM(require_classnames());
24358
24777
 
24359
24778
  // src/components/ListItem.module.css
24360
24779
  var ListItem_default = {
@@ -24363,14 +24782,13 @@ var ListItem_default = {
24363
24782
  };
24364
24783
 
24365
24784
  // src/components/ListItem.tsx
24366
- import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
24785
+ import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
24367
24786
  function ListItem({ children, className, ...props }) {
24368
- return /* @__PURE__ */ jsxs8($eed445e0843c11d0$export$a11e76429ed99b4, { ...props, className: (0, import_classnames11.default)(ListItem_default.item, className), children: [
24787
+ return /* @__PURE__ */ jsxs8($eed445e0843c11d0$export$a11e76429ed99b4, { ...props, className: (0, import_classnames12.default)(ListItem_default.item, className), children: [
24369
24788
  children,
24370
- /* @__PURE__ */ jsx13("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx13(Icon, { size: "sm", className: ListItem_default.check, children: /* @__PURE__ */ jsx13(Icons.Check, {}) }) })
24789
+ /* @__PURE__ */ jsx14("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx14(Icon, { size: "sm", className: ListItem_default.check, children: /* @__PURE__ */ jsx14(Icons.Check, {}) }) })
24371
24790
  ] });
24372
24791
  }
24373
- var ListItem_default2 = ListItem;
24374
24792
 
24375
24793
  // src/components/List.module.css
24376
24794
  var List_default = {
@@ -24379,18 +24797,18 @@ var List_default = {
24379
24797
  };
24380
24798
 
24381
24799
  // src/components/List.tsx
24382
- import { jsx as jsx14 } from "react/jsx-runtime";
24800
+ import { jsx as jsx15 } from "react/jsx-runtime";
24383
24801
  function List({ items, className, children, ...props }) {
24384
- return /* @__PURE__ */ jsx14($eed445e0843c11d0$export$41f133550aa26f48, { ...props, items, className: (0, import_classnames12.default)(List_default.list, className), children: children || items?.map((item, index) => {
24802
+ return /* @__PURE__ */ jsx15($eed445e0843c11d0$export$41f133550aa26f48, { ...props, items, className: (0, import_classnames13.default)(List_default.list, className), children: children || items?.map((item, index) => {
24385
24803
  if (item === null) {
24386
- return /* @__PURE__ */ jsx14($431f98aba6844401$export$1ff3c3f08ae963c0, { className: List_default.separator }, index);
24804
+ return /* @__PURE__ */ jsx15($431f98aba6844401$export$1ff3c3f08ae963c0, { className: List_default.separator }, index);
24387
24805
  }
24388
- return /* @__PURE__ */ jsx14(ListItem_default2, { id: item, children: item }, index);
24806
+ return /* @__PURE__ */ jsx15(ListItem, { id: item, children: item }, index);
24389
24807
  }) });
24390
24808
  }
24391
24809
 
24392
24810
  // src/components/Popover.tsx
24393
- var import_classnames13 = __toESM(require_classnames());
24811
+ var import_classnames14 = __toESM(require_classnames());
24394
24812
 
24395
24813
  // src/components/Popover.module.css
24396
24814
  var Popover_default = {
@@ -24399,9 +24817,9 @@ var Popover_default = {
24399
24817
  };
24400
24818
 
24401
24819
  // src/components/Popover.tsx
24402
- import { jsx as jsx15 } from "react/jsx-runtime";
24820
+ import { jsx as jsx16 } from "react/jsx-runtime";
24403
24821
  function Popover({ children, className, ...props }) {
24404
- return /* @__PURE__ */ jsx15($07b14b47974efb58$export$5b6b19405a83ff9d, { ...props, className: (0, import_classnames13.default)(Popover_default.popover, className), children });
24822
+ return /* @__PURE__ */ jsx16($07b14b47974efb58$export$5b6b19405a83ff9d, { ...props, className: (0, import_classnames14.default)(Popover_default.popover, className), children });
24405
24823
  }
24406
24824
 
24407
24825
  // src/components/Combobox.module.css
@@ -24415,27 +24833,27 @@ var Combobox_default = {
24415
24833
  };
24416
24834
 
24417
24835
  // src/components/Combobox.tsx
24418
- import { jsx as jsx16, jsxs as jsxs9 } from "react/jsx-runtime";
24836
+ import { jsx as jsx17, jsxs as jsxs9 } from "react/jsx-runtime";
24419
24837
  function Combobox({ items, className, ...props }) {
24420
- return /* @__PURE__ */ jsxs9($d01f2c01039c0eec$export$72b9695b8216309a, { ...props, className: (0, import_classnames14.default)(Combobox_default.combobox, className), children: [
24838
+ return /* @__PURE__ */ jsxs9($d01f2c01039c0eec$export$72b9695b8216309a, { ...props, className: (0, import_classnames15.default)(Combobox_default.combobox, className), children: [
24421
24839
  /* @__PURE__ */ jsxs9("div", { className: Combobox_default.field, children: [
24422
- /* @__PURE__ */ jsx16($3985021b0ad6602f$export$f5b8910cec6cf069, { className: Combobox_default.input }),
24423
- /* @__PURE__ */ jsx16($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: Combobox_default.button, children: /* @__PURE__ */ jsx16(Icon, { rotate: 90, size: "xs", className: Combobox_default.icon, children: /* @__PURE__ */ jsx16(Icons.Chevron, {}) }) })
24840
+ /* @__PURE__ */ jsx17($3985021b0ad6602f$export$f5b8910cec6cf069, { className: Combobox_default.input }),
24841
+ /* @__PURE__ */ jsx17($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: Combobox_default.button, children: /* @__PURE__ */ jsx17(Icon, { rotate: 90, size: "xs", className: Combobox_default.icon, children: /* @__PURE__ */ jsx17(Icons.Chevron, {}) }) })
24424
24842
  ] }),
24425
- /* @__PURE__ */ jsx16(Popover, { children: /* @__PURE__ */ jsx16(List, { items, className: Combobox_default.list, children: items.map((item) => /* @__PURE__ */ jsx16(ListItem, { textValue: item, children: item }, item)) }) })
24843
+ /* @__PURE__ */ jsx17(Popover, { children: /* @__PURE__ */ jsx17(List, { items, className: Combobox_default.list, children: items.map((item) => /* @__PURE__ */ jsx17(ListItem, { textValue: item, children: item }, item)) }) })
24426
24844
  ] });
24427
24845
  }
24428
24846
 
24429
24847
  // src/components/ConfirmationDialog.tsx
24430
- var import_classnames18 = __toESM(require_classnames());
24848
+ var import_classnames19 = __toESM(require_classnames());
24431
24849
  import { useState as useState5 } from "react";
24432
24850
 
24433
24851
  // src/components/TextField.tsx
24434
24852
  import { useState as useState4 } from "react";
24435
- var import_classnames16 = __toESM(require_classnames());
24853
+ var import_classnames17 = __toESM(require_classnames());
24436
24854
 
24437
24855
  // src/components/CopyButton.tsx
24438
- var import_classnames15 = __toESM(require_classnames());
24856
+ var import_classnames16 = __toESM(require_classnames());
24439
24857
  import { useState as useState3, useRef } from "react";
24440
24858
 
24441
24859
  // src/components/CopyButton.module.css
@@ -24445,7 +24863,7 @@ var CopyButton_default = {
24445
24863
  };
24446
24864
 
24447
24865
  // src/components/CopyButton.tsx
24448
- import { jsx as jsx17 } from "react/jsx-runtime";
24866
+ import { jsx as jsx18 } from "react/jsx-runtime";
24449
24867
  var TIMEOUT = 2e3;
24450
24868
  function CopyButton({ value, className, children, ...props }) {
24451
24869
  const [copied, setCopied] = useState3(false);
@@ -24458,7 +24876,7 @@ function CopyButton({ value, className, children, ...props }) {
24458
24876
  timeout.current = +setTimeout(() => setCopied(false), TIMEOUT);
24459
24877
  }
24460
24878
  };
24461
- return /* @__PURE__ */ jsx17(Icon, { ...props, className: (0, import_classnames15.default)(CopyButton_default.icon, className), onClick: handleCopy, children: copied ? /* @__PURE__ */ jsx17(Icons.Check, {}) : /* @__PURE__ */ jsx17(Icons.Copy, {}) });
24879
+ return /* @__PURE__ */ jsx18(Icon, { ...props, className: (0, import_classnames16.default)(CopyButton_default.icon, className), onClick: handleCopy, children: copied ? /* @__PURE__ */ jsx18(Icons.Check, {}) : /* @__PURE__ */ jsx18(Icons.Copy, {}) });
24462
24880
  }
24463
24881
 
24464
24882
  // src/components/Field.module.css
@@ -24475,7 +24893,7 @@ var TextField_default = {
24475
24893
  };
24476
24894
 
24477
24895
  // src/components/TextField.tsx
24478
- import { jsx as jsx18, jsxs as jsxs10 } from "react/jsx-runtime";
24896
+ import { jsx as jsx19, jsxs as jsxs10 } from "react/jsx-runtime";
24479
24897
  function TextField({
24480
24898
  value,
24481
24899
  defaultValue,
@@ -24491,21 +24909,21 @@ function TextField({
24491
24909
  setInputValue(e.target.value);
24492
24910
  return onChange?.(e);
24493
24911
  };
24494
- return /* @__PURE__ */ jsxs10($bcdf0525bf22703d$export$2c73285ae9390cec, { ...props, className: (0, import_classnames16.default)(Field_default.field, className), children: [
24495
- /* @__PURE__ */ jsx18(
24912
+ return /* @__PURE__ */ jsxs10($bcdf0525bf22703d$export$2c73285ae9390cec, { ...props, className: (0, import_classnames17.default)(Field_default.field, className), children: [
24913
+ /* @__PURE__ */ jsx19(
24496
24914
  Component,
24497
24915
  {
24498
24916
  value: inputValue,
24499
- className: (0, import_classnames16.default)(Field_default.input, asTextArea && TextField_default.textarea),
24917
+ className: (0, import_classnames17.default)(Field_default.input, asTextArea && TextField_default.textarea),
24500
24918
  onChange: handleChange
24501
24919
  }
24502
24920
  ),
24503
- allowCopy && /* @__PURE__ */ jsx18(CopyButton, { className: TextField_default.copy, value: inputValue })
24921
+ allowCopy && /* @__PURE__ */ jsx19(CopyButton, { className: TextField_default.copy, value: inputValue })
24504
24922
  ] });
24505
24923
  }
24506
24924
 
24507
24925
  // src/components/Text.tsx
24508
- var import_classnames17 = __toESM(require_classnames());
24926
+ var import_classnames18 = __toESM(require_classnames());
24509
24927
 
24510
24928
  // src/components/Text.module.css
24511
24929
  var Text_default = {
@@ -24528,14 +24946,14 @@ var Text_default = {
24528
24946
  };
24529
24947
 
24530
24948
  // src/components/Text.tsx
24531
- import { jsx as jsx19 } from "react/jsx-runtime";
24949
+ import { jsx as jsx20 } from "react/jsx-runtime";
24532
24950
  function Text({ children, type, size, spacing, weight, asChild, className, ...props }) {
24533
24951
  const Component = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : "span";
24534
- return /* @__PURE__ */ jsx19(
24952
+ return /* @__PURE__ */ jsx20(
24535
24953
  Component,
24536
24954
  {
24537
24955
  ...props,
24538
- className: (0, import_classnames17.default)(
24956
+ className: (0, import_classnames18.default)(
24539
24957
  Text_default.text,
24540
24958
  className,
24541
24959
  size && Text_default[size],
@@ -24555,7 +24973,7 @@ var ConfirmationDialog_default = {
24555
24973
  };
24556
24974
 
24557
24975
  // src/components/ConfirmationDialog.tsx
24558
- import { Fragment as Fragment3, jsx as jsx20, jsxs as jsxs11 } from "react/jsx-runtime";
24976
+ import { Fragment as Fragment3, jsx as jsx21, jsxs as jsxs11 } from "react/jsx-runtime";
24559
24977
  function ConfirmationDialog({
24560
24978
  value,
24561
24979
  confirmMessage,
@@ -24567,11 +24985,11 @@ function ConfirmationDialog({
24567
24985
  const handleChange = (e) => {
24568
24986
  setCanSave(e.target.value === value);
24569
24987
  };
24570
- return /* @__PURE__ */ jsx20(
24988
+ return /* @__PURE__ */ jsx21(
24571
24989
  AlertDialog,
24572
24990
  {
24573
24991
  ...props,
24574
- className: (0, import_classnames18.default)(ConfirmationDialog_default.dialog, className),
24992
+ className: (0, import_classnames19.default)(ConfirmationDialog_default.dialog, className),
24575
24993
  isConfirmDisabled: !canSave,
24576
24994
  children: ({ close }) => {
24577
24995
  return /* @__PURE__ */ jsxs11(Fragment3, { children: [
@@ -24580,8 +24998,8 @@ function ConfirmationDialog({
24580
24998
  confirmMessage || "Type the following value to confirm",
24581
24999
  ":"
24582
25000
  ] }),
24583
- /* @__PURE__ */ jsx20("div", { className: ConfirmationDialog_default.value, children: value }),
24584
- /* @__PURE__ */ jsx20(TextField, { autoFocus: true, "aria-label": "Confirmation", onChange: handleChange })
25001
+ /* @__PURE__ */ jsx21("div", { className: ConfirmationDialog_default.value, children: value }),
25002
+ /* @__PURE__ */ jsx21(TextField, { autoFocus: true, "aria-label": "Confirmation", onChange: handleChange })
24585
25003
  ] });
24586
25004
  }
24587
25005
  }
@@ -24589,11 +25007,11 @@ function ConfirmationDialog({
24589
25007
  }
24590
25008
 
24591
25009
  // src/components/DataTable.tsx
24592
- var import_classnames20 = __toESM(require_classnames());
25010
+ var import_classnames21 = __toESM(require_classnames());
24593
25011
  import { Children } from "react";
24594
25012
 
24595
25013
  // src/components/Table.tsx
24596
- var import_classnames19 = __toESM(require_classnames());
25014
+ var import_classnames20 = __toESM(require_classnames());
24597
25015
 
24598
25016
  // src/components/Table.module.css
24599
25017
  var Table_default = {
@@ -24609,32 +25027,32 @@ var Table_default = {
24609
25027
  };
24610
25028
 
24611
25029
  // src/components/Table.tsx
24612
- import { jsx as jsx21 } from "react/jsx-runtime";
25030
+ import { jsx as jsx22 } from "react/jsx-runtime";
24613
25031
  function Table({ children, className, ...props }) {
24614
- return /* @__PURE__ */ jsx21($1910c06f0ca9905e$export$54ec01a60f47d33d, { ...props, className: (0, import_classnames19.default)(Table_default.table, className), "aria-label": "Table", children });
25032
+ return /* @__PURE__ */ jsx22($1910c06f0ca9905e$export$54ec01a60f47d33d, { ...props, className: (0, import_classnames20.default)(Table_default.table, className), "aria-label": "Table", children });
24615
25033
  }
24616
25034
  function TableHeader({ children, className, ...props }) {
24617
- return /* @__PURE__ */ jsx21($1910c06f0ca9905e$export$f850895b287ef28e, { ...props, className: (0, import_classnames19.default)(Table_default.header, className), children });
25035
+ return /* @__PURE__ */ jsx22($1910c06f0ca9905e$export$f850895b287ef28e, { ...props, className: (0, import_classnames20.default)(Table_default.header, className), children });
24618
25036
  }
24619
25037
  function TableBody({ children, className, ...props }) {
24620
- return /* @__PURE__ */ jsx21($1910c06f0ca9905e$export$76ccd210b9029917, { ...props, className: (0, import_classnames19.default)(Table_default.body, className), children });
25038
+ return /* @__PURE__ */ jsx22($1910c06f0ca9905e$export$76ccd210b9029917, { ...props, className: (0, import_classnames20.default)(Table_default.body, className), children });
24621
25039
  }
24622
25040
  function TableRow({ children, className, ...props }) {
24623
- return /* @__PURE__ */ jsx21($1910c06f0ca9905e$export$b59bdbef9ce70de2, { ...props, className: (0, import_classnames19.default)(Table_default.row, className), children });
25041
+ return /* @__PURE__ */ jsx22($1910c06f0ca9905e$export$b59bdbef9ce70de2, { ...props, className: (0, import_classnames20.default)(Table_default.row, className), children });
24624
25042
  }
24625
25043
  function TableColumn({ children, className, alignment, ...props }) {
24626
- return /* @__PURE__ */ jsx21(
25044
+ return /* @__PURE__ */ jsx22(
24627
25045
  $1910c06f0ca9905e$export$816b5d811295e6bc,
24628
25046
  {
24629
25047
  ...props,
24630
- className: (0, import_classnames19.default)(Table_default.column, className, alignment && Table_default[alignment]),
25048
+ className: (0, import_classnames20.default)(Table_default.column, className, alignment && Table_default[alignment]),
24631
25049
  isRowHeader: true,
24632
25050
  children
24633
25051
  }
24634
25052
  );
24635
25053
  }
24636
25054
  function TableCell({ children, className, alignment, ...props }) {
24637
- return /* @__PURE__ */ jsx21($1910c06f0ca9905e$export$f6f0c3fe4ec306ea, { ...props, className: (0, import_classnames19.default)(Table_default.cell, className, alignment && Table_default[alignment]), children });
25055
+ return /* @__PURE__ */ jsx22($1910c06f0ca9905e$export$f6f0c3fe4ec306ea, { ...props, className: (0, import_classnames20.default)(Table_default.cell, className, alignment && Table_default[alignment]), children });
24638
25056
  }
24639
25057
 
24640
25058
  // src/components/DataTable.module.css
@@ -24644,22 +25062,22 @@ var DataTable_default = {
24644
25062
  };
24645
25063
 
24646
25064
  // src/components/DataTable.tsx
24647
- import { jsx as jsx22, jsxs as jsxs12 } from "react/jsx-runtime";
25065
+ import { jsx as jsx23, jsxs as jsxs12 } from "react/jsx-runtime";
24648
25066
  import { createElement as createElement2 } from "react";
24649
25067
  function DataTable({ data = [], className, children, ...props }) {
24650
25068
  const columns = Children.map(children, (child) => {
24651
25069
  return { ...child.props, value: child.props.children };
24652
25070
  });
24653
- return /* @__PURE__ */ jsxs12(Table, { ...props, className: (0, import_classnames20.default)(DataTable_default.datatable, className), children: [
24654
- /* @__PURE__ */ jsx22(TableHeader, { children: columns.map(({ id, label, hidden, ...columnProps }) => {
25071
+ return /* @__PURE__ */ jsxs12(Table, { ...props, className: (0, import_classnames21.default)(DataTable_default.datatable, className), children: [
25072
+ /* @__PURE__ */ jsx23(TableHeader, { children: columns.map(({ id, label, hidden, ...columnProps }) => {
24655
25073
  if (hidden) {
24656
25074
  return null;
24657
25075
  }
24658
25076
  return /* @__PURE__ */ createElement2(TableColumn, { ...columnProps, key: id, id }, label);
24659
25077
  }) }),
24660
- /* @__PURE__ */ jsx22(TableBody, { items: data, children: (row) => {
24661
- return /* @__PURE__ */ jsx22(TableRow, { children: columns.map(({ id, value, className: className2, ...cellProps }) => {
24662
- return /* @__PURE__ */ createElement2(TableCell, { ...cellProps, key: id, className: (0, import_classnames20.default)(DataTable_default.cell, className2) }, !value && row[id], typeof value === "function" ? value(row, id) : value);
25078
+ /* @__PURE__ */ jsx23(TableBody, { items: data, children: (row) => {
25079
+ return /* @__PURE__ */ jsx23(TableRow, { children: columns.map(({ id, value, className: className2, ...cellProps }) => {
25080
+ return /* @__PURE__ */ createElement2(TableCell, { ...cellProps, key: id, className: (0, import_classnames21.default)(DataTable_default.cell, className2) }, !value && row[id], typeof value === "function" ? value(row, id) : value);
24663
25081
  }) });
24664
25082
  } })
24665
25083
  ] });
@@ -24669,7 +25087,7 @@ function DataColumn(props) {
24669
25087
  }
24670
25088
 
24671
25089
  // src/components/Dots.tsx
24672
- var import_classnames21 = __toESM(require_classnames());
25090
+ var import_classnames22 = __toESM(require_classnames());
24673
25091
 
24674
25092
  // src/components/Dots.module.css
24675
25093
  var Dots_default = {
@@ -24679,17 +25097,17 @@ var Dots_default = {
24679
25097
  };
24680
25098
 
24681
25099
  // src/components/Dots.tsx
24682
- import { jsx as jsx23, jsxs as jsxs13 } from "react/jsx-runtime";
25100
+ import { jsx as jsx24, jsxs as jsxs13 } from "react/jsx-runtime";
24683
25101
  function Dots({ className, ...props }) {
24684
- return /* @__PURE__ */ jsxs13("div", { ...props, className: (0, import_classnames21.default)(Dots_default.dots, className), children: [
24685
- /* @__PURE__ */ jsx23("div", { className: Dots_default.dot }),
24686
- /* @__PURE__ */ jsx23("div", { className: Dots_default.dot }),
24687
- /* @__PURE__ */ jsx23("div", { className: Dots_default.dot })
25102
+ return /* @__PURE__ */ jsxs13("div", { ...props, className: (0, import_classnames22.default)(Dots_default.dots, className), children: [
25103
+ /* @__PURE__ */ jsx24("div", { className: Dots_default.dot }),
25104
+ /* @__PURE__ */ jsx24("div", { className: Dots_default.dot }),
25105
+ /* @__PURE__ */ jsx24("div", { className: Dots_default.dot })
24688
25106
  ] });
24689
25107
  }
24690
25108
 
24691
25109
  // src/components/Heading.tsx
24692
- var import_classnames22 = __toESM(require_classnames());
25110
+ var import_classnames23 = __toESM(require_classnames());
24693
25111
 
24694
25112
  // src/components/Heading.module.css
24695
25113
  var Heading_default = {
@@ -24706,21 +25124,21 @@ var Heading_default = {
24706
25124
  };
24707
25125
 
24708
25126
  // src/components/Heading.tsx
24709
- import { jsx as jsx24 } from "react/jsx-runtime";
25127
+ import { jsx as jsx25 } from "react/jsx-runtime";
24710
25128
  function Heading({ size = 5, className, children, asChild, ...props }) {
24711
25129
  const Component = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : "h1";
24712
- return /* @__PURE__ */ jsx24(
25130
+ return /* @__PURE__ */ jsx25(
24713
25131
  Component,
24714
25132
  {
24715
25133
  ...props,
24716
- className: (0, import_classnames22.default)(Heading_default.heading, className, size && Heading_default[`size${size}`]),
25134
+ className: (0, import_classnames23.default)(Heading_default.heading, className, size && Heading_default[`size${size}`]),
24717
25135
  children
24718
25136
  }
24719
25137
  );
24720
25138
  }
24721
25139
 
24722
25140
  // src/components/InlineEditField.tsx
24723
- var import_classnames23 = __toESM(require_classnames());
25141
+ var import_classnames24 = __toESM(require_classnames());
24724
25142
  import { useState as useState6, useCallback } from "react";
24725
25143
 
24726
25144
  // src/components/InlineEditField.module.css
@@ -24730,7 +25148,7 @@ var InlineEditField_default = {
24730
25148
  };
24731
25149
 
24732
25150
  // src/components/InlineEditField.tsx
24733
- import { jsx as jsx25, jsxs as jsxs14 } from "react/jsx-runtime";
25151
+ import { jsx as jsx26, jsxs as jsxs14 } from "react/jsx-runtime";
24734
25152
  function InlineEditField({
24735
25153
  value: defaultValue = "",
24736
25154
  defaultEdit,
@@ -24770,12 +25188,12 @@ function InlineEditField({
24770
25188
  {
24771
25189
  "aria-label": "Edit",
24772
25190
  ...props,
24773
- className: (0, import_classnames23.default)(InlineEditField_default.edit, className),
25191
+ className: (0, import_classnames24.default)(InlineEditField_default.edit, className),
24774
25192
  onClick: handleEdit,
24775
25193
  children: [
24776
25194
  !edit && children,
24777
- !edit && /* @__PURE__ */ jsx25(Icon, { className: InlineEditField_default.icon, children: /* @__PURE__ */ jsx25(Icons.Edit, {}) }),
24778
- edit && /* @__PURE__ */ jsx25(
25195
+ !edit && /* @__PURE__ */ jsx26(Icon, { className: InlineEditField_default.icon, children: /* @__PURE__ */ jsx26(Icons.Edit, {}) }),
25196
+ edit && /* @__PURE__ */ jsx26(
24779
25197
  TextField,
24780
25198
  {
24781
25199
  value,
@@ -24791,7 +25209,7 @@ function InlineEditField({
24791
25209
  }
24792
25210
 
24793
25211
  // src/components/Label.tsx
24794
- var import_classnames24 = __toESM(require_classnames());
25212
+ var import_classnames25 = __toESM(require_classnames());
24795
25213
 
24796
25214
  // src/components/Label.module.css
24797
25215
  var Label_default = {
@@ -24799,16 +25217,16 @@ var Label_default = {
24799
25217
  };
24800
25218
 
24801
25219
  // src/components/Label.tsx
24802
- import { jsx as jsx26 } from "react/jsx-runtime";
25220
+ import { jsx as jsx27 } from "react/jsx-runtime";
24803
25221
  function Label({ asChild, className, ...props }) {
24804
- return /* @__PURE__ */ jsx26($01b77f81d0f07f68$export$b04be29aa201d4f5, { ...props, className: (0, import_classnames24.default)(Label_default.label, className) });
25222
+ return /* @__PURE__ */ jsx27($01b77f81d0f07f68$export$b04be29aa201d4f5, { ...props, className: (0, import_classnames25.default)(Label_default.label, className) });
24805
25223
  }
24806
25224
 
24807
25225
  // src/components/Loading.tsx
24808
- var import_classnames26 = __toESM(require_classnames());
25226
+ var import_classnames27 = __toESM(require_classnames());
24809
25227
 
24810
25228
  // src/components/Spinner.tsx
24811
- var import_classnames25 = __toESM(require_classnames());
25229
+ var import_classnames26 = __toESM(require_classnames());
24812
25230
 
24813
25231
  // src/components/Spinner.module.css
24814
25232
  var Spinner_default = {
@@ -24825,19 +25243,19 @@ var Spinner_default = {
24825
25243
  };
24826
25244
 
24827
25245
  // src/components/Spinner.tsx
24828
- import { jsx as jsx27, jsxs as jsxs15 } from "react/jsx-runtime";
25246
+ import { jsx as jsx28, jsxs as jsxs15 } from "react/jsx-runtime";
24829
25247
  function Spinner(props) {
24830
25248
  const { size = "lg", quiet, className, ...domProps } = props;
24831
- return /* @__PURE__ */ jsx27(
25249
+ return /* @__PURE__ */ jsx28(
24832
25250
  "div",
24833
25251
  {
24834
25252
  ...domProps,
24835
- className: (0, import_classnames25.default)(Spinner_default.spinner, className, Spinner_default[`size-${size}`], {
25253
+ className: (0, import_classnames26.default)(Spinner_default.spinner, className, Spinner_default[`size-${size}`], {
24836
25254
  [Spinner_default.quiet]: quiet
24837
25255
  }),
24838
25256
  children: /* @__PURE__ */ jsxs15("svg", { viewBox: "25 25 50 50", children: [
24839
- /* @__PURE__ */ jsx27("circle", { className: Spinner_default.track, cx: "50", cy: "50", r: "20" }),
24840
- /* @__PURE__ */ jsx27("circle", { className: Spinner_default.fill, cx: "50", cy: "50", r: "20" })
25257
+ /* @__PURE__ */ jsx28("circle", { className: Spinner_default.track, cx: "50", cy: "50", r: "20" }),
25258
+ /* @__PURE__ */ jsx28("circle", { className: Spinner_default.fill, cx: "50", cy: "50", r: "20" })
24841
25259
  ] })
24842
25260
  }
24843
25261
  );
@@ -24852,29 +25270,29 @@ var Loading_default = {
24852
25270
  };
24853
25271
 
24854
25272
  // src/components/Loading.tsx
24855
- import { jsx as jsx28, jsxs as jsxs16 } from "react/jsx-runtime";
25273
+ import { jsx as jsx29, jsxs as jsxs16 } from "react/jsx-runtime";
24856
25274
  function Loading(props) {
24857
25275
  const { size, position = "inline", icon = "spinner", className, ...domProps } = props;
24858
- return /* @__PURE__ */ jsxs16("div", { ...domProps, className: (0, import_classnames26.default)(Loading_default.loading, className, Loading_default[position]), children: [
24859
- icon === "dots" && /* @__PURE__ */ jsx28(Dots, {}),
24860
- icon === "spinner" && /* @__PURE__ */ jsx28(Spinner, { size })
25276
+ return /* @__PURE__ */ jsxs16("div", { ...domProps, className: (0, import_classnames27.default)(Loading_default.loading, className, Loading_default[position]), children: [
25277
+ icon === "dots" && /* @__PURE__ */ jsx29(Dots, {}),
25278
+ icon === "spinner" && /* @__PURE__ */ jsx29(Spinner, { size })
24861
25279
  ] });
24862
25280
  }
24863
25281
 
24864
25282
  // src/components/LoadingButton.tsx
24865
- import { jsx as jsx29, jsxs as jsxs17 } from "react/jsx-runtime";
25283
+ import { jsx as jsx30, jsxs as jsxs17 } from "react/jsx-runtime";
24866
25284
  function LoadingButton({ isLoading, children, ...props }) {
24867
25285
  return /* @__PURE__ */ jsxs17(Button, { ...props, children: [
24868
- isLoading && /* @__PURE__ */ jsx29(Icon, { size: "sm", children: /* @__PURE__ */ jsx29(Spinner, {}) }),
25286
+ isLoading && /* @__PURE__ */ jsx30(Icon, { size: "sm", children: /* @__PURE__ */ jsx30(Spinner, {}) }),
24869
25287
  children
24870
25288
  ] });
24871
25289
  }
24872
25290
 
24873
25291
  // src/components/Menu.tsx
24874
- var import_classnames28 = __toESM(require_classnames());
25292
+ var import_classnames29 = __toESM(require_classnames());
24875
25293
 
24876
25294
  // src/components/MenuItem.tsx
24877
- var import_classnames27 = __toESM(require_classnames());
25295
+ var import_classnames28 = __toESM(require_classnames());
24878
25296
 
24879
25297
  // src/components/MenuItem.module.css
24880
25298
  var MenuItem_default = {
@@ -24883,11 +25301,11 @@ var MenuItem_default = {
24883
25301
  };
24884
25302
 
24885
25303
  // src/components/MenuItem.tsx
24886
- import { jsx as jsx30, jsxs as jsxs18 } from "react/jsx-runtime";
25304
+ import { jsx as jsx31, jsxs as jsxs18 } from "react/jsx-runtime";
24887
25305
  function MenuItem2({ children, className, ...props }) {
24888
- return /* @__PURE__ */ jsxs18($3674c52c6b3c5bce$export$2ce376c2cc3355c8, { ...props, className: (0, import_classnames27.default)(MenuItem_default.item, className), children: [
25306
+ return /* @__PURE__ */ jsxs18($3674c52c6b3c5bce$export$2ce376c2cc3355c8, { ...props, className: (0, import_classnames28.default)(MenuItem_default.item, className), children: [
24889
25307
  children,
24890
- /* @__PURE__ */ jsx30("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx30(Icon, { className: MenuItem_default.check, children: /* @__PURE__ */ jsx30(Icons.Check, {}) }) })
25308
+ /* @__PURE__ */ jsx31("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx31(Icon, { className: MenuItem_default.check, children: /* @__PURE__ */ jsx31(Icons.Check, {}) }) })
24891
25309
  ] });
24892
25310
  }
24893
25311
 
@@ -24898,18 +25316,18 @@ var Menu_default = {
24898
25316
  };
24899
25317
 
24900
25318
  // src/components/Menu.tsx
24901
- import { jsx as jsx31 } from "react/jsx-runtime";
25319
+ import { jsx as jsx32 } from "react/jsx-runtime";
24902
25320
  function Menu({ items, className, children, ...props }) {
24903
- return /* @__PURE__ */ jsx31($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames28.default)(Menu_default.menu, className), children: children || items?.map((item, index) => {
25321
+ return /* @__PURE__ */ jsx32($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames29.default)(Menu_default.menu, className), children: children || items?.map((item, index) => {
24904
25322
  if (item === null) {
24905
- return /* @__PURE__ */ jsx31($431f98aba6844401$export$1ff3c3f08ae963c0, { className: Menu_default.separator }, index);
25323
+ return /* @__PURE__ */ jsx32($431f98aba6844401$export$1ff3c3f08ae963c0, { className: Menu_default.separator }, index);
24906
25324
  }
24907
- return /* @__PURE__ */ jsx31(MenuItem2, { id: item, children: item }, index);
25325
+ return /* @__PURE__ */ jsx32(MenuItem2, { id: item, children: item }, index);
24908
25326
  }) });
24909
25327
  }
24910
25328
 
24911
25329
  // src/components/Modal.tsx
24912
- var import_classnames29 = __toESM(require_classnames());
25330
+ var import_classnames30 = __toESM(require_classnames());
24913
25331
 
24914
25332
  // src/components/Modal.module.css
24915
25333
  var Modal_default = {
@@ -24920,12 +25338,12 @@ var Modal_default = {
24920
25338
  };
24921
25339
 
24922
25340
  // src/components/Modal.tsx
24923
- import { jsx as jsx32 } from "react/jsx-runtime";
25341
+ import { jsx as jsx33 } from "react/jsx-runtime";
24924
25342
  function Modal({ children, className, ...props }) {
24925
- return /* @__PURE__ */ jsx32($f3f84453ead64de5$export$8948f78d83984c69, { ...props, className: Modal_default.overlay, children: /* @__PURE__ */ jsx32(
25343
+ return /* @__PURE__ */ jsx33($f3f84453ead64de5$export$8948f78d83984c69, { ...props, className: Modal_default.overlay, children: /* @__PURE__ */ jsx33(
24926
25344
  $f3f84453ead64de5$export$2b77a92f1a5ad772,
24927
25345
  {
24928
- className: (0, import_classnames29.default)(Modal_default.modal, className),
25346
+ className: (0, import_classnames30.default)(Modal_default.modal, className),
24929
25347
  isDismissable: true,
24930
25348
  isKeyboardDismissDisabled: true,
24931
25349
  children
@@ -24944,19 +25362,19 @@ var PasswordField_default = {
24944
25362
  };
24945
25363
 
24946
25364
  // src/components/PasswordField.tsx
24947
- import { jsx as jsx33, jsxs as jsxs19 } from "react/jsx-runtime";
25365
+ import { jsx as jsx34, jsxs as jsxs19 } from "react/jsx-runtime";
24948
25366
  function PasswordField({ ...props }) {
24949
25367
  const [show, setShow] = useState7(false);
24950
25368
  const type = show ? "text" : "password";
24951
25369
  const handleShowPassword = () => setShow((state) => !state);
24952
25370
  return /* @__PURE__ */ jsxs19($bcdf0525bf22703d$export$2c73285ae9390cec, { ...props, className: PasswordField_default.field, children: [
24953
- /* @__PURE__ */ jsx33($3985021b0ad6602f$export$f5b8910cec6cf069, { type, className: PasswordField_default.input }),
24954
- /* @__PURE__ */ jsx33(Icon, { onClick: handleShowPassword, className: PasswordField_default.icon, children: show ? /* @__PURE__ */ jsx33(Icons.EyeSlash, {}) : /* @__PURE__ */ jsx33(Icons.Eye, {}) })
25371
+ /* @__PURE__ */ jsx34($3985021b0ad6602f$export$f5b8910cec6cf069, { type, className: PasswordField_default.input }),
25372
+ /* @__PURE__ */ jsx34(Icon, { onClick: handleShowPassword, className: PasswordField_default.icon, children: show ? /* @__PURE__ */ jsx34(Icons.EyeSlash, {}) : /* @__PURE__ */ jsx34(Icons.Eye, {}) })
24955
25373
  ] });
24956
25374
  }
24957
25375
 
24958
25376
  // src/components/Page.tsx
24959
- var import_classnames30 = __toESM(require_classnames());
25377
+ var import_classnames31 = __toESM(require_classnames());
24960
25378
 
24961
25379
  // src/components/Page.module.css
24962
25380
  var Page_default = {
@@ -24964,13 +25382,13 @@ var Page_default = {
24964
25382
  };
24965
25383
 
24966
25384
  // src/components/Page.tsx
24967
- import { jsx as jsx34 } from "react/jsx-runtime";
25385
+ import { jsx as jsx35 } from "react/jsx-runtime";
24968
25386
  function Page({ className, children, ...props }) {
24969
- return /* @__PURE__ */ jsx34("div", { ...props, className: (0, import_classnames30.default)(Page_default.page, className), children });
25387
+ return /* @__PURE__ */ jsx35("div", { ...props, className: (0, import_classnames31.default)(Page_default.page, className), children });
24970
25388
  }
24971
25389
 
24972
25390
  // src/components/ProgressBar.tsx
24973
- var import_classnames31 = __toESM(require_classnames());
25391
+ var import_classnames32 = __toESM(require_classnames());
24974
25392
 
24975
25393
  // src/components/ProgressBar.module.css
24976
25394
  var ProgressBar_default = {
@@ -24981,18 +25399,18 @@ var ProgressBar_default = {
24981
25399
  };
24982
25400
 
24983
25401
  // src/components/ProgressBar.tsx
24984
- import { Fragment as Fragment4, jsx as jsx35, jsxs as jsxs20 } from "react/jsx-runtime";
25402
+ import { Fragment as Fragment4, jsx as jsx36, jsxs as jsxs20 } from "react/jsx-runtime";
24985
25403
  function ProgressBar({ className, showValue, ...props }) {
24986
- return /* @__PURE__ */ jsx35($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames31.default)(ProgressBar_default.progressbar, className), children: ({ percentage = 0, valueText }) => {
25404
+ return /* @__PURE__ */ jsx36($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames32.default)(ProgressBar_default.progressbar, className), children: ({ percentage = 0, valueText }) => {
24987
25405
  return /* @__PURE__ */ jsxs20(Fragment4, { children: [
24988
- /* @__PURE__ */ jsx35("div", { className: ProgressBar_default.track, children: /* @__PURE__ */ jsx35("div", { className: ProgressBar_default.fill, style: { width: `${percentage}%` } }) }),
24989
- showValue && /* @__PURE__ */ jsx35("div", { className: ProgressBar_default.value, children: valueText })
25406
+ /* @__PURE__ */ jsx36("div", { className: ProgressBar_default.track, children: /* @__PURE__ */ jsx36("div", { className: ProgressBar_default.fill, style: { width: `${percentage}%` } }) }),
25407
+ showValue && /* @__PURE__ */ jsx36("div", { className: ProgressBar_default.value, children: valueText })
24990
25408
  ] });
24991
25409
  } });
24992
25410
  }
24993
25411
 
24994
25412
  // src/components/ProgressCircle.tsx
24995
- var import_classnames32 = __toESM(require_classnames());
25413
+ var import_classnames33 = __toESM(require_classnames());
24996
25414
 
24997
25415
  // src/components/ProgressCircle.module.css
24998
25416
  var ProgressCircle_default = {
@@ -25003,16 +25421,16 @@ var ProgressCircle_default = {
25003
25421
  };
25004
25422
 
25005
25423
  // src/components/ProgressCircle.tsx
25006
- import { Fragment as Fragment5, jsx as jsx36, jsxs as jsxs21 } from "react/jsx-runtime";
25424
+ import { Fragment as Fragment5, jsx as jsx37, jsxs as jsxs21 } from "react/jsx-runtime";
25007
25425
  function ProgressCircle({ className, showValue, ...props }) {
25008
- return /* @__PURE__ */ jsx36($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames32.default)(ProgressCircle_default.progresscircle, className), children: ({ percentage = 0, valueText }) => {
25426
+ return /* @__PURE__ */ jsx37($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames33.default)(ProgressCircle_default.progresscircle, className), children: ({ percentage = 0, valueText }) => {
25009
25427
  const radius = 45;
25010
25428
  const circumference = radius * 2 * Math.PI;
25011
25429
  const offset = circumference - percentage / 100 * circumference;
25012
25430
  return /* @__PURE__ */ jsxs21(Fragment5, { children: [
25013
25431
  /* @__PURE__ */ jsxs21("svg", { viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg", children: [
25014
- /* @__PURE__ */ jsx36("circle", { className: ProgressCircle_default.track, cx: "50", cy: "50", r: "45" }),
25015
- /* @__PURE__ */ jsx36(
25432
+ /* @__PURE__ */ jsx37("circle", { className: ProgressCircle_default.track, cx: "50", cy: "50", r: "45" }),
25433
+ /* @__PURE__ */ jsx37(
25016
25434
  "circle",
25017
25435
  {
25018
25436
  className: ProgressCircle_default.fill,
@@ -25024,13 +25442,13 @@ function ProgressCircle({ className, showValue, ...props }) {
25024
25442
  }
25025
25443
  )
25026
25444
  ] }),
25027
- showValue && /* @__PURE__ */ jsx36("label", { className: ProgressCircle_default.value, children: valueText })
25445
+ showValue && /* @__PURE__ */ jsx37("label", { className: ProgressCircle_default.value, children: valueText })
25028
25446
  ] });
25029
25447
  } });
25030
25448
  }
25031
25449
 
25032
25450
  // src/components/RadioGroup.tsx
25033
- var import_classnames33 = __toESM(require_classnames());
25451
+ var import_classnames34 = __toESM(require_classnames());
25034
25452
 
25035
25453
  // src/components/RadioGroup.module.css
25036
25454
  var RadioGroup_default = {
@@ -25039,17 +25457,17 @@ var RadioGroup_default = {
25039
25457
  };
25040
25458
 
25041
25459
  // src/components/RadioGroup.tsx
25042
- import { jsx as jsx37 } from "react/jsx-runtime";
25460
+ import { jsx as jsx38 } from "react/jsx-runtime";
25043
25461
  function RadioGroup({ children, className, ...props }) {
25044
- return /* @__PURE__ */ jsx37($b6c3ddc6086f204d$export$a98f0dcb43a68a25, { ...props, className: (0, import_classnames33.default)(RadioGroup_default.radiogroup, className), children });
25462
+ return /* @__PURE__ */ jsx38($b6c3ddc6086f204d$export$a98f0dcb43a68a25, { ...props, className: (0, import_classnames34.default)(RadioGroup_default.radiogroup, className), children });
25045
25463
  }
25046
25464
  function Radio({ children, className, ...props }) {
25047
- return /* @__PURE__ */ jsx37($b6c3ddc6086f204d$export$d7b12c4107be0d61, { ...props, className: (0, import_classnames33.default)(RadioGroup_default.radio, className), children });
25465
+ return /* @__PURE__ */ jsx38($b6c3ddc6086f204d$export$d7b12c4107be0d61, { ...props, className: (0, import_classnames34.default)(RadioGroup_default.radio, className), children });
25048
25466
  }
25049
25467
 
25050
25468
  // src/components/SearchField.tsx
25051
25469
  import { useState as useState8, useEffect as useEffect2 } from "react";
25052
- var import_classnames34 = __toESM(require_classnames());
25470
+ var import_classnames35 = __toESM(require_classnames());
25053
25471
 
25054
25472
  // src/components/SearchField.module.css
25055
25473
  var SearchField_default = {
@@ -25058,7 +25476,7 @@ var SearchField_default = {
25058
25476
  };
25059
25477
 
25060
25478
  // src/components/SearchField.tsx
25061
- import { Fragment as Fragment6, jsx as jsx38, jsxs as jsxs22 } from "react/jsx-runtime";
25479
+ import { Fragment as Fragment6, jsx as jsx39, jsxs as jsxs22 } from "react/jsx-runtime";
25062
25480
  function SearchField({ value, delay = 0, onSearch, className, ...props }) {
25063
25481
  const [search, setSearch] = useState8(value ?? "");
25064
25482
  const searchValue = useDebounce(search, delay);
@@ -25078,17 +25496,17 @@ function SearchField({ value, delay = 0, onSearch, className, ...props }) {
25078
25496
  onSearch?.(searchValue);
25079
25497
  }
25080
25498
  }, [searchValue, delay, onSearch]);
25081
- return /* @__PURE__ */ jsx38($440f4836bcb56932$export$b94867ecbd698f21, { ...props, className: (0, import_classnames34.default)(Field_default.field, className), children: ({ state }) => {
25499
+ return /* @__PURE__ */ jsx39($440f4836bcb56932$export$b94867ecbd698f21, { ...props, className: (0, import_classnames35.default)(Field_default.field, className), children: ({ state }) => {
25082
25500
  return /* @__PURE__ */ jsxs22(Fragment6, { children: [
25083
- /* @__PURE__ */ jsx38(Icons.MagnifyingGlass, { className: (0, import_classnames34.default)(Field_default.icon, SearchField_default.icon) }),
25084
- /* @__PURE__ */ jsx38($3985021b0ad6602f$export$f5b8910cec6cf069, { className: Field_default.input, onChange: handleChange }),
25085
- state.value && /* @__PURE__ */ jsx38($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: SearchField_default.button, onPress: resetSearch, children: /* @__PURE__ */ jsx38(Icon, { children: /* @__PURE__ */ jsx38(Icons.Close, {}) }) })
25501
+ /* @__PURE__ */ jsx39(Icons.MagnifyingGlass, { className: (0, import_classnames35.default)(Field_default.icon, SearchField_default.icon) }),
25502
+ /* @__PURE__ */ jsx39($3985021b0ad6602f$export$f5b8910cec6cf069, { className: Field_default.input, onChange: handleChange }),
25503
+ state.value && /* @__PURE__ */ jsx39($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: SearchField_default.button, onPress: resetSearch, children: /* @__PURE__ */ jsx39(Icon, { children: /* @__PURE__ */ jsx39(Icons.Close, {}) }) })
25086
25504
  ] });
25087
25505
  } });
25088
25506
  }
25089
25507
 
25090
25508
  // src/components/Select.tsx
25091
- var import_classnames35 = __toESM(require_classnames());
25509
+ var import_classnames36 = __toESM(require_classnames());
25092
25510
 
25093
25511
  // src/components/Select.module.css
25094
25512
  var Select_default = {
@@ -25099,19 +25517,19 @@ var Select_default = {
25099
25517
  };
25100
25518
 
25101
25519
  // src/components/Select.tsx
25102
- import { jsx as jsx39, jsxs as jsxs23 } from "react/jsx-runtime";
25520
+ import { jsx as jsx40, jsxs as jsxs23 } from "react/jsx-runtime";
25103
25521
  function Select({ children, items = [], value, className, ...props }) {
25104
- return /* @__PURE__ */ jsxs23($82d7e5349645de74$export$ef9b1a59e592288f, { ...props, className: (0, import_classnames35.default)(Select_default.select, className), children: [
25522
+ return /* @__PURE__ */ jsxs23($82d7e5349645de74$export$ef9b1a59e592288f, { ...props, className: (0, import_classnames36.default)(Select_default.select, className), children: [
25105
25523
  /* @__PURE__ */ jsxs23($d2b4bc8c273e7be6$export$353f5b6fc5456de1, { className: Select_default.button, children: [
25106
- /* @__PURE__ */ jsx39($82d7e5349645de74$export$e288731fd71264f0, {}),
25107
- /* @__PURE__ */ jsx39("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx39(Icon, { rotate: 90, size: "xs", className: Select_default.icon, children: /* @__PURE__ */ jsx39(Icons.Chevron, {}) }) })
25524
+ /* @__PURE__ */ jsx40($82d7e5349645de74$export$e288731fd71264f0, {}),
25525
+ /* @__PURE__ */ jsx40("span", { "aria-hidden": "true", children: /* @__PURE__ */ jsx40(Icon, { rotate: 90, size: "xs", className: Select_default.icon, children: /* @__PURE__ */ jsx40(Icons.Chevron, {}) }) })
25108
25526
  ] }),
25109
- /* @__PURE__ */ jsx39(Popover, { children: /* @__PURE__ */ jsx39(List, { items, className: Select_default.list, children: children || items.map((item) => /* @__PURE__ */ jsx39(ListItem_default2, { id: item, className: Select_default.item, children: item }, item)) }) })
25527
+ /* @__PURE__ */ jsx40(Popover, { children: /* @__PURE__ */ jsx40(List, { items, className: Select_default.list, children: children || items.map((item) => /* @__PURE__ */ jsx40(ListItem, { id: item, className: Select_default.item, children: item }, item)) }) })
25110
25528
  ] });
25111
25529
  }
25112
25530
 
25113
25531
  // src/components/Slider.tsx
25114
- var import_classnames36 = __toESM(require_classnames());
25532
+ var import_classnames37 = __toESM(require_classnames());
25115
25533
 
25116
25534
  // src/components/Slider.module.css
25117
25535
  var Slider_default = {
@@ -25124,15 +25542,15 @@ var Slider_default = {
25124
25542
  };
25125
25543
 
25126
25544
  // src/components/Slider.tsx
25127
- import { Fragment as Fragment7, jsx as jsx40, jsxs as jsxs24 } from "react/jsx-runtime";
25545
+ import { Fragment as Fragment7, jsx as jsx41, jsxs as jsxs24 } from "react/jsx-runtime";
25128
25546
  function Slider({ className, showValue = true, label, ...props }) {
25129
- return /* @__PURE__ */ jsxs24($6f909507e6374d18$export$472062a354075cee, { ...props, className: (0, import_classnames36.default)(Slider_default.slider, className), children: [
25130
- label && /* @__PURE__ */ jsx40(Label, { className: Slider_default.label, children: label }),
25131
- showValue && /* @__PURE__ */ jsx40($6f909507e6374d18$export$a590f758a961cb5b, { className: Slider_default.output }),
25132
- /* @__PURE__ */ jsx40($6f909507e6374d18$export$105594979f116971, { className: Slider_default.track, children: ({ state }) => {
25547
+ return /* @__PURE__ */ jsxs24($6f909507e6374d18$export$472062a354075cee, { ...props, className: (0, import_classnames37.default)(Slider_default.slider, className), children: [
25548
+ label && /* @__PURE__ */ jsx41(Label, { className: Slider_default.label, children: label }),
25549
+ showValue && /* @__PURE__ */ jsx41($6f909507e6374d18$export$a590f758a961cb5b, { className: Slider_default.output }),
25550
+ /* @__PURE__ */ jsx41($6f909507e6374d18$export$105594979f116971, { className: Slider_default.track, children: ({ state }) => {
25133
25551
  const isHorizontal = state.orientation === "horizontal";
25134
25552
  return /* @__PURE__ */ jsxs24(Fragment7, { children: [
25135
- /* @__PURE__ */ jsx40(
25553
+ /* @__PURE__ */ jsx41(
25136
25554
  "div",
25137
25555
  {
25138
25556
  className: Slider_default.fill,
@@ -25141,14 +25559,14 @@ function Slider({ className, showValue = true, label, ...props }) {
25141
25559
  }
25142
25560
  }
25143
25561
  ),
25144
- /* @__PURE__ */ jsx40($6f909507e6374d18$export$2c1b491743890dec, { className: Slider_default.thumb })
25562
+ /* @__PURE__ */ jsx41($6f909507e6374d18$export$2c1b491743890dec, { className: Slider_default.thumb })
25145
25563
  ] });
25146
25564
  } })
25147
25565
  ] });
25148
25566
  }
25149
25567
 
25150
25568
  // src/components/StatusLight.tsx
25151
- var import_classnames37 = __toESM(require_classnames());
25569
+ var import_classnames38 = __toESM(require_classnames());
25152
25570
 
25153
25571
  // src/components/StatusLight.module.css
25154
25572
  var StatusLight_default = {
@@ -25163,14 +25581,14 @@ var StatusLight_default = {
25163
25581
  };
25164
25582
 
25165
25583
  // src/components/StatusLight.tsx
25166
- import { jsx as jsx41, jsxs as jsxs25 } from "react/jsx-runtime";
25584
+ import { jsx as jsx42, jsxs as jsxs25 } from "react/jsx-runtime";
25167
25585
  function StatusLight(props) {
25168
25586
  const { color, variant = "inactive", children, className, ...domProps } = props;
25169
- return /* @__PURE__ */ jsxs25("div", { ...domProps, className: (0, import_classnames37.default)(StatusLight_default.statuslight, className), children: [
25170
- /* @__PURE__ */ jsx41("div", { className: StatusLight_default.bg, children: /* @__PURE__ */ jsx41(
25587
+ return /* @__PURE__ */ jsxs25("div", { ...domProps, className: (0, import_classnames38.default)(StatusLight_default.statuslight, className), children: [
25588
+ /* @__PURE__ */ jsx42("div", { className: StatusLight_default.bg, children: /* @__PURE__ */ jsx42(
25171
25589
  "div",
25172
25590
  {
25173
- className: (0, import_classnames37.default)(StatusLight_default.status, StatusLight_default[variant]),
25591
+ className: (0, import_classnames38.default)(StatusLight_default.status, StatusLight_default[variant]),
25174
25592
  style: { backgroundColor: color }
25175
25593
  }
25176
25594
  ) }),
@@ -25179,7 +25597,7 @@ function StatusLight(props) {
25179
25597
  }
25180
25598
 
25181
25599
  // src/components/Switch.tsx
25182
- var import_classnames38 = __toESM(require_classnames());
25600
+ var import_classnames39 = __toESM(require_classnames());
25183
25601
 
25184
25602
  // src/components/Switch.module.css
25185
25603
  var Switch_default = {
@@ -25189,10 +25607,10 @@ var Switch_default = {
25189
25607
  };
25190
25608
 
25191
25609
  // src/components/Switch.tsx
25192
- import { jsx as jsx42, jsxs as jsxs26 } from "react/jsx-runtime";
25610
+ import { jsx as jsx43, jsxs as jsxs26 } from "react/jsx-runtime";
25193
25611
  function Switch({ children, className, ...props }) {
25194
- return /* @__PURE__ */ jsxs26($8e59e948500a8fe1$export$b5d5cf8927ab7262, { ...props, className: (0, import_classnames38.default)(Switch_default.switch, className), children: [
25195
- /* @__PURE__ */ jsx42("div", { className: Switch_default.track, children: /* @__PURE__ */ jsx42("div", { className: Switch_default.knob }) }),
25612
+ return /* @__PURE__ */ jsxs26($8e59e948500a8fe1$export$b5d5cf8927ab7262, { ...props, className: (0, import_classnames39.default)(Switch_default.switch, className), children: [
25613
+ /* @__PURE__ */ jsx43("div", { className: Switch_default.track, children: /* @__PURE__ */ jsx43("div", { className: Switch_default.knob }) }),
25196
25614
  children
25197
25615
  ] });
25198
25616
  }
@@ -25206,22 +25624,22 @@ var Tabs_default = {
25206
25624
  };
25207
25625
 
25208
25626
  // src/components/Tabs.tsx
25209
- import { jsx as jsx43 } from "react/jsx-runtime";
25627
+ import { jsx as jsx44 } from "react/jsx-runtime";
25210
25628
  function Tabs({ children, ...props }) {
25211
- return /* @__PURE__ */ jsx43($5e8ad37a45e1c704$export$b2539bed5023c21c, { ...props, className: Tabs_default.tabs, children });
25629
+ return /* @__PURE__ */ jsx44($5e8ad37a45e1c704$export$b2539bed5023c21c, { ...props, className: Tabs_default.tabs, children });
25212
25630
  }
25213
25631
  function TabList({ children, ...props }) {
25214
- return /* @__PURE__ */ jsx43($5e8ad37a45e1c704$export$e51a686c67fdaa2d, { ...props, className: Tabs_default.list, children });
25632
+ return /* @__PURE__ */ jsx44($5e8ad37a45e1c704$export$e51a686c67fdaa2d, { ...props, className: Tabs_default.list, children });
25215
25633
  }
25216
25634
  function Tab({ children, ...props }) {
25217
- return /* @__PURE__ */ jsx43($5e8ad37a45e1c704$export$3e41faf802a29e71, { ...props, className: Tabs_default.tab, children });
25635
+ return /* @__PURE__ */ jsx44($5e8ad37a45e1c704$export$3e41faf802a29e71, { ...props, className: Tabs_default.tab, children });
25218
25636
  }
25219
25637
  function TabPanel({ children, ...props }) {
25220
- return /* @__PURE__ */ jsx43($5e8ad37a45e1c704$export$3d96ec278d3efce4, { ...props, className: Tabs_default.panel, children });
25638
+ return /* @__PURE__ */ jsx44($5e8ad37a45e1c704$export$3d96ec278d3efce4, { ...props, className: Tabs_default.panel, children });
25221
25639
  }
25222
25640
 
25223
25641
  // src/components/TextOverflow.tsx
25224
- var import_classnames39 = __toESM(require_classnames());
25642
+ var import_classnames40 = __toESM(require_classnames());
25225
25643
 
25226
25644
  // src/components/TextOverflow.module.css
25227
25645
  var TextOverflow_default = {
@@ -25230,14 +25648,14 @@ var TextOverflow_default = {
25230
25648
  };
25231
25649
 
25232
25650
  // src/components/TextOverflow.tsx
25233
- import { jsx as jsx44 } from "react/jsx-runtime";
25651
+ import { jsx as jsx45 } from "react/jsx-runtime";
25234
25652
  function TextOverflow({ asChild, children, className, ...props }) {
25235
25653
  const Component = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : "div";
25236
- return /* @__PURE__ */ jsx44("div", { ...props, className: (0, import_classnames39.default)(TextOverflow_default.wrapper, className), children: /* @__PURE__ */ jsx44(Component, { className: TextOverflow_default.overflow, children }) });
25654
+ return /* @__PURE__ */ jsx45("div", { ...props, className: (0, import_classnames40.default)(TextOverflow_default.wrapper, className), children: /* @__PURE__ */ jsx45(Component, { className: TextOverflow_default.overflow, children }) });
25237
25655
  }
25238
25656
 
25239
25657
  // src/components/TextArea.tsx
25240
- var import_classnames40 = __toESM(require_classnames());
25658
+ var import_classnames41 = __toESM(require_classnames());
25241
25659
 
25242
25660
  // src/components/TextArea.module.css
25243
25661
  var TextArea_default = {
@@ -25247,13 +25665,13 @@ var TextArea_default = {
25247
25665
  };
25248
25666
 
25249
25667
  // src/components/TextArea.tsx
25250
- import { jsx as jsx45 } from "react/jsx-runtime";
25668
+ import { jsx as jsx46 } from "react/jsx-runtime";
25251
25669
  function TextArea({ resize, className, ...props }) {
25252
- return /* @__PURE__ */ jsx45(TextField, { ...props, className: (0, import_classnames40.default)(resize && TextArea_default[resize]), asTextArea: true });
25670
+ return /* @__PURE__ */ jsx46(TextField, { ...props, className: (0, import_classnames41.default)(resize && TextArea_default[resize]), asTextArea: true });
25253
25671
  }
25254
25672
 
25255
25673
  // src/components/Toast.tsx
25256
- var import_classnames41 = __toESM(require_classnames());
25674
+ var import_classnames42 = __toESM(require_classnames());
25257
25675
  import { createElement as createElement3 } from "react";
25258
25676
 
25259
25677
  // node_modules/@radix-ui/react-toast/dist/index.mjs
@@ -25291,7 +25709,7 @@ import React7 from "react";
25291
25709
 
25292
25710
  // node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-context/dist/index.mjs
25293
25711
  import * as React5 from "react";
25294
- import { jsx as jsx46 } from "react/jsx-runtime";
25712
+ import { jsx as jsx47 } from "react/jsx-runtime";
25295
25713
  function createContextScope(scopeName, createContextScopeDeps = []) {
25296
25714
  let defaultContexts = [];
25297
25715
  function createContext3(rootComponentName, defaultContext) {
@@ -25302,7 +25720,7 @@ function createContextScope(scopeName, createContextScopeDeps = []) {
25302
25720
  const { scope, children, ...context } = props;
25303
25721
  const Context = scope?.[scopeName][index] || BaseContext;
25304
25722
  const value = React5.useMemo(() => context, Object.values(context));
25305
- return /* @__PURE__ */ jsx46(Context.Provider, { value, children });
25723
+ return /* @__PURE__ */ jsx47(Context.Provider, { value, children });
25306
25724
  }
25307
25725
  function useContext22(consumerName, scope) {
25308
25726
  const Context = scope?.[scopeName][index] || BaseContext;
@@ -25352,7 +25770,7 @@ function composeContextScopes(...scopes) {
25352
25770
 
25353
25771
  // node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-slot/dist/index.mjs
25354
25772
  import * as React6 from "react";
25355
- import { Fragment as Fragment8, jsx as jsx47 } from "react/jsx-runtime";
25773
+ import { Fragment as Fragment8, jsx as jsx48 } from "react/jsx-runtime";
25356
25774
  var Slot = React6.forwardRef((props, forwardedRef) => {
25357
25775
  const { children, ...slotProps } = props;
25358
25776
  const childrenArray = React6.Children.toArray(children);
@@ -25367,9 +25785,9 @@ var Slot = React6.forwardRef((props, forwardedRef) => {
25367
25785
  return child;
25368
25786
  }
25369
25787
  });
25370
- return /* @__PURE__ */ jsx47(SlotClone, { ...slotProps, ref: forwardedRef, children: React6.isValidElement(newElement) ? React6.cloneElement(newElement, void 0, newChildren) : null });
25788
+ return /* @__PURE__ */ jsx48(SlotClone, { ...slotProps, ref: forwardedRef, children: React6.isValidElement(newElement) ? React6.cloneElement(newElement, void 0, newChildren) : null });
25371
25789
  }
25372
- return /* @__PURE__ */ jsx47(SlotClone, { ...slotProps, ref: forwardedRef, children });
25790
+ return /* @__PURE__ */ jsx48(SlotClone, { ...slotProps, ref: forwardedRef, children });
25373
25791
  });
25374
25792
  Slot.displayName = "Slot";
25375
25793
  var SlotClone = React6.forwardRef((props, forwardedRef) => {
@@ -25386,7 +25804,7 @@ var SlotClone = React6.forwardRef((props, forwardedRef) => {
25386
25804
  });
25387
25805
  SlotClone.displayName = "SlotClone";
25388
25806
  var Slottable = ({ children }) => {
25389
- return /* @__PURE__ */ jsx47(Fragment8, { children });
25807
+ return /* @__PURE__ */ jsx48(Fragment8, { children });
25390
25808
  };
25391
25809
  function isSlottable(child) {
25392
25810
  return React6.isValidElement(child) && child.type === Slottable;
@@ -25429,7 +25847,7 @@ function getElementRef(element) {
25429
25847
  }
25430
25848
 
25431
25849
  // node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-collection/dist/index.mjs
25432
- import { jsx as jsx48 } from "react/jsx-runtime";
25850
+ import { jsx as jsx49 } from "react/jsx-runtime";
25433
25851
  function createCollection(name) {
25434
25852
  const PROVIDER_NAME2 = name + "CollectionProvider";
25435
25853
  const [createCollectionContext, createCollectionScope2] = createContextScope(PROVIDER_NAME2);
@@ -25441,7 +25859,7 @@ function createCollection(name) {
25441
25859
  const { scope, children } = props;
25442
25860
  const ref = React7.useRef(null);
25443
25861
  const itemMap = React7.useRef(/* @__PURE__ */ new Map()).current;
25444
- return /* @__PURE__ */ jsx48(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
25862
+ return /* @__PURE__ */ jsx49(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });
25445
25863
  };
25446
25864
  CollectionProvider.displayName = PROVIDER_NAME2;
25447
25865
  const COLLECTION_SLOT_NAME = name + "CollectionSlot";
@@ -25450,7 +25868,7 @@ function createCollection(name) {
25450
25868
  const { scope, children } = props;
25451
25869
  const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);
25452
25870
  const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);
25453
- return /* @__PURE__ */ jsx48(Slot, { ref: composedRefs, children });
25871
+ return /* @__PURE__ */ jsx49(Slot, { ref: composedRefs, children });
25454
25872
  }
25455
25873
  );
25456
25874
  CollectionSlot.displayName = COLLECTION_SLOT_NAME;
@@ -25466,7 +25884,7 @@ function createCollection(name) {
25466
25884
  context.itemMap.set(ref, { ref, ...itemData });
25467
25885
  return () => void context.itemMap.delete(ref);
25468
25886
  });
25469
- return /* @__PURE__ */ jsx48(Slot, { ...{ [ITEM_DATA_ATTR]: "" }, ref: composedRefs, children });
25887
+ return /* @__PURE__ */ jsx49(Slot, { ...{ [ITEM_DATA_ATTR]: "" }, ref: composedRefs, children });
25470
25888
  }
25471
25889
  );
25472
25890
  CollectionItemSlot.displayName = ITEM_SLOT_NAME;
@@ -25497,7 +25915,7 @@ import * as React11 from "react";
25497
25915
  // node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-primitive/dist/index.mjs
25498
25916
  import * as React8 from "react";
25499
25917
  import * as ReactDOM from "react-dom";
25500
- import { jsx as jsx49 } from "react/jsx-runtime";
25918
+ import { jsx as jsx50 } from "react/jsx-runtime";
25501
25919
  var NODES = [
25502
25920
  "a",
25503
25921
  "button",
@@ -25523,7 +25941,7 @@ var Primitive = NODES.reduce((primitive, node) => {
25523
25941
  if (typeof window !== "undefined") {
25524
25942
  window[Symbol.for("radix-ui")] = true;
25525
25943
  }
25526
- return /* @__PURE__ */ jsx49(Comp, { ...primitiveProps, ref: forwardedRef });
25944
+ return /* @__PURE__ */ jsx50(Comp, { ...primitiveProps, ref: forwardedRef });
25527
25945
  });
25528
25946
  Node2.displayName = `Primitive.${node}`;
25529
25947
  return { ...primitive, [node]: Node2 };
@@ -25558,7 +25976,7 @@ function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.docum
25558
25976
  }
25559
25977
 
25560
25978
  // node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
25561
- import { jsx as jsx50 } from "react/jsx-runtime";
25979
+ import { jsx as jsx51 } from "react/jsx-runtime";
25562
25980
  var DISMISSABLE_LAYER_NAME = "DismissableLayer";
25563
25981
  var CONTEXT_UPDATE = "dismissableLayer.update";
25564
25982
  var POINTER_DOWN_OUTSIDE = "dismissableLayer.pointerDownOutside";
@@ -25646,7 +26064,7 @@ var DismissableLayer = React11.forwardRef(
25646
26064
  document.addEventListener(CONTEXT_UPDATE, handleUpdate);
25647
26065
  return () => document.removeEventListener(CONTEXT_UPDATE, handleUpdate);
25648
26066
  }, []);
25649
- return /* @__PURE__ */ jsx50(
26067
+ return /* @__PURE__ */ jsx51(
25650
26068
  Primitive.div,
25651
26069
  {
25652
26070
  ...layerProps,
@@ -25680,7 +26098,7 @@ var DismissableLayerBranch = React11.forwardRef((props, forwardedRef) => {
25680
26098
  };
25681
26099
  }
25682
26100
  }, [context.branches]);
25683
- return /* @__PURE__ */ jsx50(Primitive.div, { ...props, ref: composedRefs });
26101
+ return /* @__PURE__ */ jsx51(Primitive.div, { ...props, ref: composedRefs });
25684
26102
  });
25685
26103
  DismissableLayerBranch.displayName = BRANCH_NAME;
25686
26104
  function usePointerDownOutside(onPointerDownOutside, ownerDocument = globalThis?.document) {
@@ -25774,14 +26192,14 @@ var useLayoutEffect2 = Boolean(globalThis?.document) ? React12.useLayoutEffect :
25774
26192
  };
25775
26193
 
25776
26194
  // node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-portal/dist/index.mjs
25777
- import { jsx as jsx51 } from "react/jsx-runtime";
26195
+ import { jsx as jsx52 } from "react/jsx-runtime";
25778
26196
  var PORTAL_NAME = "Portal";
25779
26197
  var Portal = React13.forwardRef((props, forwardedRef) => {
25780
26198
  const { container: containerProp, ...portalProps } = props;
25781
26199
  const [mounted, setMounted] = React13.useState(false);
25782
26200
  useLayoutEffect2(() => setMounted(true), []);
25783
26201
  const container = containerProp || mounted && globalThis?.document?.body;
25784
- return container ? ReactDOM2.createPortal(/* @__PURE__ */ jsx51(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
26202
+ return container ? ReactDOM2.createPortal(/* @__PURE__ */ jsx52(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;
25785
26203
  });
25786
26204
  Portal.displayName = PORTAL_NAME;
25787
26205
 
@@ -25945,11 +26363,11 @@ function useUncontrolledState({
25945
26363
 
25946
26364
  // node_modules/@radix-ui/react-toast/node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
25947
26365
  import * as React16 from "react";
25948
- import { jsx as jsx52 } from "react/jsx-runtime";
26366
+ import { jsx as jsx53 } from "react/jsx-runtime";
25949
26367
  var NAME = "VisuallyHidden";
25950
26368
  var VisuallyHidden = React16.forwardRef(
25951
26369
  (props, forwardedRef) => {
25952
- return /* @__PURE__ */ jsx52(
26370
+ return /* @__PURE__ */ jsx53(
25953
26371
  Primitive.span,
25954
26372
  {
25955
26373
  ...props,
@@ -25975,7 +26393,7 @@ var VisuallyHidden = React16.forwardRef(
25975
26393
  VisuallyHidden.displayName = NAME;
25976
26394
 
25977
26395
  // node_modules/@radix-ui/react-toast/dist/index.mjs
25978
- import { Fragment as Fragment9, jsx as jsx53, jsxs as jsxs27 } from "react/jsx-runtime";
26396
+ import { Fragment as Fragment9, jsx as jsx54, jsxs as jsxs27 } from "react/jsx-runtime";
25979
26397
  var PROVIDER_NAME = "ToastProvider";
25980
26398
  var [Collection, useCollection, createCollectionScope] = createCollection("Toast");
25981
26399
  var [createToastContext, createToastScope] = createContextScope("Toast", [createCollectionScope]);
@@ -25998,7 +26416,7 @@ var ToastProvider = (props) => {
25998
26416
  `Invalid prop \`label\` supplied to \`${PROVIDER_NAME}\`. Expected non-empty \`string\`.`
25999
26417
  );
26000
26418
  }
26001
- return /* @__PURE__ */ jsx53(Collection.Provider, { scope: __scopeToast, children: /* @__PURE__ */ jsx53(
26419
+ return /* @__PURE__ */ jsx54(Collection.Provider, { scope: __scopeToast, children: /* @__PURE__ */ jsx54(
26002
26420
  ToastProviderProvider,
26003
26421
  {
26004
26422
  scope: __scopeToast,
@@ -26138,7 +26556,7 @@ var ToastViewport = React17.forwardRef(
26138
26556
  tabIndex: -1,
26139
26557
  style: { pointerEvents: hasToasts ? void 0 : "none" },
26140
26558
  children: [
26141
- hasToasts && /* @__PURE__ */ jsx53(
26559
+ hasToasts && /* @__PURE__ */ jsx54(
26142
26560
  FocusProxy,
26143
26561
  {
26144
26562
  ref: headFocusProxyRef,
@@ -26150,8 +26568,8 @@ var ToastViewport = React17.forwardRef(
26150
26568
  }
26151
26569
  }
26152
26570
  ),
26153
- /* @__PURE__ */ jsx53(Collection.Slot, { scope: __scopeToast, children: /* @__PURE__ */ jsx53(Primitive.ol, { tabIndex: -1, ...viewportProps, ref: composedRefs }) }),
26154
- hasToasts && /* @__PURE__ */ jsx53(
26571
+ /* @__PURE__ */ jsx54(Collection.Slot, { scope: __scopeToast, children: /* @__PURE__ */ jsx54(Primitive.ol, { tabIndex: -1, ...viewportProps, ref: composedRefs }) }),
26572
+ hasToasts && /* @__PURE__ */ jsx54(
26155
26573
  FocusProxy,
26156
26574
  {
26157
26575
  ref: tailFocusProxyRef,
@@ -26174,7 +26592,7 @@ var FocusProxy = React17.forwardRef(
26174
26592
  (props, forwardedRef) => {
26175
26593
  const { __scopeToast, onFocusFromOutsideViewport, ...proxyProps } = props;
26176
26594
  const context = useToastProviderContext(FOCUS_PROXY_NAME, __scopeToast);
26177
- return /* @__PURE__ */ jsx53(
26595
+ return /* @__PURE__ */ jsx54(
26178
26596
  VisuallyHidden,
26179
26597
  {
26180
26598
  "aria-hidden": true,
@@ -26205,7 +26623,7 @@ var Toast = React17.forwardRef(
26205
26623
  defaultProp: defaultOpen,
26206
26624
  onChange: onOpenChange
26207
26625
  });
26208
- return /* @__PURE__ */ jsx53(Presence, { present: forceMount || open, children: /* @__PURE__ */ jsx53(
26626
+ return /* @__PURE__ */ jsx54(Presence, { present: forceMount || open, children: /* @__PURE__ */ jsx54(
26209
26627
  ToastImpl,
26210
26628
  {
26211
26629
  open,
@@ -26322,7 +26740,7 @@ var ToastImpl = React17.forwardRef(
26322
26740
  }, [node]);
26323
26741
  if (!context.viewport) return null;
26324
26742
  return /* @__PURE__ */ jsxs27(Fragment9, { children: [
26325
- announceTextContent && /* @__PURE__ */ jsx53(
26743
+ announceTextContent && /* @__PURE__ */ jsx54(
26326
26744
  ToastAnnounce,
26327
26745
  {
26328
26746
  __scopeToast,
@@ -26332,8 +26750,8 @@ var ToastImpl = React17.forwardRef(
26332
26750
  children: announceTextContent
26333
26751
  }
26334
26752
  ),
26335
- /* @__PURE__ */ jsx53(ToastInteractiveProvider, { scope: __scopeToast, onClose: handleClose, children: ReactDOM4.createPortal(
26336
- /* @__PURE__ */ jsx53(Collection.ItemSlot, { scope: __scopeToast, children: /* @__PURE__ */ jsx53(
26753
+ /* @__PURE__ */ jsx54(ToastInteractiveProvider, { scope: __scopeToast, onClose: handleClose, children: ReactDOM4.createPortal(
26754
+ /* @__PURE__ */ jsx54(Collection.ItemSlot, { scope: __scopeToast, children: /* @__PURE__ */ jsx54(
26337
26755
  Root,
26338
26756
  {
26339
26757
  asChild: true,
@@ -26341,7 +26759,7 @@ var ToastImpl = React17.forwardRef(
26341
26759
  if (!context.isFocusedToastEscapeKeyDownRef.current) handleClose();
26342
26760
  context.isFocusedToastEscapeKeyDownRef.current = false;
26343
26761
  }),
26344
- children: /* @__PURE__ */ jsx53(
26762
+ children: /* @__PURE__ */ jsx54(
26345
26763
  Primitive.li,
26346
26764
  {
26347
26765
  role: "status",
@@ -26441,7 +26859,7 @@ var ToastAnnounce = (props) => {
26441
26859
  const timer = window.setTimeout(() => setIsAnnounced(true), 1e3);
26442
26860
  return () => window.clearTimeout(timer);
26443
26861
  }, []);
26444
- return isAnnounced ? null : /* @__PURE__ */ jsx53(Portal, { asChild: true, children: /* @__PURE__ */ jsx53(VisuallyHidden, { ...announceProps, children: renderAnnounceText && /* @__PURE__ */ jsxs27(Fragment9, { children: [
26862
+ return isAnnounced ? null : /* @__PURE__ */ jsx54(Portal, { asChild: true, children: /* @__PURE__ */ jsx54(VisuallyHidden, { ...announceProps, children: renderAnnounceText && /* @__PURE__ */ jsxs27(Fragment9, { children: [
26445
26863
  context.label,
26446
26864
  " ",
26447
26865
  children
@@ -26451,7 +26869,7 @@ var TITLE_NAME = "ToastTitle";
26451
26869
  var ToastTitle = React17.forwardRef(
26452
26870
  (props, forwardedRef) => {
26453
26871
  const { __scopeToast, ...titleProps } = props;
26454
- return /* @__PURE__ */ jsx53(Primitive.div, { ...titleProps, ref: forwardedRef });
26872
+ return /* @__PURE__ */ jsx54(Primitive.div, { ...titleProps, ref: forwardedRef });
26455
26873
  }
26456
26874
  );
26457
26875
  ToastTitle.displayName = TITLE_NAME;
@@ -26459,7 +26877,7 @@ var DESCRIPTION_NAME = "ToastDescription";
26459
26877
  var ToastDescription = React17.forwardRef(
26460
26878
  (props, forwardedRef) => {
26461
26879
  const { __scopeToast, ...descriptionProps } = props;
26462
- return /* @__PURE__ */ jsx53(Primitive.div, { ...descriptionProps, ref: forwardedRef });
26880
+ return /* @__PURE__ */ jsx54(Primitive.div, { ...descriptionProps, ref: forwardedRef });
26463
26881
  }
26464
26882
  );
26465
26883
  ToastDescription.displayName = DESCRIPTION_NAME;
@@ -26473,7 +26891,7 @@ var ToastAction = React17.forwardRef(
26473
26891
  );
26474
26892
  return null;
26475
26893
  }
26476
- return /* @__PURE__ */ jsx53(ToastAnnounceExclude, { altText, asChild: true, children: /* @__PURE__ */ jsx53(ToastClose, { ...actionProps, ref: forwardedRef }) });
26894
+ return /* @__PURE__ */ jsx54(ToastAnnounceExclude, { altText, asChild: true, children: /* @__PURE__ */ jsx54(ToastClose, { ...actionProps, ref: forwardedRef }) });
26477
26895
  }
26478
26896
  );
26479
26897
  ToastAction.displayName = ACTION_NAME;
@@ -26482,7 +26900,7 @@ var ToastClose = React17.forwardRef(
26482
26900
  (props, forwardedRef) => {
26483
26901
  const { __scopeToast, ...closeProps } = props;
26484
26902
  const interactiveContext = useToastInteractiveContext(CLOSE_NAME, __scopeToast);
26485
- return /* @__PURE__ */ jsx53(ToastAnnounceExclude, { asChild: true, children: /* @__PURE__ */ jsx53(
26903
+ return /* @__PURE__ */ jsx54(ToastAnnounceExclude, { asChild: true, children: /* @__PURE__ */ jsx54(
26486
26904
  Primitive.button,
26487
26905
  {
26488
26906
  type: "button",
@@ -26496,7 +26914,7 @@ var ToastClose = React17.forwardRef(
26496
26914
  ToastClose.displayName = CLOSE_NAME;
26497
26915
  var ToastAnnounceExclude = React17.forwardRef((props, forwardedRef) => {
26498
26916
  const { __scopeToast, altText, ...announceExcludeProps } = props;
26499
- return /* @__PURE__ */ jsx53(
26917
+ return /* @__PURE__ */ jsx54(
26500
26918
  Primitive.div,
26501
26919
  {
26502
26920
  "data-radix-toast-announce-exclude": "",
@@ -26602,7 +27020,7 @@ var Toast_default = {
26602
27020
  };
26603
27021
 
26604
27022
  // src/components/Toast.tsx
26605
- import { Fragment as Fragment10, jsx as jsx54, jsxs as jsxs28 } from "react/jsx-runtime";
27023
+ import { Fragment as Fragment10, jsx as jsx55, jsxs as jsxs28 } from "react/jsx-runtime";
26606
27024
  import { createElement as createElement4 } from "react";
26607
27025
  var icons = {
26608
27026
  info: Icons.Info,
@@ -26618,12 +27036,12 @@ function Toast2({
26618
27036
  children,
26619
27037
  ...props
26620
27038
  }) {
26621
- return /* @__PURE__ */ jsxs28(Root2, { ...props, className: (0, import_classnames41.default)(Toast_default.toast, className, variant && Toast_default[variant]), children: [
26622
- /* @__PURE__ */ jsx54(Icon, { className: Toast_default.icon, size: "md", children: variant && createElement3(icons[variant]) }),
26623
- title && /* @__PURE__ */ jsx54(ToastTitle, { className: Toast_default.title, children: title }),
26624
- description && /* @__PURE__ */ jsx54(ToastDescription, { className: Toast_default.description, children: description }),
26625
- children && /* @__PURE__ */ jsx54(ToastAction, { className: Toast_default.action, altText: actionText || "Action", asChild: true, children }),
26626
- !children && allowClose && /* @__PURE__ */ jsx54(ToastClose, { className: Toast_default.close, "aria-label": "Close", children: /* @__PURE__ */ jsx54(Icon, { size: "sm", "aria-hidden": true, children: /* @__PURE__ */ jsx54(Icons.Close, {}) }) })
27039
+ return /* @__PURE__ */ jsxs28(Root2, { ...props, className: (0, import_classnames42.default)(Toast_default.toast, className, variant && Toast_default[variant]), children: [
27040
+ /* @__PURE__ */ jsx55(Icon, { className: Toast_default.icon, size: "md", children: variant && createElement3(icons[variant]) }),
27041
+ title && /* @__PURE__ */ jsx55(ToastTitle, { className: Toast_default.title, children: title }),
27042
+ description && /* @__PURE__ */ jsx55(ToastDescription, { className: Toast_default.description, children: description }),
27043
+ children && /* @__PURE__ */ jsx55(ToastAction, { className: Toast_default.action, altText: actionText || "Action", asChild: true, children }),
27044
+ !children && allowClose && /* @__PURE__ */ jsx55(ToastClose, { className: Toast_default.close, "aria-label": "Close", children: /* @__PURE__ */ jsx55(Icon, { size: "sm", "aria-hidden": true, children: /* @__PURE__ */ jsx55(Icons.Close, {}) }) })
26627
27045
  ] });
26628
27046
  }
26629
27047
  function Toaster(props) {
@@ -26632,12 +27050,12 @@ function Toaster(props) {
26632
27050
  toasts.map(({ id, message, props: props2 }) => {
26633
27051
  return /* @__PURE__ */ createElement4(Toast2, { ...props2, key: id, description: message });
26634
27052
  }),
26635
- /* @__PURE__ */ jsx54(Viewport, { className: Toast_default.viewport, ...props })
27053
+ /* @__PURE__ */ jsx55(Viewport, { className: Toast_default.viewport, ...props })
26636
27054
  ] });
26637
27055
  }
26638
27056
 
26639
27057
  // src/components/Toggle.tsx
26640
- var import_classnames42 = __toESM(require_classnames());
27058
+ var import_classnames43 = __toESM(require_classnames());
26641
27059
 
26642
27060
  // src/components/Toggle.module.css
26643
27061
  var Toggle_default = {
@@ -26645,13 +27063,13 @@ var Toggle_default = {
26645
27063
  };
26646
27064
 
26647
27065
  // src/components/Toggle.tsx
26648
- import { jsx as jsx55 } from "react/jsx-runtime";
27066
+ import { jsx as jsx56 } from "react/jsx-runtime";
26649
27067
  function Toggle({ children, className, ...props }) {
26650
- return /* @__PURE__ */ jsx55($efde0372d7a700fe$export$d2b052e7b4be1756, { ...props, className: (0, import_classnames42.default)(Toggle_default.toggle, className), children });
27068
+ return /* @__PURE__ */ jsx56($efde0372d7a700fe$export$d2b052e7b4be1756, { ...props, className: (0, import_classnames43.default)(Toggle_default.toggle, className), children });
26651
27069
  }
26652
27070
 
26653
27071
  // src/components/ToggleGroup.tsx
26654
- var import_classnames43 = __toESM(require_classnames());
27072
+ var import_classnames44 = __toESM(require_classnames());
26655
27073
 
26656
27074
  // node_modules/@radix-ui/react-toggle-group/dist/index.mjs
26657
27075
  import $jFibJ$react from "react";
@@ -27068,16 +27486,16 @@ var ToggleGroup_default = {
27068
27486
  };
27069
27487
 
27070
27488
  // src/components/ToggleGroup.tsx
27071
- import { jsx as jsx56 } from "react/jsx-runtime";
27489
+ import { jsx as jsx57 } from "react/jsx-runtime";
27072
27490
  function ToggleGroup({ className, children, ...props }) {
27073
- return /* @__PURE__ */ jsx56($6c1fd9e6a8969628$export$af3ec21f6cfb5e30, { ...props, className: (0, import_classnames43.default)(ToggleGroup_default.group, className), children });
27491
+ return /* @__PURE__ */ jsx57($6c1fd9e6a8969628$export$af3ec21f6cfb5e30, { ...props, className: (0, import_classnames44.default)(ToggleGroup_default.group, className), children });
27074
27492
  }
27075
27493
  function ToggleGroupItem({ className, children, ...props }) {
27076
- return /* @__PURE__ */ jsx56($6c1fd9e6a8969628$export$b453109e13abe10b, { ...props, className: (0, import_classnames43.default)(ToggleGroup_default.item, className), children });
27494
+ return /* @__PURE__ */ jsx57($6c1fd9e6a8969628$export$b453109e13abe10b, { ...props, className: (0, import_classnames44.default)(ToggleGroup_default.item, className), children });
27077
27495
  }
27078
27496
 
27079
27497
  // src/components/Tooltip.tsx
27080
- var import_classnames44 = __toESM(require_classnames());
27498
+ var import_classnames45 = __toESM(require_classnames());
27081
27499
 
27082
27500
  // src/components/Tooltip.module.css
27083
27501
  var Tooltip_default = {
@@ -27087,21 +27505,21 @@ var Tooltip_default = {
27087
27505
  };
27088
27506
 
27089
27507
  // src/components/Tooltip.tsx
27090
- import { jsx as jsx57, jsxs as jsxs29 } from "react/jsx-runtime";
27508
+ import { jsx as jsx58, jsxs as jsxs29 } from "react/jsx-runtime";
27091
27509
  function Tooltip({ children, className, ...props }) {
27092
- return /* @__PURE__ */ jsxs29($4e3b923658d69c60$export$28c660c63b792dea, { ...props, className: (0, import_classnames44.default)(Tooltip_default.tooltip, className), children: [
27093
- /* @__PURE__ */ jsx57($44f671af83e7d9e0$export$746d02f47f4d381, { className: Tooltip_default.arrow, children: /* @__PURE__ */ jsx57("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx57("path", { d: "M0 0 L4 4 L8 0" }) }) }),
27510
+ return /* @__PURE__ */ jsxs29($4e3b923658d69c60$export$28c660c63b792dea, { ...props, className: (0, import_classnames45.default)(Tooltip_default.tooltip, className), children: [
27511
+ /* @__PURE__ */ jsx58($44f671af83e7d9e0$export$746d02f47f4d381, { className: Tooltip_default.arrow, children: /* @__PURE__ */ jsx58("svg", { width: 8, height: 8, viewBox: "0 0 8 8", children: /* @__PURE__ */ jsx58("path", { d: "M0 0 L4 4 L8 0" }) }) }),
27094
27512
  children
27095
27513
  ] });
27096
27514
  }
27097
27515
 
27098
27516
  // src/components/ZenProvider.tsx
27099
- import { jsx as jsx58, jsxs as jsxs30 } from "react/jsx-runtime";
27517
+ import { jsx as jsx59, jsxs as jsxs30 } from "react/jsx-runtime";
27100
27518
  function ZenProvider({ config = {}, children }) {
27101
27519
  const { toast: toast2 } = config;
27102
27520
  return /* @__PURE__ */ jsxs30(ToastProvider, { ...toast2, children: [
27103
27521
  children,
27104
- /* @__PURE__ */ jsx58(Toaster, {})
27522
+ /* @__PURE__ */ jsx59(Toaster, {})
27105
27523
  ] });
27106
27524
  }
27107
27525
  export {
@@ -27111,6 +27529,7 @@ export {
27111
27529
  AccordionItem,
27112
27530
  AlertBanner,
27113
27531
  AlertDialog,
27532
+ Box,
27114
27533
  Breadcrumb2 as Breadcrumb,
27115
27534
  Breadcrumbs,
27116
27535
  Button,
@@ -27150,8 +27569,10 @@ export {
27150
27569
  SearchField,
27151
27570
  Select,
27152
27571
  Slider,
27572
+ $5e63c961fc1ce211$export$8c6ed5c666ac1360 as Slot,
27153
27573
  Spinner,
27154
27574
  StatusLight,
27575
+ $3674c52c6b3c5bce$export$ecabc99eeffab7ca as SubmenuTrigger,
27155
27576
  Switch,
27156
27577
  Tab,
27157
27578
  TabList,