@umami/react-zen 0.185.0 → 0.187.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -261,6 +261,7 @@ __export(index_exports, {
261
261
  Heading: () => Heading2,
262
262
  HoverTrigger: () => HoverTrigger,
263
263
  Icon: () => Icon2,
264
+ IconLabel: () => IconLabel,
264
265
  Image: () => Image,
265
266
  InlineEditField: () => InlineEditField,
266
267
  Label: () => Label2,
@@ -33211,7 +33212,7 @@ var import_react187 = require("react");
33211
33212
  var import_classnames27 = __toESM(require_classnames());
33212
33213
 
33213
33214
  // css-modules:E:\dev\umami-react-zen\src\components\Table.module.css
33214
- var Table_default = { "table": "Table_table__YjllN", "header": "Table_header__NmE0Y", "body": "Table_body__ZWYwN", "row": "Table_row__Y2M0Y", "column": "Table_column__ZGY2M", "cell": "Table_cell__MmZjM", "start": "Table_start__NGFiN", "center": "Table_center__NzFjM", "end": "Table_end__NmQyY" };
33215
+ var Table_default = { "table": "Table_table__NWMxN", "header": "Table_header__YzdmY", "body": "Table_body__Nzg5M", "row": "Table_row__ZWFmM", "column": "Table_column__YTdhZ", "cell": "Table_cell__MjU3N", "start": "Table_start__ZGIyN", "center": "Table_center__Yzg5M", "end": "Table_end__YjA1Y" };
33215
33216
 
33216
33217
  // src/components/Table.tsx
33217
33218
  var import_jsx_runtime41 = require("react/jsx-runtime");
@@ -33478,6 +33479,24 @@ function HoverTrigger({
33478
33479
  ] });
33479
33480
  }
33480
33481
 
33482
+ // src/components/IconLabel.tsx
33483
+ var import_jsx_runtime48 = require("react/jsx-runtime");
33484
+ function IconLabel({
33485
+ icon,
33486
+ label,
33487
+ iconProps,
33488
+ labelProps,
33489
+ showLabel = true,
33490
+ children,
33491
+ ...props
33492
+ }) {
33493
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Row, { alignItems: "center", gap: true, width: "100%", ...props, children: [
33494
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Icon2, { ...iconProps, children: icon }),
33495
+ showLabel && label && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Text, { ...labelProps, children: label }),
33496
+ showLabel && children
33497
+ ] });
33498
+ }
33499
+
33481
33500
  // src/components/Image.tsx
33482
33501
  var import_classnames33 = __toESM(require_classnames());
33483
33502
 
@@ -33485,7 +33504,7 @@ var import_classnames33 = __toESM(require_classnames());
33485
33504
  var Image_default = { "image": "Image_image__M2EyN", "centered": "Image_centered__ZDFhM", "fill": "Image_fill__YWJhZ", "contain": "Image_contain__ZjAyN", "cover": "Image_cover__ODA4Y", "none": "Image_none__YTdiZ", "scale-down": "Image_scale-down__ODNlN" };
33486
33505
 
33487
33506
  // src/components/Image.tsx
33488
- var import_jsx_runtime48 = require("react/jsx-runtime");
33507
+ var import_jsx_runtime49 = require("react/jsx-runtime");
33489
33508
  function Image({
33490
33509
  src,
33491
33510
  alt,
@@ -33498,7 +33517,7 @@ function Image({
33498
33517
  ...props
33499
33518
  }) {
33500
33519
  const [classes, styleProps] = useDesignProps({ borderRadius, shadow });
33501
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
33520
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
33502
33521
  "img",
33503
33522
  {
33504
33523
  ...props,
@@ -33525,7 +33544,7 @@ var import_classnames34 = __toESM(require_classnames());
33525
33544
  var InlineEditField_default = { "edit": "InlineEditField_edit__MDliZ", "icon": "InlineEditField_icon__ZjE1O" };
33526
33545
 
33527
33546
  // src/components/InlineEditField.tsx
33528
- var import_jsx_runtime49 = require("react/jsx-runtime");
33547
+ var import_jsx_runtime50 = require("react/jsx-runtime");
33529
33548
  function InlineEditField({
33530
33549
  name = "",
33531
33550
  value: defaultValue = "",
@@ -33561,7 +33580,7 @@ function InlineEditField({
33561
33580
  handleCancel();
33562
33581
  }
33563
33582
  };
33564
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
33583
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
33565
33584
  "div",
33566
33585
  {
33567
33586
  "aria-label": "Edit",
@@ -33570,8 +33589,8 @@ function InlineEditField({
33570
33589
  onClick: handleEdit,
33571
33590
  children: [
33572
33591
  !edit && children,
33573
- !edit && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon2, { className: InlineEditField_default.icon, children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(SquarePen, {}) }),
33574
- edit && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
33592
+ !edit && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon2, { className: InlineEditField_default.icon, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(SquarePen, {}) }),
33593
+ edit && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
33575
33594
  TextField2,
33576
33595
  {
33577
33596
  name,
@@ -33594,7 +33613,7 @@ var import_classnames35 = __toESM(require_classnames());
33594
33613
  var Loading_default = { "loading": "Loading_loading__M2YyY", "absolute": "Loading_absolute__N2IxN", "center": "Loading_center__ZmUzM", "inline": "Loading_inline__MTFhM" };
33595
33614
 
33596
33615
  // src/components/Loading.tsx
33597
- var import_jsx_runtime50 = require("react/jsx-runtime");
33616
+ var import_jsx_runtime51 = require("react/jsx-runtime");
33598
33617
  function Loading({
33599
33618
  size,
33600
33619
  placement = "inline",
@@ -33602,9 +33621,9 @@ function Loading({
33602
33621
  className,
33603
33622
  ...props
33604
33623
  }) {
33605
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { ...props, className: (0, import_classnames35.default)(Loading_default.loading, className, Loading_default[placement]), children: [
33606
- icon === "dots" && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Dots, { size }),
33607
- icon === "spinner" && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Spinner, { size })
33624
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { ...props, className: (0, import_classnames35.default)(Loading_default.loading, className, Loading_default[placement]), children: [
33625
+ icon === "dots" && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Dots, { size }),
33626
+ icon === "spinner" && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Spinner, { size })
33608
33627
  ] });
33609
33628
  }
33610
33629
 
@@ -33612,12 +33631,12 @@ function Loading({
33612
33631
  var import_classnames36 = __toESM(require_classnames());
33613
33632
 
33614
33633
  // css-modules:E:\dev\umami-react-zen\src\components\Menu.module.css
33615
- var Menu_default = { "menu": "Menu_menu__MDZlN", "separator": "Menu_separator__ZmMzZ", "section": "Menu_section__OGU4Y", "header": "Menu_header__YmNkN", "item": "Menu_item__YjkxY", "checkmark": "Menu_checkmark__OTM5Y", "hideCheckmark": "Menu_hideCheckmark__NWJjY", "label": "Menu_label__YjgwY" };
33634
+ var Menu_default = { "menu": "Menu_menu__YTM5N", "separator": "Menu_separator__YjFhN", "section": "Menu_section__NWFlM", "header": "Menu_header__YzJkN", "item": "Menu_item__NGRkO", "checkmark": "Menu_checkmark__MWQ1O", "hideCheckmark": "Menu_hideCheckmark__YzBhM", "label": "Menu_label__NGMxM", "content": "Menu_content__MTA2O" };
33616
33635
 
33617
33636
  // src/components/Menu.tsx
33618
- var import_jsx_runtime51 = require("react/jsx-runtime");
33637
+ var import_jsx_runtime52 = require("react/jsx-runtime");
33619
33638
  function Menu2({ className, children, ...props }) {
33620
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames36.default)(Menu_default.menu, className), children });
33639
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)($3674c52c6b3c5bce$export$d9b273488cd8ce6f, { ...props, className: (0, import_classnames36.default)(Menu_default.menu, className), children });
33621
33640
  }
33622
33641
  function MenuItem2({
33623
33642
  icon,
@@ -33628,27 +33647,42 @@ function MenuItem2({
33628
33647
  className,
33629
33648
  ...props
33630
33649
  }) {
33631
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)($3674c52c6b3c5bce$export$2ce376c2cc3355c8, { ...props, className: (0, import_classnames36.default)(Menu_default.item, className), children: [
33632
- /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { className: Menu_default.label, children: [
33633
- icon && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon2, { children: icon }),
33634
- label && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Text, { children: label }),
33635
- children
33636
- ] }),
33637
- showChecked && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon2, { "aria-hidden": "true", className: Menu_default.checkmark, children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Check, {}) }),
33638
- showSubMenuIcon && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon2, { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(ChevronRight, {}) })
33650
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)($3674c52c6b3c5bce$export$2ce376c2cc3355c8, { ...props, className: (0, import_classnames36.default)(Menu_default.item, className), children: [
33651
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(IconLabel, { icon, label, children }),
33652
+ showChecked && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon2, { "aria-hidden": "true", className: Menu_default.checkmark, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Check, {}) }),
33653
+ showSubMenuIcon && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon2, { "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(ChevronRight, {}) })
33639
33654
  ] });
33640
33655
  }
33641
33656
  function MenuSeparator({ className, ...props }) {
33642
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames36.default)(Menu_default.separator, className) });
33657
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)($431f98aba6844401$export$1ff3c3f08ae963c0, { ...props, className: (0, import_classnames36.default)(Menu_default.separator, className) });
33643
33658
  }
33644
- function MenuSection({ title, className, children, ...props }) {
33645
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)($3674c52c6b3c5bce$export$4b1545b4f2016d26, { ...props, className: (0, import_classnames36.default)(Menu_default.section, className), children: [
33646
- title && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)($72a5793c14baf454$export$8b251419efc915eb, { className: Menu_default.header, children: title }),
33647
- children
33659
+ function MenuSection({
33660
+ title,
33661
+ maxHeight,
33662
+ className,
33663
+ style,
33664
+ children,
33665
+ ...props
33666
+ }) {
33667
+ const sectionStyle = {
33668
+ maxHeight,
33669
+ overflow: maxHeight ? "auto" : void 0
33670
+ };
33671
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
33672
+ title && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)($72a5793c14baf454$export$8b251419efc915eb, { className: Menu_default.header, children: title }),
33673
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
33674
+ $3674c52c6b3c5bce$export$4b1545b4f2016d26,
33675
+ {
33676
+ ...props,
33677
+ className: (0, import_classnames36.default)(Menu_default.section, className),
33678
+ style: { ...sectionStyle, ...style },
33679
+ children
33680
+ }
33681
+ )
33648
33682
  ] });
33649
33683
  }
33650
33684
  function SubMenuTrigger({ children, ...props }) {
33651
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)($3674c52c6b3c5bce$export$ecabc99eeffab7ca, { ...props, children });
33685
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)($3674c52c6b3c5bce$export$ecabc99eeffab7ca, { ...props, children });
33652
33686
  }
33653
33687
 
33654
33688
  // src/components/Modal.tsx
@@ -33658,7 +33692,7 @@ var import_classnames37 = __toESM(require_classnames());
33658
33692
  var Modal_default = { "overlay": "Modal_overlay__MzBhO", "modal-fade-in": "Modal_modal-fade-in__OTcxN", "modal": "Modal_modal__YTU3M", "left": "Modal_left__ZDU0O", "right": "Modal_right__MGFhO", "top": "Modal_top__OTY4M", "bottom": "Modal_bottom__NjY4N", "fullscreen": "Modal_fullscreen__YTNkZ", "center": "Modal_center__ZTViM", "modal-zoom": "Modal_modal-zoom__MjY4Y", "modal-left": "Modal_modal-left__YTc0N", "modal-right": "Modal_modal-right__MWY0Z", "modal-top": "Modal_modal-top__OTQ2M", "modal-bottom": "Modal_modal-bottom__NDlkZ" };
33659
33693
 
33660
33694
  // src/components/Modal.tsx
33661
- var import_jsx_runtime52 = require("react/jsx-runtime");
33695
+ var import_jsx_runtime53 = require("react/jsx-runtime");
33662
33696
  function Modal2({
33663
33697
  position = "center",
33664
33698
  offset,
@@ -33670,7 +33704,7 @@ function Modal2({
33670
33704
  if (offset) {
33671
33705
  style[`--modal-offset`] = offset;
33672
33706
  }
33673
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)($f3f84453ead64de5$export$8948f78d83984c69, { ...props, className: Modal_default.overlay, style, isDismissable: true, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)($f3f84453ead64de5$export$2b77a92f1a5ad772, { className: (0, import_classnames37.default)(Modal_default.modal, position && Modal_default[position], className), children }) });
33707
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)($f3f84453ead64de5$export$8948f78d83984c69, { ...props, className: Modal_default.overlay, style, isDismissable: true, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)($f3f84453ead64de5$export$2b77a92f1a5ad772, { className: (0, import_classnames37.default)(Modal_default.modal, position && Modal_default[position], className), children }) });
33674
33708
  }
33675
33709
 
33676
33710
  // src/components/Navbar.tsx
@@ -33681,7 +33715,7 @@ var import_classnames38 = __toESM(require_classnames());
33681
33715
  var Navbar_default = { "nav": "Navbar_nav__ZjEwM", "item": "Navbar_item__MWVhZ", "icon": "Navbar_icon__ZmM1N" };
33682
33716
 
33683
33717
  // src/components/Navbar.tsx
33684
- var import_jsx_runtime53 = require("react/jsx-runtime");
33718
+ var import_jsx_runtime54 = require("react/jsx-runtime");
33685
33719
  var NavbarContext = (0, import_react192.createContext)(void 0);
33686
33720
  var useNavigationContext = () => {
33687
33721
  const context = (0, import_react192.useContext)(NavbarContext);
@@ -33692,20 +33726,20 @@ var useNavigationContext = () => {
33692
33726
  };
33693
33727
  function Navbar({ showArrow = true, className, children, ...props }) {
33694
33728
  const [activeMenu, setActiveMenu] = (0, import_react192.useState)("");
33695
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(NavbarContext.Provider, { value: { activeMenu, setActiveMenu }, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.nav, className), children }) });
33729
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(NavbarContext.Provider, { value: { activeMenu, setActiveMenu }, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.nav, className), children }) });
33696
33730
  }
33697
33731
  function NavbarItem({ label, children, className, ...props }) {
33698
33732
  const { activeMenu, setActiveMenu } = useNavigationContext();
33699
33733
  if (label) {
33700
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(HoverTrigger, { isOpen: activeMenu === label, onHoverStart: () => setActiveMenu(label), children: [
33701
- /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children: [
33702
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Text, { children: label }),
33703
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon2, { rotate: 90, size: "sm", className: Navbar_default.icon, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(ChevronRight, {}) })
33734
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(HoverTrigger, { isOpen: activeMenu === label, onHoverStart: () => setActiveMenu(label), children: [
33735
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children: [
33736
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { children: label }),
33737
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon2, { rotate: 90, size: "sm", className: Navbar_default.icon, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ChevronRight, {}) })
33704
33738
  ] }),
33705
33739
  children
33706
33740
  ] });
33707
33741
  }
33708
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children });
33742
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { ...props, className: (0, import_classnames38.default)(Navbar_default.item, className), children });
33709
33743
  }
33710
33744
 
33711
33745
  // src/components/NavMenu.tsx
@@ -33716,17 +33750,17 @@ var import_classnames39 = __toESM(require_classnames());
33716
33750
  var NavMenu_default = { "navmenu": "NavMenu_navmenu__MzRmN", "item": "NavMenu_item__ZWRjZ", "selected": "NavMenu_selected__ZDU1N", "muted": "NavMenu_muted__MTgxN", "title": "NavMenu_title__ZjJhN", "clickable": "NavMenu_clickable__Mjg0O" };
33717
33751
 
33718
33752
  // src/components/NavMenu.tsx
33719
- var import_jsx_runtime54 = require("react/jsx-runtime");
33753
+ var import_jsx_runtime55 = require("react/jsx-runtime");
33720
33754
  var NavMenuContext = (0, import_react193.createContext)(null);
33721
33755
  function NavMenu({
33722
33756
  itemBackgroundColor = "2",
33723
- muteItems = true,
33757
+ muteItems,
33724
33758
  className,
33725
33759
  style,
33726
33760
  children,
33727
33761
  ...props
33728
33762
  }) {
33729
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(NavMenuContext.Provider, { value: { itemBackgroundColor }, children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
33763
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(NavMenuContext.Provider, { value: { itemBackgroundColor }, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
33730
33764
  Column,
33731
33765
  {
33732
33766
  ...props,
@@ -33749,7 +33783,7 @@ function NavMenuGroup({
33749
33783
  setMinimized((state) => !state);
33750
33784
  }
33751
33785
  };
33752
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
33786
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
33753
33787
  Column,
33754
33788
  {
33755
33789
  gap: true,
@@ -33760,7 +33794,7 @@ function NavMenuGroup({
33760
33794
  allowMinimize && minimized && NavMenu_default.minimized
33761
33795
  ),
33762
33796
  children: [
33763
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
33797
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
33764
33798
  Row,
33765
33799
  {
33766
33800
  className: NavMenu_default.item,
@@ -33768,8 +33802,8 @@ function NavMenuGroup({
33768
33802
  justifyContent: "space-between",
33769
33803
  onClick: handleClick,
33770
33804
  children: [
33771
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Text, { className: NavMenu_default.title, children: title }),
33772
- allowMinimize && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon2, { rotate: minimized ? 0 : 90, color: "muted", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(ChevronRight, {}) })
33805
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Text, { className: NavMenu_default.title, children: title }),
33806
+ allowMinimize && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon2, { rotate: minimized ? 0 : 90, color: "muted", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(ChevronRight, {}) })
33773
33807
  ]
33774
33808
  }
33775
33809
  ),
@@ -33780,7 +33814,7 @@ function NavMenuGroup({
33780
33814
  }
33781
33815
  function NavMenuItem({ isSelected, className, children, ...props }) {
33782
33816
  const { itemBackgroundColor } = (0, import_react193.useContext)(NavMenuContext);
33783
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
33817
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
33784
33818
  Row,
33785
33819
  {
33786
33820
  ...props,
@@ -33795,16 +33829,16 @@ function NavMenuItem({ isSelected, className, children, ...props }) {
33795
33829
  // src/components/PasswordField.tsx
33796
33830
  var import_react194 = require("react");
33797
33831
  var import_classnames40 = __toESM(require_classnames());
33798
- var import_jsx_runtime55 = require("react/jsx-runtime");
33832
+ var import_jsx_runtime56 = require("react/jsx-runtime");
33799
33833
  function PasswordField({ label, className, ...props }) {
33800
33834
  const [show, setShow] = (0, import_react194.useState)(false);
33801
33835
  const type = show ? "text" : "password";
33802
33836
  const handleShowPassword = () => setShow((state) => !state);
33803
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
33804
- label && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Label2, { children: label }),
33805
- /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)($bcdf0525bf22703d$export$2c73285ae9390cec, { "aria-label": "Password", ...props, className: (0, import_classnames40.default)(TextField_default.field, className), children: [
33806
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { type }),
33807
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon2, { onClick: handleShowPassword, children: show ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(EyeSlash_default, {}) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Eye_default, {}) })
33837
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
33838
+ label && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Label2, { children: label }),
33839
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)($bcdf0525bf22703d$export$2c73285ae9390cec, { "aria-label": "Password", ...props, className: (0, import_classnames40.default)(TextField_default.field, className), children: [
33840
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { type }),
33841
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon2, { onClick: handleShowPassword, children: show ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(EyeSlash_default, {}) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Eye_default, {}) })
33808
33842
  ] })
33809
33843
  ] });
33810
33844
  }
@@ -33816,9 +33850,9 @@ var import_classnames41 = __toESM(require_classnames());
33816
33850
  var Popover_default = { "popover": "Popover_popover__YmFhM", "popover-slide": "Popover_popover-slide__OGZjY" };
33817
33851
 
33818
33852
  // src/components/Popover.tsx
33819
- var import_jsx_runtime56 = require("react/jsx-runtime");
33853
+ var import_jsx_runtime57 = require("react/jsx-runtime");
33820
33854
  function Popover2({ children, className, ...props }) {
33821
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)($07b14b47974efb58$export$5b6b19405a83ff9d, { ...props, className: (0, import_classnames41.default)(Popover_default.popover, className), children });
33855
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)($07b14b47974efb58$export$5b6b19405a83ff9d, { ...props, className: (0, import_classnames41.default)(Popover_default.popover, className), children });
33822
33856
  }
33823
33857
 
33824
33858
  // src/components/ProgressBar.tsx
@@ -33828,12 +33862,12 @@ var import_classnames42 = __toESM(require_classnames());
33828
33862
  var ProgressBar_default = { "progressbar": "ProgressBar_progressbar__YzdlO", "track": "ProgressBar_track__YzgzY", "fill": "ProgressBar_fill__ZTJlM", "value": "ProgressBar_value__NDk1Z" };
33829
33863
 
33830
33864
  // src/components/ProgressBar.tsx
33831
- var import_jsx_runtime57 = require("react/jsx-runtime");
33865
+ var import_jsx_runtime58 = require("react/jsx-runtime");
33832
33866
  function ProgressBar2({ className, showPercentage, ...props }) {
33833
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames42.default)(ProgressBar_default.progressbar, className), children: ({ percentage = 0, valueText }) => {
33834
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, { children: [
33835
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: ProgressBar_default.track, children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: ProgressBar_default.fill, style: { width: `${percentage}%` } }) }),
33836
- showPercentage && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("div", { className: ProgressBar_default.value, children: valueText })
33867
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames42.default)(ProgressBar_default.progressbar, className), children: ({ percentage = 0, valueText }) => {
33868
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, { children: [
33869
+ /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: ProgressBar_default.track, children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: ProgressBar_default.fill, style: { width: `${percentage}%` } }) }),
33870
+ showPercentage && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: ProgressBar_default.value, children: valueText })
33837
33871
  ] });
33838
33872
  } });
33839
33873
  }
@@ -33845,16 +33879,16 @@ var import_classnames43 = __toESM(require_classnames());
33845
33879
  var ProgressCircle_default = { "progresscircle": "ProgressCircle_progresscircle__NGMyY", "track": "ProgressCircle_track__YzY2M", "fill": "ProgressCircle_fill__ZmMzM", "value": "ProgressCircle_value__YjM0Y" };
33846
33880
 
33847
33881
  // src/components/ProgressCircle.tsx
33848
- var import_jsx_runtime58 = require("react/jsx-runtime");
33882
+ var import_jsx_runtime59 = require("react/jsx-runtime");
33849
33883
  function ProgressCircle({ className, showPercentage, ...props }) {
33850
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames43.default)(ProgressCircle_default.progresscircle, className), children: ({ percentage = 0, valueText }) => {
33884
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)($0393f8ab869a0f1a$export$c17561cb55d4db30, { ...props, className: (0, import_classnames43.default)(ProgressCircle_default.progresscircle, className), children: ({ percentage = 0, valueText }) => {
33851
33885
  const radius = 45;
33852
33886
  const circumference = radius * 2 * Math.PI;
33853
33887
  const offset = circumference - percentage / 100 * circumference;
33854
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_jsx_runtime58.Fragment, { children: [
33855
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("svg", { viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg", children: [
33856
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("circle", { className: ProgressCircle_default.track, cx: "50", cy: "50", r: "45" }),
33857
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
33888
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_jsx_runtime59.Fragment, { children: [
33889
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("svg", { viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg", children: [
33890
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("circle", { className: ProgressCircle_default.track, cx: "50", cy: "50", r: "45" }),
33891
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
33858
33892
  "circle",
33859
33893
  {
33860
33894
  className: ProgressCircle_default.fill,
@@ -33866,7 +33900,7 @@ function ProgressCircle({ className, showPercentage, ...props }) {
33866
33900
  }
33867
33901
  )
33868
33902
  ] }),
33869
- showPercentage && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("label", { className: ProgressCircle_default.value, children: valueText })
33903
+ showPercentage && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("label", { className: ProgressCircle_default.value, children: valueText })
33870
33904
  ] });
33871
33905
  } });
33872
33906
  }
@@ -33878,7 +33912,7 @@ var import_classnames44 = __toESM(require_classnames());
33878
33912
  var RadioGroup_default = { "radiogroup": "RadioGroup_radiogroup__ZjliM", "inputs": "RadioGroup_inputs__NjA4N", "radio": "RadioGroup_radio__MmE2Z", "variant-circle": "RadioGroup_variant-circle__NzliY", "variant-box": "RadioGroup_variant-box__Mjk3N" };
33879
33913
 
33880
33914
  // src/components/RadioGroup.tsx
33881
- var import_jsx_runtime59 = require("react/jsx-runtime");
33915
+ var import_jsx_runtime60 = require("react/jsx-runtime");
33882
33916
  function RadioGroup2({
33883
33917
  variant = "circle",
33884
33918
  label,
@@ -33886,27 +33920,27 @@ function RadioGroup2({
33886
33920
  className,
33887
33921
  ...props
33888
33922
  }) {
33889
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
33923
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
33890
33924
  $b6c3ddc6086f204d$export$a98f0dcb43a68a25,
33891
33925
  {
33892
33926
  "aria-label": "RadioGroup",
33893
33927
  ...props,
33894
33928
  className: (0, import_classnames44.default)(RadioGroup_default.radiogroup, RadioGroup_default[`variant-${variant}`], className),
33895
33929
  children: [
33896
- label && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Label2, { children: label }),
33897
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: RadioGroup_default.inputs, children })
33930
+ label && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Label2, { children: label }),
33931
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)("div", { className: RadioGroup_default.inputs, children })
33898
33932
  ]
33899
33933
  }
33900
33934
  );
33901
33935
  }
33902
33936
  function Radio2({ children, className, ...props }) {
33903
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)($b6c3ddc6086f204d$export$d7b12c4107be0d61, { "aria-label": "Radio", ...props, className: (0, import_classnames44.default)(RadioGroup_default.radio, className), children });
33937
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)($b6c3ddc6086f204d$export$d7b12c4107be0d61, { "aria-label": "Radio", ...props, className: (0, import_classnames44.default)(RadioGroup_default.radio, className), children });
33904
33938
  }
33905
33939
 
33906
33940
  // src/components/SearchField.tsx
33907
33941
  var import_react195 = require("react");
33908
33942
  var import_classnames45 = __toESM(require_classnames());
33909
- var import_jsx_runtime60 = require("react/jsx-runtime");
33943
+ var import_jsx_runtime61 = require("react/jsx-runtime");
33910
33944
  function SearchField2({
33911
33945
  label,
33912
33946
  placeholder,
@@ -33937,9 +33971,9 @@ function SearchField2({
33937
33971
  onSearch?.(searchValue);
33938
33972
  }
33939
33973
  }, [searchValue, delay]);
33940
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
33941
- label && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Label2, { children: label }),
33942
- /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
33974
+ return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_jsx_runtime61.Fragment, { children: [
33975
+ label && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Label2, { children: label }),
33976
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
33943
33977
  $440f4836bcb56932$export$b94867ecbd698f21,
33944
33978
  {
33945
33979
  "aria-label": "Search",
@@ -33947,9 +33981,9 @@ function SearchField2({
33947
33981
  className: (0, import_classnames45.default)(TextField_default.field, className),
33948
33982
  onChange: handleChange,
33949
33983
  children: [
33950
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon2, { strokeColor: "8", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Search, {}) }),
33951
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { placeholder, value: search }),
33952
- search && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon2, { size: "sm", color: "8", onClick: resetSearch, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(X, {}) })
33984
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon2, { strokeColor: "8", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Search, {}) }),
33985
+ /* @__PURE__ */ (0, import_jsx_runtime61.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, { placeholder, value: search }),
33986
+ search && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon2, { size: "sm", color: "8", onClick: resetSearch, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(X, {}) })
33953
33987
  ]
33954
33988
  }
33955
33989
  )
@@ -33964,7 +33998,7 @@ var import_classnames46 = __toESM(require_classnames());
33964
33998
  var Select_default = { "select": "Select_select__NTRiY", "button": "Select_button__ZTJmY", "value": "Select_value__OWU2Z", "list": "Select_list__NTk4N", "search": "Select_search__YWI3Y" };
33965
33999
 
33966
34000
  // src/components/Select.tsx
33967
- var import_jsx_runtime61 = require("react/jsx-runtime");
34001
+ var import_jsx_runtime62 = require("react/jsx-runtime");
33968
34002
  function Select2({
33969
34003
  items = [],
33970
34004
  value,
@@ -33998,7 +34032,7 @@ function Select2({
33998
34032
  setSearch("");
33999
34033
  onSearch?.("");
34000
34034
  };
34001
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
34035
+ return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
34002
34036
  $82d7e5349645de74$export$ef9b1a59e592288f,
34003
34037
  {
34004
34038
  "aria-label": "Select",
@@ -34008,21 +34042,21 @@ function Select2({
34008
34042
  defaultSelectedKey: defaultValue,
34009
34043
  onSelectionChange: handleChange,
34010
34044
  children: [
34011
- label && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Label2, { children: label }),
34012
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
34045
+ label && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Label2, { children: label }),
34046
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
34013
34047
  Button2,
34014
34048
  {
34015
34049
  variant: "outline",
34016
34050
  ...buttonProps,
34017
34051
  className: (0, import_classnames46.default)(Select_default.button, buttonProps?.className),
34018
- children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: Select_default.value, children: [
34019
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
34020
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ChevronRight, {}) })
34052
+ children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: Select_default.value, children: [
34053
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)($82d7e5349645de74$export$e288731fd71264f0, { children: renderValue }),
34054
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon2, { "aria-hidden": "true", rotate: 90, size: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(ChevronRight, {}) })
34021
34055
  ] })
34022
34056
  }
34023
34057
  ),
34024
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Popover2, { ...popoverProps, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)("div", { className: Select_default.list, children: [
34025
- allowSearch && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
34058
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Popover2, { ...popoverProps, onOpenChange: handleOpenChange, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)("div", { className: Select_default.list, children: [
34059
+ allowSearch && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
34026
34060
  SearchField2,
34027
34061
  {
34028
34062
  className: Select_default.search,
@@ -34033,8 +34067,8 @@ function Select2({
34033
34067
  autoFocus: true
34034
34068
  }
34035
34069
  ),
34036
- isLoading && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(Loading, { icon: "dots", placement: "center", size: "sm" }),
34037
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
34070
+ isLoading && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Loading, { icon: "dots", placement: "center", size: "sm" }),
34071
+ /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
34038
34072
  List,
34039
34073
  {
34040
34074
  ...listProps,
@@ -34054,29 +34088,28 @@ var import_react197 = require("react");
34054
34088
  var import_classnames47 = __toESM(require_classnames());
34055
34089
 
34056
34090
  // css-modules:E:\dev\umami-react-zen\src\components\Sidebar.module.css
34057
- var Sidebar_default = { "sidebar": "Sidebar_sidebar__MDdkM", "header": "Sidebar_header__YzgwY", "label": "Sidebar_label__ZWRjN", "section": "Sidebar_section__N2E1Y", "title": "Sidebar_title__ZjM4Z", "content": "Sidebar_content__ZTA1O", "item": "Sidebar_item__ZWVjN", "selected": "Sidebar_selected__NjU5Z", "collapsed": "Sidebar_collapsed__ZGQyN", "muted": "Sidebar_muted__MTI3O", "noborder": "Sidebar_noborder__ZTFmM" };
34091
+ var Sidebar_default = { "sidebar": "Sidebar_sidebar__NDg2N", "header": "Sidebar_header__ZGU4M", "label": "Sidebar_label__NzZkM", "section": "Sidebar_section__NDY5Y", "title": "Sidebar_title__NmU4O", "content": "Sidebar_content__YjhhO", "item": "Sidebar_item__YmFjY", "selected": "Sidebar_selected__NWU3Y", "collapsed": "Sidebar_collapsed__MDY4N", "muted": "Sidebar_muted__N2U2M" };
34058
34092
 
34059
34093
  // src/components/Sidebar.tsx
34060
- var import_jsx_runtime62 = require("react/jsx-runtime");
34094
+ var import_jsx_runtime63 = require("react/jsx-runtime");
34061
34095
  var SidebarContext = (0, import_react197.createContext)(null);
34062
34096
  function Sidebar({
34063
34097
  itemBackgroundColor = "2",
34064
34098
  isCollapsed,
34065
- muteItems = true,
34066
- showBorder = true,
34099
+ muteItems,
34067
34100
  className,
34068
34101
  children,
34069
34102
  ...props
34070
34103
  }) {
34071
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(SidebarContext.Provider, { value: { isCollapsed, itemBackgroundColor }, children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
34104
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(SidebarContext.Provider, { value: { isCollapsed, itemBackgroundColor }, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
34072
34105
  Column,
34073
34106
  {
34107
+ border: "right",
34074
34108
  ...props,
34075
34109
  className: (0, import_classnames47.default)(
34076
34110
  Sidebar_default.sidebar,
34077
34111
  isCollapsed && Sidebar_default.collapsed,
34078
34112
  muteItems && Sidebar_default.muted,
34079
- !showBorder && Sidebar_default.noborder,
34080
34113
  className
34081
34114
  ),
34082
34115
  children
@@ -34089,9 +34122,9 @@ function SidebarSection({
34089
34122
  children,
34090
34123
  ...props
34091
34124
  }) {
34092
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Column, { ...props, className: (0, import_classnames47.default)(Sidebar_default.section, className), children: [
34093
- title && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: Sidebar_default.title, children: title }),
34094
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: Sidebar_default.content, children })
34125
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Column, { ...props, className: (0, import_classnames47.default)(Sidebar_default.section, className), children: [
34126
+ title && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: Sidebar_default.title, children: title }),
34127
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: Sidebar_default.content, children })
34095
34128
  ] });
34096
34129
  }
34097
34130
  function SidebarHeader({
@@ -34101,9 +34134,9 @@ function SidebarHeader({
34101
34134
  children,
34102
34135
  ...props
34103
34136
  }) {
34104
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(Row, { ...props, className: (0, import_classnames47.default)(Sidebar_default.header, className), children: [
34105
- icon && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon2, { size: "sm", children: icon }),
34106
- label && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("div", { className: Sidebar_default.label, children: label }),
34137
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Row, { ...props, className: (0, import_classnames47.default)(Sidebar_default.header, className), children: [
34138
+ icon && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon2, { size: "sm", children: icon }),
34139
+ label && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: Sidebar_default.label, children: label }),
34107
34140
  children
34108
34141
  ] });
34109
34142
  }
@@ -34116,8 +34149,8 @@ function SidebarItem({
34116
34149
  ...props
34117
34150
  }) {
34118
34151
  const { isCollapsed, itemBackgroundColor } = (0, import_react197.useContext)(SidebarContext);
34119
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)($4e3b923658d69c60$export$8c610744efcf8a1d, { delay: 0, closeDelay: 0, isDisabled: !isCollapsed, children: [
34120
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)($f645667febf57a63$export$35a3bebf7ef2d934, { children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
34152
+ return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)($4e3b923658d69c60$export$8c610744efcf8a1d, { delay: 0, closeDelay: 0, isDisabled: !isCollapsed, children: [
34153
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)($f645667febf57a63$export$35a3bebf7ef2d934, { children: /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(
34121
34154
  Row,
34122
34155
  {
34123
34156
  ...props,
@@ -34125,13 +34158,13 @@ function SidebarItem({
34125
34158
  hoverBackgroundColor: itemBackgroundColor,
34126
34159
  className: (0, import_classnames47.default)(Sidebar_default.item, className, isSelected && Sidebar_default.selected),
34127
34160
  children: [
34128
- icon && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Icon2, { size: "sm", children: icon }),
34129
- label && /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Text, { className: (0, import_classnames47.default)(Sidebar_default.label), children: label }),
34161
+ icon && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Icon2, { size: "sm", children: icon }),
34162
+ label && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Text, { className: (0, import_classnames47.default)(Sidebar_default.label), children: label }),
34130
34163
  children
34131
34164
  ]
34132
34165
  }
34133
34166
  ) }),
34134
- /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(Tooltip2, { placement: "right", children: label })
34167
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Tooltip2, { placement: "right", children: label })
34135
34168
  ] });
34136
34169
  }
34137
34170
 
@@ -34142,17 +34175,17 @@ var import_classnames48 = __toESM(require_classnames());
34142
34175
  var Slider_default = { "slider": "Slider_slider__MjBhO", "header": "Slider_header__ZTE2M", "track": "Slider_track__ODk5M", "fill": "Slider_fill__YzdhM", "thumb": "Slider_thumb__NGEzM" };
34143
34176
 
34144
34177
  // src/components/Slider.tsx
34145
- var import_jsx_runtime63 = require("react/jsx-runtime");
34178
+ var import_jsx_runtime64 = require("react/jsx-runtime");
34146
34179
  function Slider2({ className, showValue = true, label, ...props }) {
34147
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)($6f909507e6374d18$export$472062a354075cee, { ...props, className: (0, import_classnames48.default)(Slider_default.slider, className), children: [
34148
- /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: Slider_default.header, children: [
34149
- label && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Label2, { className: Slider_default.label, children: label }),
34150
- showValue && /* @__PURE__ */ (0, import_jsx_runtime63.jsx)($6f909507e6374d18$export$a590f758a961cb5b, { className: Slider_default.output })
34180
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)($6f909507e6374d18$export$472062a354075cee, { ...props, className: (0, import_classnames48.default)(Slider_default.slider, className), children: [
34181
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { className: Slider_default.header, children: [
34182
+ label && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(Label2, { className: Slider_default.label, children: label }),
34183
+ showValue && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)($6f909507e6374d18$export$a590f758a961cb5b, { className: Slider_default.output })
34151
34184
  ] }),
34152
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)($6f909507e6374d18$export$105594979f116971, { className: Slider_default.track, children: ({ state }) => {
34185
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)($6f909507e6374d18$export$105594979f116971, { className: Slider_default.track, children: ({ state }) => {
34153
34186
  const isHorizontal = state.orientation === "horizontal";
34154
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(import_jsx_runtime63.Fragment, { children: [
34155
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
34187
+ return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
34188
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
34156
34189
  "div",
34157
34190
  {
34158
34191
  className: Slider_default.fill,
@@ -34161,7 +34194,7 @@ function Slider2({ className, showValue = true, label, ...props }) {
34161
34194
  }
34162
34195
  }
34163
34196
  ),
34164
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)($6f909507e6374d18$export$2c1b491743890dec, { className: Slider_default.thumb })
34197
+ /* @__PURE__ */ (0, import_jsx_runtime64.jsx)($6f909507e6374d18$export$2c1b491743890dec, { className: Slider_default.thumb })
34165
34198
  ] });
34166
34199
  } })
34167
34200
  ] });
@@ -34174,11 +34207,11 @@ var import_classnames49 = __toESM(require_classnames());
34174
34207
  var StatusLight_default = { "statuslight": "StatusLight_statuslight__MTliM", "status": "StatusLight_status__MDNmO", "bg": "StatusLight_bg__MjVjN", "success": "StatusLight_success__ZWI1N", "warning": "StatusLight_warning__YWRmM", "error": "StatusLight_error__NjdjM", "active": "StatusLight_active__NGZiY", "inactive": "StatusLight_inactive__NDI0Z" };
34175
34208
 
34176
34209
  // src/components/StatusLight.tsx
34177
- var import_jsx_runtime64 = require("react/jsx-runtime");
34210
+ var import_jsx_runtime65 = require("react/jsx-runtime");
34178
34211
  function StatusLight(props) {
34179
34212
  const { color, variant = "inactive", children, className, ...domProps } = props;
34180
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)("div", { ...domProps, className: (0, import_classnames49.default)(StatusLight_default.statuslight, className), children: [
34181
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)("div", { className: StatusLight_default.bg, children: /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
34213
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)("div", { ...domProps, className: (0, import_classnames49.default)(StatusLight_default.statuslight, className), children: [
34214
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: StatusLight_default.bg, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
34182
34215
  "div",
34183
34216
  {
34184
34217
  className: (0, import_classnames49.default)(StatusLight_default.status, StatusLight_default[variant]),
@@ -34196,12 +34229,12 @@ var import_classnames50 = __toESM(require_classnames());
34196
34229
  var Switch_default = { "switch": "Switch_switch__NzIwM", "track": "Switch_track__NWQ0M", "knob": "Switch_knob__NDU3M" };
34197
34230
 
34198
34231
  // src/components/Switch.tsx
34199
- var import_jsx_runtime65 = require("react/jsx-runtime");
34232
+ var import_jsx_runtime66 = require("react/jsx-runtime");
34200
34233
  function Switch2({ label, children, className, ...props }) {
34201
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(Column, { children: [
34202
- label && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(Label2, { children: label }),
34203
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)($8e59e948500a8fe1$export$b5d5cf8927ab7262, { ...props, className: (0, import_classnames50.default)(Switch_default.switch, className), children: [
34204
- /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: Switch_default.track, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)("div", { className: Switch_default.knob }) }),
34234
+ return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(Column, { children: [
34235
+ label && /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Label2, { children: label }),
34236
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)($8e59e948500a8fe1$export$b5d5cf8927ab7262, { ...props, className: (0, import_classnames50.default)(Switch_default.switch, className), children: [
34237
+ /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: Switch_default.track, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("div", { className: Switch_default.knob }) }),
34205
34238
  children
34206
34239
  ] })
34207
34240
  ] });
@@ -34211,18 +34244,18 @@ function Switch2({ label, children, className, ...props }) {
34211
34244
  var Tabs_default = { "tabs": "Tabs_tabs__OWVjO", "list": "Tabs_list__YWRjM", "tab": "Tabs_tab__ZjgwM", "quiet": "Tabs_quiet__ZTQ1O" };
34212
34245
 
34213
34246
  // src/components/Tabs.tsx
34214
- var import_jsx_runtime66 = require("react/jsx-runtime");
34247
+ var import_jsx_runtime67 = require("react/jsx-runtime");
34215
34248
  function Tabs2({ children, ...props }) {
34216
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)($5e8ad37a45e1c704$export$b2539bed5023c21c, { ...props, className: Tabs_default.tabs, children });
34249
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)($5e8ad37a45e1c704$export$b2539bed5023c21c, { ...props, className: Tabs_default.tabs, children });
34217
34250
  }
34218
34251
  function TabList2({ children, ...props }) {
34219
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)($5e8ad37a45e1c704$export$e51a686c67fdaa2d, { ...props, className: Tabs_default.list, children });
34252
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)($5e8ad37a45e1c704$export$e51a686c67fdaa2d, { ...props, className: Tabs_default.list, children });
34220
34253
  }
34221
34254
  function Tab({ children, ...props }) {
34222
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)($5e8ad37a45e1c704$export$3e41faf802a29e71, { ...props, className: Tabs_default.tab, children });
34255
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)($5e8ad37a45e1c704$export$3e41faf802a29e71, { ...props, className: Tabs_default.tab, children });
34223
34256
  }
34224
34257
  function TabPanel2({ children, ...props }) {
34225
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)($5e8ad37a45e1c704$export$3d96ec278d3efce4, { ...props, className: Tabs_default.panel, children });
34258
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)($5e8ad37a45e1c704$export$3d96ec278d3efce4, { ...props, className: Tabs_default.panel, children });
34226
34259
  }
34227
34260
 
34228
34261
  // src/components/ThemeButton.tsx
@@ -34232,7 +34265,7 @@ var import_classnames51 = __toESM(require_classnames());
34232
34265
  var ThemeButton_default = { "button": "ThemeButton_button__MDUzN" };
34233
34266
 
34234
34267
  // src/components/ThemeButton.tsx
34235
- var import_jsx_runtime67 = require("react/jsx-runtime");
34268
+ var import_jsx_runtime68 = require("react/jsx-runtime");
34236
34269
  function ThemeButton({ className, variant = "quiet", onPress, ...props }) {
34237
34270
  const { theme, setTheme } = useTheme();
34238
34271
  const transitions = useTransition(theme, {
@@ -34251,7 +34284,7 @@ function ThemeButton({ className, variant = "quiet", onPress, ...props }) {
34251
34284
  setTheme(theme === "light" ? "dark" : "light");
34252
34285
  onPress?.(e);
34253
34286
  }
34254
- return /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
34287
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
34255
34288
  Button2,
34256
34289
  {
34257
34290
  ...props,
@@ -34261,7 +34294,7 @@ function ThemeButton({ className, variant = "quiet", onPress, ...props }) {
34261
34294
  children: [
34262
34295
  transitions((style, item) => (
34263
34296
  // @ts-ignore
34264
- /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(animated.div, { style, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Icon2, { size: "sm", children: item === "light" ? /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Sun, {}) : /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Moon, {}) }) }, item)
34297
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(animated.div, { style, children: /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon2, { size: "sm", children: item === "light" ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Sun, {}) : /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Moon, {}) }) }, item)
34265
34298
  )),
34266
34299
  "\xA0"
34267
34300
  ]
@@ -34276,12 +34309,12 @@ var import_classnames52 = __toESM(require_classnames());
34276
34309
  var Toggle_default = { "toggle": "Toggle_toggle__OWVjZ" };
34277
34310
 
34278
34311
  // src/components/Toggle.tsx
34279
- var import_jsx_runtime68 = require("react/jsx-runtime");
34312
+ var import_jsx_runtime69 = require("react/jsx-runtime");
34280
34313
  function Toggle({ label, children, className, ...props }) {
34281
34314
  const isSelected = typeof props.value !== "undefined" ? !!props.value : void 0;
34282
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(import_jsx_runtime68.Fragment, { children: [
34283
- label && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Label2, { children: label }),
34284
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(
34315
+ return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(import_jsx_runtime69.Fragment, { children: [
34316
+ label && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Label2, { children: label }),
34317
+ /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
34285
34318
  $efde0372d7a700fe$export$d2b052e7b4be1756,
34286
34319
  {
34287
34320
  ...props,
@@ -34300,7 +34333,7 @@ var import_classnames53 = __toESM(require_classnames());
34300
34333
  var ToggleGroup_default = { "group": "ToggleGroup_group__NDJiO", "list": "ToggleGroup_list__NTM2M", "item": "ToggleGroup_item__MWFiY", "primary": "ToggleGroup_primary__ZTAyY" };
34301
34334
 
34302
34335
  // src/components/ToggleGroup.tsx
34303
- var import_jsx_runtime69 = require("react/jsx-runtime");
34336
+ var import_jsx_runtime70 = require("react/jsx-runtime");
34304
34337
  function ToggleGroup({
34305
34338
  label,
34306
34339
  value,
@@ -34319,7 +34352,7 @@ function ToggleGroup({
34319
34352
  onSelectionChange?.(keys);
34320
34353
  onChange?.(Array.from(keys).map((k) => k.toString()));
34321
34354
  };
34322
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)(
34355
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsxs)(
34323
34356
  $eaf9e70818b436db$export$67ea30858aaf75e3,
34324
34357
  {
34325
34358
  ...props,
@@ -34329,18 +34362,18 @@ function ToggleGroup({
34329
34362
  onSelectionChange: handleChange,
34330
34363
  className: (0, import_classnames53.default)(ToggleGroup_default.group, className, variant && ToggleGroup_default[variant]),
34331
34364
  children: [
34332
- label && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(Label2, { children: label }),
34333
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)($eaf9e70818b436db$export$f9fef0f55402315b, { className: ToggleGroup_default.list, children })
34365
+ label && /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Label2, { children: label }),
34366
+ /* @__PURE__ */ (0, import_jsx_runtime70.jsx)($eaf9e70818b436db$export$f9fef0f55402315b, { className: ToggleGroup_default.list, children })
34334
34367
  ]
34335
34368
  }
34336
34369
  );
34337
34370
  }
34338
34371
  function ToggleGroupItem({ className, children, ...props }) {
34339
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)($eaf9e70818b436db$export$3288d34c523a1192, { ...props, className: (0, import_classnames53.default)(ToggleGroup_default.item, className), children });
34372
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)($eaf9e70818b436db$export$3288d34c523a1192, { ...props, className: (0, import_classnames53.default)(ToggleGroup_default.item, className), children });
34340
34373
  }
34341
34374
 
34342
34375
  // src/components/ZenProvider.tsx
34343
- var import_jsx_runtime70 = require("react/jsx-runtime");
34376
+ var import_jsx_runtime71 = require("react/jsx-runtime");
34344
34377
  var defaultToastConfig = {
34345
34378
  duration: 3e3
34346
34379
  };
@@ -34351,7 +34384,7 @@ function ZenProvider({
34351
34384
  toast = defaultToastConfig
34352
34385
  }) {
34353
34386
  useInitTheme(theme, colorScheme);
34354
- return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(ToastProvider, { ...toast, children });
34387
+ return /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ToastProvider, { ...toast, children });
34355
34388
  }
34356
34389
  /*! Bundled license information:
34357
34390