xmlui 0.9.34 → 0.9.36

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.
@@ -673,39 +673,42 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
673
673
  * This function allows other CSS modules to get the value of the CSS variable specified in $componentVariable.
674
674
  Optionally, you can provide a $fallbackValue to set the variable's value if that is not defined.
675
675
  */
676
- ._container_rshqv_13 {
676
+ ._container_rso68_13 {
677
677
  display: flex;
678
678
  width: 100%;
679
679
  flex-direction: column;
680
680
  align-items: start;
681
681
  gap: 0.5em;
682
682
  }
683
- ._container_rshqv_13._top_rshqv_20 {
683
+ ._container_rso68_13._top_rso68_20 {
684
684
  flex-direction: column;
685
685
  align-items: start;
686
686
  justify-content: center;
687
687
  }
688
- ._container_rshqv_13._end_rshqv_25 {
688
+ ._container_rso68_13._end_rso68_25 {
689
689
  flex-direction: row-reverse;
690
690
  align-items: center;
691
691
  justify-content: start;
692
692
  gap: 0.5em;
693
693
  }
694
- ._container_rshqv_13._bottom_rshqv_31 {
694
+ ._container_rso68_13._bottom_rso68_31 {
695
695
  flex-direction: column-reverse;
696
696
  align-items: start;
697
697
  justify-content: center;
698
698
  }
699
- ._container_rshqv_13._start_rshqv_36 {
699
+ ._container_rso68_13._start_rso68_36 {
700
700
  flex-direction: row;
701
701
  align-items: center;
702
702
  justify-content: start;
703
703
  gap: 0.5em;
704
704
  }
705
- ._container_rshqv_13._shrinkToLabel_rshqv_42 {
705
+ ._container_rso68_13._shrinkToLabel_rso68_42 {
706
706
  width: fit-content;
707
707
  }
708
- ._container_rshqv_13 ._inputLabel_rshqv_45 {
708
+ ._container_rso68_13 ._itemWithLabel_rso68_45 {
709
+ width: 100%;
710
+ }
711
+ ._container_rso68_13 ._inputLabel_rso68_48 {
709
712
  display: flex;
710
713
  color: var(--xmlui-textColor-FormItemLabel);
711
714
  font-family: var(--xmlui-fontFamily-FormItemLabel);
@@ -718,22 +721,22 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
718
721
  word-break: normal;
719
722
  white-space: nowrap;
720
723
  }
721
- ._container_rshqv_13 ._inputLabel_rshqv_45._disabled_rshqv_58 {
724
+ ._container_rso68_13 ._inputLabel_rso68_48._disabled_rso68_61 {
722
725
  cursor: not-allowed;
723
726
  color: var(--xmlui-textColor--disabled);
724
727
  }
725
- ._container_rshqv_13 ._inputLabel_rshqv_45._labelBreak_rshqv_62 {
728
+ ._container_rso68_13 ._inputLabel_rso68_48._labelBreak_rso68_65 {
726
729
  white-space: normal;
727
730
  word-break: break-word;
728
731
  }
729
- ._container_rshqv_13 ._inputLabel_rshqv_45._required_rshqv_66 {
732
+ ._container_rso68_13 ._inputLabel_rso68_48._required_rso68_69 {
730
733
  color: var(--xmlui-textColor-FormItemLabel-required);
731
734
  font-size: var(--xmlui-fontSize-FormItemLabel-required);
732
735
  font-weight: var(--xmlui-fontWeight-FormItemLabel-required);
733
736
  font-style: var(--xmlui-fontStyle-FormItemLabel-required);
734
737
  text-transform: var(--xmlui-textTransform-FormItemLabel-required);
735
738
  }
736
- ._container_rshqv_13 ._inputLabel_rshqv_45 ._requiredMark_rshqv_73 {
739
+ ._container_rso68_13 ._inputLabel_rso68_48 ._requiredMark_rso68_76 {
737
740
  margin-left: 0.2em;
738
741
  color: var(--xmlui-textColor-FormItemLabel-requiredMark);
739
742
  }/*
@@ -809,7 +812,16 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
809
812
  * This function allows other CSS modules to get the value of the CSS variable specified in $componentVariable.
810
813
  Optionally, you can provide a $fallbackValue to set the variable's value if that is not defined.
811
814
  */
812
- ._content_buj87_13._base_buj87_13 {
815
+ ._linkWrapper_9n0c1_13 {
816
+ outline: inherit;
817
+ text-decoration: none;
818
+ cursor: pointer;
819
+ display: flex;
820
+ align-items: center;
821
+ position: relative;
822
+ flex-shrink: 0;
823
+ white-space: nowrap;
824
+ gap: var(--xmlui-space-2);
813
825
  border-left: var(--xmlui-borderLeft-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)));
814
826
  border-right: var(--xmlui-borderRight-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)));
815
827
  border-top: var(--xmlui-borderTop-NavLink, var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink)));
@@ -835,127 +847,91 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
835
847
  padding-right: var(--xmlui-paddingRight-NavLink, var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink)));
836
848
  padding-top: var(--xmlui-paddingTop-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)));
837
849
  padding-bottom: var(--xmlui-paddingBottom-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)));
838
- outline: inherit;
839
- text-decoration: none;
840
- cursor: pointer;
841
- display: flex;
842
- align-items: center;
843
- gap: var(--xmlui-space-2);
844
850
  font-size: var(--xmlui-fontSize-NavLink);
845
851
  font-weight: var(--xmlui-fontWeight-NavLink);
846
852
  font-family: var(--xmlui-fontFamily-NavLink);
847
853
  word-wrap: var(--xmlui-wordWrap-NavLink);
848
- position: relative;
849
- transition: color 0.1s, background-color 0.1s;
850
854
  color: var(--xmlui-textColor-NavLink);
851
855
  background-color: var(--xmlui-backgroundColor-NavLink);
852
- flex-shrink: 0;
853
- white-space: nowrap;
854
- }
855
- ._content_buj87_13._base_buj87_13 ._icon_buj87_56 {
856
- color: var(--xmlui-color-icon-NavLink);
856
+ transition: color 0.1s, background-color 0.1s;
857
857
  }
858
- ._content_buj87_13._base_buj87_13 * {
858
+ ._linkWrapper_9n0c1_13 * {
859
859
  color: var(--xmlui-textColor-NavLink);
860
860
  }
861
- ._content_buj87_13._base_buj87_13._includeHoverIndicator_buj87_62:after {
862
- transition: color 0.1s, background-color 0.1s;
863
- position: absolute;
864
- left: 0.1em;
865
- right: 0.1em;
866
- bottom: 0;
867
- height: var(--xmlui-thickness-indicator-NavLink);
868
- border-radius: var(--xmlui-borderRadius-indicator-NavLink);
869
- content: "";
870
- }
871
- ._content_buj87_13._base_buj87_13:hover._displayActive_buj87_72, ._content_buj87_13._base_buj87_13:focus-visible {
872
- color: var(--xmlui-textColor-NavLink--hover);
873
- background-color: var(--xmlui-backgroundColor-NavLink--hover);
861
+ ._linkWrapper_9n0c1_13 ._icon_9n0c1_59 {
862
+ color: var(--xmlui-color-icon-NavLink);
874
863
  }
875
- ._content_buj87_13._base_buj87_13:hover._displayActive_buj87_72 *, ._content_buj87_13._base_buj87_13:focus-visible * {
876
- color: var(--xmlui-textColor-NavLink--hover);
864
+ ._linkWrapper_9n0c1_13._disabled_9n0c1_62 {
865
+ cursor: not-allowed;
866
+ color: var(--xmlui-textColor--disabled);
877
867
  }
878
- ._content_buj87_13._base_buj87_13:hover._displayActive_buj87_72:after, ._content_buj87_13._base_buj87_13:focus-visible:after {
879
- background-color: var(--xmlui-color-indicator-NavLink--hover);
868
+ ._linkWrapper_9n0c1_13._disabled_9n0c1_62 ._icon_9n0c1_59 {
869
+ color: var(--xmlui-textColor--disabled);
880
870
  }
881
- ._content_buj87_13._base_buj87_13:focus-visible {
871
+ ._linkWrapper_9n0c1_13:focus-visible {
882
872
  outline-width: var(--xmlui-outlineWidth-NavLink--focus);
883
873
  outline-color: var(--xmlui-outlineColor-NavLink--focus);
884
874
  outline-style: var(--xmlui-outlineStyle-NavLink--focus);
885
875
  outline-offset: var(--xmlui-outlineOffset-NavLink--focus);
886
876
  }
887
- ._content_buj87_13._base_buj87_13[role=menuitem] {
877
+ ._linkWrapper_9n0c1_13[role=menuitem] {
888
878
  outline: none;
889
879
  }
890
- ._content_buj87_13._base_buj87_13[role=menuitem]:not(:hover):focus-visible {
880
+ ._linkWrapper_9n0c1_13[role=menuitem]:not(:hover):focus-visible {
891
881
  outline-width: var(--xmlui-outlineWidth-NavLink--focus);
892
882
  outline-color: var(--xmlui-outlineColor-NavLink--focus);
893
883
  outline-style: var(--xmlui-outlineStyle-NavLink--focus);
894
884
  outline-offset: var(--xmlui-outlineOffset-NavLink--focus);
895
885
  }
896
- ._content_buj87_13._base_buj87_13:active._displayActive_buj87_72 {
897
- color: var(--xmlui-textColor-NavLink--pressed);
898
- background-color: var(--xmlui-backgroundColor-NavLink--pressed);
899
- font-weight: var(--xmlui-fontWeight-NavLink--pressed);
886
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:after {
887
+ transition: color 0.1s, background-color 0.1s;
888
+ position: absolute;
889
+ left: 0.1em;
890
+ right: 0.1em;
891
+ bottom: 0;
892
+ height: var(--xmlui-thickness-indicator-NavLink);
893
+ border-radius: var(--xmlui-borderRadius-indicator-NavLink);
894
+ content: "";
895
+ }
896
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84._vertical_9n0c1_94:after {
897
+ top: 0;
898
+ bottom: 0;
899
+ left: 0;
900
+ right: auto;
901
+ width: var(--xmlui-thickness-indicator-NavLink);
902
+ height: auto;
903
+ }
904
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):hover, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):hover {
905
+ color: var(--xmlui-textColor-NavLink--hover);
906
+ background-color: var(--xmlui-backgroundColor-NavLink--hover);
900
907
  }
901
- ._content_buj87_13._base_buj87_13:active._displayActive_buj87_72 * {
902
- font-weight: var(--xmlui-fontWeight-NavLink--pressed);
903
- color: var(--xmlui-textColor-NavLink--pressed);
908
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):hover *, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):hover * {
909
+ color: var(--xmlui-textColor-NavLink--hover);
904
910
  }
905
- ._content_buj87_13._base_buj87_13:active._displayActive_buj87_72:after {
906
- background-color: var(--xmlui-color-indicator-NavLink--pressed);
911
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):hover:after, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):hover:after {
912
+ background-color: var(--xmlui-color-indicator-NavLink--hover);
907
913
  }
908
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109 {
914
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):active, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):active, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled])._active_9n0c1_112, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled])._active_9n0c1_112 {
909
915
  color: var(--xmlui-textColor-NavLink--active);
910
916
  background-color: var(--xmlui-backgroundColor-NavLink--active);
911
917
  font-weight: var(--xmlui-fontWeight-NavLink--active);
912
918
  }
913
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109 * {
919
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):active *, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):active *, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled])._active_9n0c1_112 *, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled])._active_9n0c1_112 * {
914
920
  font-weight: var(--xmlui-fontWeight-NavLink--active);
915
921
  color: var(--xmlui-textColor-NavLink--active);
916
922
  }
917
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109 > * {
918
- z-index: 1;
923
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):active:after, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):active:after, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled])._active_9n0c1_112:after, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled])._active_9n0c1_112:after {
924
+ background-color: var(--xmlui-color-indicator-NavLink--active);
919
925
  }
920
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:hover {
926
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):active:hover, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):active:hover, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled])._active_9n0c1_112:hover, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled])._active_9n0c1_112:hover {
921
927
  color: var(--xmlui-textColor-NavLink--hover--active);
922
928
  background-color: var(--xmlui-backgroundColor-NavLink--hover--active);
923
929
  }
924
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:hover * {
930
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):active:hover *, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):active:hover *, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled])._active_9n0c1_112:hover *, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled])._active_9n0c1_112:hover * {
925
931
  color: var(--xmlui-textColor-NavLink--hover--active);
926
932
  }
927
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:after {
928
- z-index: 0;
929
- background-color: var(--xmlui-color-indicator-NavLink--active);
930
- }
931
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:active {
932
- color: var(--xmlui-textColor-NavLink--pressed--active);
933
- background-color: var(--xmlui-backgroundColor-NavLink--pressed--active);
934
- font-weight: var(--xmlui-fontWeight-NavLink--pressed);
935
- }
936
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:active * {
937
- font-weight: var(--xmlui-fontWeight-NavLink--pressed);
938
- color: var(--xmlui-textColor-NavLink--pressed--active);
939
- }
940
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:active:after {
941
- background-color: var(--xmlui-color-indicator-NavLink--pressed);
942
- }
943
- ._content_buj87_13._base_buj87_13._disabled_buj87_144 {
944
- cursor: not-allowed;
945
- color: var(--xmlui-textColor--disabled);
946
- }
947
- ._content_buj87_13._base_buj87_13._vertical_buj87_148:after {
948
- top: 0;
949
- bottom: 0;
950
- left: 0;
951
- right: auto;
952
- width: var(--xmlui-thickness-indicator-NavLink);
953
- height: auto;
954
- border-radius: var(--xmlui-borderRadius-indicator-NavLink);
955
- }
956
- ._content_buj87_13._base_buj87_13._indented_buj87_157 {
957
- padding-left: 2.4em;
958
- flex-shrink: 0;
933
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:disabled._active_9n0c1_112:after, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84._disabled_9n0c1_62._active_9n0c1_112:after {
934
+ background-color: var(--xmlui-textColor--disabled);
959
935
  }/*
960
936
  * This file contains all CSS variables AppEngine uses for styling the UI, including individual visual components.
961
937
  *
@@ -18047,7 +18023,7 @@ li .htmlOl {
18047
18023
  });
18048
18024
  }
18049
18025
  }
18050
- var define_process_env_default$a = { NODE_ENV: "production", VITE_MOCK_ENABLED: true, VITE_MOCK_WORKER_LOCATION: "mockApi.js", VITE_USED_COMPONENTS_Pdf: "false", VITE_USED_COMPONENTS_Chart: "false", VITE_USER_COMPONENTS_XmluiCodeHightlighter: "false", VITE_USED_COMPONENTS_Tree: "false", VITE_XMLUI_VERSION: "0.9.34 (built 5/19/2025)" };
18026
+ var define_process_env_default$a = { NODE_ENV: "production", VITE_MOCK_ENABLED: true, VITE_MOCK_WORKER_LOCATION: "mockApi.js", VITE_USED_COMPONENTS_Pdf: "false", VITE_USED_COMPONENTS_Chart: "false", VITE_USER_COMPONENTS_XmluiCodeHightlighter: "false", VITE_USED_COMPONENTS_Tree: "false", VITE_XMLUI_VERSION: "0.9.36 (built 5/20/2025)" };
18051
18027
  class Mutation extends Removable {
18052
18028
  constructor(config) {
18053
18029
  super();
@@ -19993,7 +19969,7 @@ ${error2.errorObject}`;
19993
19969
  throw errorToThrow ?? error2;
19994
19970
  }
19995
19971
  const themeVars$R = '"[]"';
19996
- const base$2 = "_base_724s4_13";
19972
+ const base$1 = "_base_724s4_13";
19997
19973
  const hoverContainer = "_hoverContainer_724s4_22";
19998
19974
  const handlesClick = "_handlesClick_724s4_35";
19999
19975
  const vertical$7 = "_vertical_724s4_39";
@@ -20010,7 +19986,7 @@ ${error2.errorObject}`;
20010
19986
  const alignItemsBaseline = "_alignItemsBaseline_724s4_88";
20011
19987
  const styles$12 = {
20012
19988
  themeVars: themeVars$R,
20013
- base: base$2,
19989
+ base: base$1,
20014
19990
  hoverContainer,
20015
19991
  handlesClick,
20016
19992
  vertical: vertical$7,
@@ -29726,17 +29702,18 @@ ${error2.errorObject}`;
29726
29702
  return element2.props.ref || element2.ref;
29727
29703
  }
29728
29704
  const themeVars$M = `'{"textColor-FormItemLabel": "var(--xmlui-textColor-FormItemLabel)", "fontFamily-FormItemLabel": "var(--xmlui-fontFamily-FormItemLabel)", "fontSize-FormItemLabel": "var(--xmlui-fontSize-FormItemLabel)", "fontWeight-FormItemLabel": "var(--xmlui-fontWeight-FormItemLabel)", "fontStyle-FormItemLabel": "var(--xmlui-fontStyle-FormItemLabel)", "textTransform-FormItemLabel": "var(--xmlui-textTransform-FormItemLabel)", "textColor-FormItemLabel-required": "var(--xmlui-textColor-FormItemLabel-required)", "fontSize-FormItemLabel-required": "var(--xmlui-fontSize-FormItemLabel-required)", "fontWeight-FormItemLabel-required": "var(--xmlui-fontWeight-FormItemLabel-required)", "fontStyle-FormItemLabel-required": "var(--xmlui-fontStyle-FormItemLabel-required)", "textTransform-FormItemLabel-required": "var(--xmlui-textTransform-FormItemLabel-required)", "textColor-FormItemLabel-requiredMark": "var(--xmlui-textColor-FormItemLabel-requiredMark)"}'`;
29729
- const container$3 = "_container_rshqv_13";
29730
- const top$2 = "_top_rshqv_20";
29731
- const end$1 = "_end_rshqv_25";
29732
- const bottom$2 = "_bottom_rshqv_31";
29733
- const start$1 = "_start_rshqv_36";
29734
- const shrinkToLabel = "_shrinkToLabel_rshqv_42";
29735
- const inputLabel = "_inputLabel_rshqv_45";
29736
- const disabled$8 = "_disabled_rshqv_58";
29737
- const labelBreak = "_labelBreak_rshqv_62";
29738
- const required = "_required_rshqv_66";
29739
- const requiredMark = "_requiredMark_rshqv_73";
29705
+ const container$3 = "_container_rso68_13";
29706
+ const top$2 = "_top_rso68_20";
29707
+ const end$1 = "_end_rso68_25";
29708
+ const bottom$2 = "_bottom_rso68_31";
29709
+ const start$1 = "_start_rso68_36";
29710
+ const shrinkToLabel = "_shrinkToLabel_rso68_42";
29711
+ const itemWithLabel = "_itemWithLabel_rso68_45";
29712
+ const inputLabel = "_inputLabel_rso68_48";
29713
+ const disabled$8 = "_disabled_rso68_61";
29714
+ const labelBreak = "_labelBreak_rso68_65";
29715
+ const required = "_required_rso68_69";
29716
+ const requiredMark = "_requiredMark_rso68_76";
29740
29717
  const styles$$ = {
29741
29718
  themeVars: themeVars$M,
29742
29719
  container: container$3,
@@ -29745,6 +29722,7 @@ ${error2.errorObject}`;
29745
29722
  bottom: bottom$2,
29746
29723
  start: start$1,
29747
29724
  shrinkToLabel,
29725
+ itemWithLabel,
29748
29726
  inputLabel,
29749
29727
  disabled: disabled$8,
29750
29728
  labelBreak,
@@ -29807,7 +29785,7 @@ ${error2.errorObject}`;
29807
29785
  if (label2 === void 0 && !validationResult) {
29808
29786
  return /* @__PURE__ */ jsxRuntimeExports.jsx(Slot$4, { style: style2, id: inputId, ref, children });
29809
29787
  }
29810
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: style2, ref, children: [
29788
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { style: style2, ref, className: styles$$.itemWithLabel, children: [
29811
29789
  /* @__PURE__ */ jsxRuntimeExports.jsxs(
29812
29790
  "div",
29813
29791
  {
@@ -30246,25 +30224,21 @@ ${error2.errorObject}`;
30246
30224
  );
30247
30225
  }
30248
30226
  );
30249
- const themeVars$K = `'{"padding-NavLink": "var(--xmlui-padding-NavLink)", "paddingHorizontal-NavLink": "var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink))", "paddingVertical-NavLink": "var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink))", "paddingLeft-NavLink": "var(--xmlui-paddingLeft-NavLink, var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink)))", "paddingRight-NavLink": "var(--xmlui-paddingRight-NavLink, var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink)))", "paddingTop-NavLink": "var(--xmlui-paddingTop-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)))", "paddingBottom-NavLink": "var(--xmlui-paddingBottom-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)))", "border-NavLink": "var(--xmlui-border-NavLink)", "borderHorizontal-NavLink": "var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink))", "borderVertical-NavLink": "var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink))", "borderLeft-NavLink": "var(--xmlui-borderLeft-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)))", "borderRight-NavLink": "var(--xmlui-borderRight-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)))", "borderTop-NavLink": "var(--xmlui-borderTop-NavLink, var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink)))", "borderBottom-NavLink": "var(--xmlui-borderBottom-NavLink, var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink)))", "borderWidth-NavLink": "var(--xmlui-borderWidth-NavLink)", "borderHorizontalWidth-NavLink": "var(--xmlui-borderHorizontalWidth-NavLink, var(--xmlui-borderWidth-NavLink))", "borderLeftWidth-NavLink": "var(--xmlui-borderLeftWidth-NavLink, var(--xmlui-borderHorizontalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderRightWidth-NavLink": "var(--xmlui-borderRightWidth-NavLink, var(--xmlui-borderHorizontalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderVerticalWidth-NavLink": "var(--xmlui-borderVerticalWidth-NavLink, var(--xmlui-borderWidth-NavLink))", "borderTopWidth-NavLink": "var(--xmlui-borderTopWidth-NavLink, var(--xmlui-borderVerticalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderBottomWidth-NavLink": "var(--xmlui-borderBottomWidth-NavLink, var(--xmlui-borderVerticalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderStyle-NavLink": "var(--xmlui-borderStyle-NavLink)", "borderHorizontalStyle-NavLink": "var(--xmlui-borderHorizontalStyle-NavLink, var(--xmlui-borderStyle-NavLink))", "borderLeftStyle-NavLink": "var(--xmlui-borderLeftStyle-NavLink, var(--xmlui-borderHorizontalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderRightStyle-NavLink": "var(--xmlui-borderRightStyle-NavLink, var(--xmlui-borderHorizontalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderVerticalStyle-NavLink": "var(--xmlui-borderVerticalStyle-NavLink, var(--xmlui-borderStyle-NavLink))", "borderTopStyle-NavLink": "var(--xmlui-borderTopStyle-NavLink, var(--xmlui-borderVerticalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderBottomStyle-NavLink": "var(--xmlui-borderBottomStyle-NavLink, var(--xmlui-borderVerticalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderColor-NavLink": "var(--xmlui-borderColor-NavLink)", "borderHorizontalColor-NavLink": "var(--xmlui-borderHorizontalColor-NavLink, var(--xmlui-borderColor-NavLink))", "borderLeftColor-NavLink": "var(--xmlui-borderLeftColor-NavLink, var(--xmlui-borderHorizontalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderRightColor-NavLink": "var(--xmlui-borderRightColor-NavLink, var(--xmlui-borderHorizontalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderVerticalColor-NavLink": "var(--xmlui-borderVerticalColor-NavLink, var(--xmlui-borderColor-NavLink))", "borderTopColor-NavLink": "var(--xmlui-borderTopColor-NavLink, var(--xmlui-borderVerticalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderBottomColor-NavLink": "var(--xmlui-borderBottomColor-NavLink, var(--xmlui-borderVerticalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderStartStartRadius-NavLink": "var(--xmlui-borderStartStartRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "borderStartEndRadius-NavLink": "var(--xmlui-borderStartEndRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "borderEndStartRadius-NavLink": "var(--xmlui-borderEndStartRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "borderEndEndRadius-NavLink": "var(--xmlui-borderEndEndRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "backgroundColor-NavLink": "var(--xmlui-backgroundColor-NavLink)", "backgroundColor-NavLink--hover": "var(--xmlui-backgroundColor-NavLink--hover)", "backgroundColor-NavLink--hover--active": "var(--xmlui-backgroundColor-NavLink--hover--active)", "backgroundColor-NavLink--active": "var(--xmlui-backgroundColor-NavLink--active)", "backgroundColor-NavLink--pressed": "var(--xmlui-backgroundColor-NavLink--pressed)", "backgroundColor-NavLink--pressed--active": "var(--xmlui-backgroundColor-NavLink--pressed--active)", "fontSize-NavLink": "var(--xmlui-fontSize-NavLink)", "wordWrap-NavLink": "var(--xmlui-wordWrap-NavLink)", "textColor-NavLink": "var(--xmlui-textColor-NavLink)", "textColor-NavLink--hover": "var(--xmlui-textColor-NavLink--hover)", "textColor-NavLink--active": "var(--xmlui-textColor-NavLink--active)", "textColor-NavLink--hover--active": "var(--xmlui-textColor-NavLink--hover--active)", "textColor-NavLink--pressed": "var(--xmlui-textColor-NavLink--pressed)", "textColor-NavLink--pressed--active": "var(--xmlui-textColor-NavLink--pressed--active)", "color-icon-NavLink": "var(--xmlui-color-icon-NavLink)", "fontFamily-NavLink": "var(--xmlui-fontFamily-NavLink)", "fontWeight-NavLink": "var(--xmlui-fontWeight-NavLink)", "fontWeight-NavLink--pressed": "var(--xmlui-fontWeight-NavLink--pressed)", "fontWeight-NavLink--active": "var(--xmlui-fontWeight-NavLink--active)", "borderRadius-indicator-NavLink": "var(--xmlui-borderRadius-indicator-NavLink)", "thickness-indicator-NavLink": "var(--xmlui-thickness-indicator-NavLink)", "color-indicator-NavLink": "var(--xmlui-color-indicator-NavLink)", "color-indicator-NavLink--hover": "var(--xmlui-color-indicator-NavLink--hover)", "color-indicator-NavLink--active": "var(--xmlui-color-indicator-NavLink--active)", "color-indicator-NavLink--pressed": "var(--xmlui-color-indicator-NavLink--pressed)", "outlineWidth-NavLink--focus": "var(--xmlui-outlineWidth-NavLink--focus)", "outlineColor-NavLink--focus": "var(--xmlui-outlineColor-NavLink--focus)", "outlineStyle-NavLink--focus": "var(--xmlui-outlineStyle-NavLink--focus)", "outlineOffset-NavLink--focus": "var(--xmlui-outlineOffset-NavLink--focus)"}'`;
30250
- const content$5 = "_content_buj87_13";
30251
- const base$1 = "_base_buj87_13";
30252
- const icon$2 = "_icon_buj87_56";
30253
- const includeHoverIndicator = "_includeHoverIndicator_buj87_62";
30254
- const displayActive = "_displayActive_buj87_72";
30255
- const navItemActive = "_navItemActive_buj87_109";
30256
- const disabled$7 = "_disabled_buj87_144";
30257
- const vertical$6 = "_vertical_buj87_148";
30227
+ const themeVars$K = `'{"padding-NavLink": "var(--xmlui-padding-NavLink)", "paddingHorizontal-NavLink": "var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink))", "paddingVertical-NavLink": "var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink))", "paddingLeft-NavLink": "var(--xmlui-paddingLeft-NavLink, var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink)))", "paddingRight-NavLink": "var(--xmlui-paddingRight-NavLink, var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink)))", "paddingTop-NavLink": "var(--xmlui-paddingTop-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)))", "paddingBottom-NavLink": "var(--xmlui-paddingBottom-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)))", "border-NavLink": "var(--xmlui-border-NavLink)", "borderHorizontal-NavLink": "var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink))", "borderVertical-NavLink": "var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink))", "borderLeft-NavLink": "var(--xmlui-borderLeft-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)))", "borderRight-NavLink": "var(--xmlui-borderRight-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)))", "borderTop-NavLink": "var(--xmlui-borderTop-NavLink, var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink)))", "borderBottom-NavLink": "var(--xmlui-borderBottom-NavLink, var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink)))", "borderWidth-NavLink": "var(--xmlui-borderWidth-NavLink)", "borderHorizontalWidth-NavLink": "var(--xmlui-borderHorizontalWidth-NavLink, var(--xmlui-borderWidth-NavLink))", "borderLeftWidth-NavLink": "var(--xmlui-borderLeftWidth-NavLink, var(--xmlui-borderHorizontalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderRightWidth-NavLink": "var(--xmlui-borderRightWidth-NavLink, var(--xmlui-borderHorizontalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderVerticalWidth-NavLink": "var(--xmlui-borderVerticalWidth-NavLink, var(--xmlui-borderWidth-NavLink))", "borderTopWidth-NavLink": "var(--xmlui-borderTopWidth-NavLink, var(--xmlui-borderVerticalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderBottomWidth-NavLink": "var(--xmlui-borderBottomWidth-NavLink, var(--xmlui-borderVerticalWidth-NavLink, var(--xmlui-borderWidth-NavLink)))", "borderStyle-NavLink": "var(--xmlui-borderStyle-NavLink)", "borderHorizontalStyle-NavLink": "var(--xmlui-borderHorizontalStyle-NavLink, var(--xmlui-borderStyle-NavLink))", "borderLeftStyle-NavLink": "var(--xmlui-borderLeftStyle-NavLink, var(--xmlui-borderHorizontalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderRightStyle-NavLink": "var(--xmlui-borderRightStyle-NavLink, var(--xmlui-borderHorizontalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderVerticalStyle-NavLink": "var(--xmlui-borderVerticalStyle-NavLink, var(--xmlui-borderStyle-NavLink))", "borderTopStyle-NavLink": "var(--xmlui-borderTopStyle-NavLink, var(--xmlui-borderVerticalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderBottomStyle-NavLink": "var(--xmlui-borderBottomStyle-NavLink, var(--xmlui-borderVerticalStyle-NavLink, var(--xmlui-borderStyle-NavLink)))", "borderColor-NavLink": "var(--xmlui-borderColor-NavLink)", "borderHorizontalColor-NavLink": "var(--xmlui-borderHorizontalColor-NavLink, var(--xmlui-borderColor-NavLink))", "borderLeftColor-NavLink": "var(--xmlui-borderLeftColor-NavLink, var(--xmlui-borderHorizontalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderRightColor-NavLink": "var(--xmlui-borderRightColor-NavLink, var(--xmlui-borderHorizontalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderVerticalColor-NavLink": "var(--xmlui-borderVerticalColor-NavLink, var(--xmlui-borderColor-NavLink))", "borderTopColor-NavLink": "var(--xmlui-borderTopColor-NavLink, var(--xmlui-borderVerticalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderBottomColor-NavLink": "var(--xmlui-borderBottomColor-NavLink, var(--xmlui-borderVerticalColor-NavLink, var(--xmlui-borderColor-NavLink)))", "borderStartStartRadius-NavLink": "var(--xmlui-borderStartStartRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "borderStartEndRadius-NavLink": "var(--xmlui-borderStartEndRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "borderEndStartRadius-NavLink": "var(--xmlui-borderEndStartRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "borderEndEndRadius-NavLink": "var(--xmlui-borderEndEndRadius-NavLink, var(--xmlui-borderRadius-NavLink))", "outlineWidth-NavLink--focus": "var(--xmlui-outlineWidth-NavLink--focus)", "outlineColor-NavLink--focus": "var(--xmlui-outlineColor-NavLink--focus)", "outlineStyle-NavLink--focus": "var(--xmlui-outlineStyle-NavLink--focus)", "outlineOffset-NavLink--focus": "var(--xmlui-outlineOffset-NavLink--focus)", "fontFamily-NavLink": "var(--xmlui-fontFamily-NavLink)", "fontWeight-NavLink": "var(--xmlui-fontWeight-NavLink)", "fontWeight-NavLink--pressed": "var(--xmlui-fontWeight-NavLink--pressed)", "fontWeight-NavLink--active": "var(--xmlui-fontWeight-NavLink--active)", "fontSize-NavLink": "var(--xmlui-fontSize-NavLink)", "wordWrap-NavLink": "var(--xmlui-wordWrap-NavLink)", "backgroundColor-NavLink": "var(--xmlui-backgroundColor-NavLink)", "backgroundColor-NavLink--hover": "var(--xmlui-backgroundColor-NavLink--hover)", "backgroundColor-NavLink--active": "var(--xmlui-backgroundColor-NavLink--active)", "backgroundColor-NavLink--pressed": "var(--xmlui-backgroundColor-NavLink--pressed)", "textColor-NavLink": "var(--xmlui-textColor-NavLink)", "textColor-NavLink--hover": "var(--xmlui-textColor-NavLink--hover)", "textColor-NavLink--active": "var(--xmlui-textColor-NavLink--active)", "textColor-NavLink--hover--active": "var(--xmlui-textColor-NavLink--hover--active)", "textColor-NavLink--pressed": "var(--xmlui-textColor-NavLink--pressed)", "textColor-NavLink--pressed--active": "var(--xmlui-textColor-NavLink--pressed--active)", "color-icon-NavLink": "var(--xmlui-color-icon-NavLink)", "color-indicator-NavLink": "var(--xmlui-color-indicator-NavLink)", "color-indicator-NavLink--hover": "var(--xmlui-color-indicator-NavLink--hover)", "color-indicator-NavLink--active": "var(--xmlui-color-indicator-NavLink--active)", "backgroundColor-NavLink--hover--active": "var(--xmlui-backgroundColor-NavLink--hover--active)", "color-indicator-NavLink--pressed": "var(--xmlui-color-indicator-NavLink--pressed)", "backgroundColor-NavLink--pressed--active": "var(--xmlui-backgroundColor-NavLink--pressed--active)", "thickness-indicator-NavLink": "var(--xmlui-thickness-indicator-NavLink)", "borderRadius-indicator-NavLink": "var(--xmlui-borderRadius-indicator-NavLink)"}'`;
30228
+ const linkWrapper = "_linkWrapper_9n0c1_13";
30229
+ const icon$2 = "_icon_9n0c1_59";
30230
+ const disabled$7 = "_disabled_9n0c1_62";
30231
+ const displayIndicator = "_displayIndicator_9n0c1_84";
30232
+ const vertical$6 = "_vertical_9n0c1_94";
30233
+ const active$4 = "_active_9n0c1_112";
30258
30234
  const navLinkStyles = {
30259
30235
  themeVars: themeVars$K,
30260
- content: content$5,
30261
- base: base$1,
30236
+ linkWrapper,
30262
30237
  icon: icon$2,
30263
- includeHoverIndicator,
30264
- displayActive,
30265
- navItemActive,
30266
30238
  disabled: disabled$7,
30267
- vertical: vertical$6
30239
+ displayIndicator,
30240
+ vertical: vertical$6,
30241
+ active: active$4
30268
30242
  };
30269
30243
  const themeVars$J = `'{"size-Icon": "var(--xmlui-size-Icon)", "thickness-stroke-Icon": "var(--xmlui-thickness-stroke-Icon)"}'`;
30270
30244
  const base = "_base_13qtg_13";
@@ -37744,16 +37718,24 @@ ${error2.errorObject}`;
37744
37718
  disabled: disabled2,
37745
37719
  to: to2,
37746
37720
  sx = {},
37747
- displayActive: displayActive2 = true,
37721
+ displayActive = true,
37722
+ forceActive,
37748
37723
  vertical: vertical2,
37749
37724
  style: style2,
37750
37725
  onClick,
37751
37726
  icon: icon2,
37752
- forceActive,
37753
37727
  ...rest
37754
37728
  }, ref) {
37755
37729
  const appLayoutContext = useAppLayoutContext();
37756
37730
  const navPanelContext = reactExports.useContext(NavPanelContext);
37731
+ const [isClicked, setIsClicked] = reactExports.useState(false);
37732
+ const onClickForButton = reactExports.useCallback(
37733
+ (event) => {
37734
+ setIsClicked((last2) => !last2);
37735
+ onClick == null ? void 0 : onClick(event);
37736
+ },
37737
+ [onClick]
37738
+ );
37757
37739
  let safeVertical = vertical2;
37758
37740
  if (appLayoutContext && safeVertical === void 0) {
37759
37741
  safeVertical = getAppLayoutOrientation(appLayoutContext.layout) === "vertical" || (navPanelContext == null ? void 0 : navPanelContext.inDrawer);
@@ -37764,21 +37746,23 @@ ${error2.errorObject}`;
37764
37746
  }
37765
37747
  }, [to2]);
37766
37748
  const styleObj = { ...sx, ...style2 };
37767
- const baseClasses = classnames(navLinkStyles.content, navLinkStyles.base, {
37749
+ const sharedClasses = classnames(navLinkStyles.linkWrapper, {
37768
37750
  [navLinkStyles.disabled]: disabled2,
37769
37751
  [navLinkStyles.vertical]: safeVertical,
37770
- [navLinkStyles.includeHoverIndicator]: displayActive2,
37771
- [navLinkStyles.navItemActive]: displayActive2 && forceActive
37752
+ [navLinkStyles.displayIndicator]: displayActive
37772
37753
  });
37773
- let content2;
37754
+ let content2 = null;
37774
37755
  if (disabled2 || !smartTo) {
37775
37756
  content2 = /* @__PURE__ */ jsxRuntimeExports.jsxs(
37776
37757
  "button",
37777
37758
  {
37759
+ id: uid,
37778
37760
  ...rest,
37779
37761
  ref,
37780
- onClick,
37781
- className: baseClasses,
37762
+ onClick: onClickForButton,
37763
+ className: classnames(sharedClasses, {
37764
+ [navLinkStyles.active]: displayActive && (isClicked || forceActive)
37765
+ }),
37782
37766
  style: styleObj,
37783
37767
  disabled: disabled2,
37784
37768
  children: [
@@ -37797,9 +37781,8 @@ ${error2.errorObject}`;
37797
37781
  to: smartTo,
37798
37782
  style: styleObj,
37799
37783
  onClick,
37800
- className: ({ isActive }) => classnames(baseClasses, {
37801
- [navLinkStyles.displayActive]: displayActive2,
37802
- [navLinkStyles.navItemActive]: displayActive2 && (isActive || forceActive)
37784
+ className: ({ isActive }) => classnames(sharedClasses, {
37785
+ [navLinkStyles.active]: displayActive && (isActive || forceActive)
37803
37786
  }),
37804
37787
  children: [
37805
37788
  icon2,
@@ -101004,6 +100987,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
101004
100987
  icon: icon2,
101005
100988
  renderChild: renderChild2,
101006
100989
  to: to2,
100990
+ disabled: disabled2 = false,
101007
100991
  initiallyExpanded,
101008
100992
  iconHorizontalCollapsed,
101009
100993
  iconHorizontalExpanded,
@@ -101025,7 +101009,13 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
101025
101009
  iconVerticalCollapsed: iconVerticalCollapsed ?? defaultProps$4.iconVerticalCollapsed,
101026
101010
  iconVerticalExpanded: iconVerticalExpanded ?? defaultProps$4.iconVerticalExpanded
101027
101011
  };
101028
- }, [iconHorizontalCollapsed, iconHorizontalExpanded, iconVerticalCollapsed, iconVerticalExpanded, level]);
101012
+ }, [
101013
+ iconHorizontalCollapsed,
101014
+ iconHorizontalExpanded,
101015
+ iconVerticalCollapsed,
101016
+ iconVerticalExpanded,
101017
+ level
101018
+ ]);
101029
101019
  return /* @__PURE__ */ jsxRuntimeExports.jsx(NavGroupContext.Provider, { value: navGroupContextValue, children: inline ? /* @__PURE__ */ jsxRuntimeExports.jsx(
101030
101020
  ExpandableNavGroup,
101031
101021
  {
@@ -101036,7 +101026,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
101036
101026
  node: node2,
101037
101027
  renderChild: renderChild2,
101038
101028
  ref,
101039
- initiallyExpanded
101029
+ initiallyExpanded,
101030
+ disabled: disabled2
101040
101031
  }
101041
101032
  ) : /* @__PURE__ */ jsxRuntimeExports.jsx(
101042
101033
  DropDownNavGroup,
@@ -101046,7 +101037,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
101046
101037
  node: node2,
101047
101038
  renderChild: renderChild2,
101048
101039
  ref,
101049
- to: to2
101040
+ to: to2,
101041
+ disabled: disabled2
101050
101042
  }
101051
101043
  ) });
101052
101044
  });
@@ -101057,7 +101049,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
101057
101049
  renderChild: renderChild2,
101058
101050
  node: node2,
101059
101051
  to: to2,
101060
- initiallyExpanded = false
101052
+ initiallyExpanded = false,
101053
+ disabled: disabled2 = false
101061
101054
  }, ref) {
101062
101055
  const { level, iconVerticalCollapsed, iconVerticalExpanded } = reactExports.useContext(NavGroupContext);
101063
101056
  const [expanded, setExpanded] = reactExports.useState(initiallyExpanded);
@@ -101066,11 +101059,21 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
101066
101059
  paddingLeft: level >= 1 ? level * 2 + "em" : void 0
101067
101060
  };
101068
101061
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
101069
- /* @__PURE__ */ jsxRuntimeExports.jsxs(NavLink, { style: toggleStyle, onClick: () => setExpanded((prev) => !prev), icon: icon2, to: to2, children: [
101070
- label2,
101071
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { flex: 1 } }),
101072
- /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { name: expanded ? iconVerticalExpanded : iconVerticalCollapsed })
101073
- ] }),
101062
+ /* @__PURE__ */ jsxRuntimeExports.jsxs(
101063
+ NavLink,
101064
+ {
101065
+ style: toggleStyle,
101066
+ onClick: () => setExpanded((prev) => !prev),
101067
+ icon: icon2,
101068
+ to: to2,
101069
+ disabled: disabled2,
101070
+ children: [
101071
+ label2,
101072
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { flex: 1 } }),
101073
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { name: expanded ? iconVerticalExpanded : iconVerticalCollapsed })
101074
+ ]
101075
+ }
101076
+ ),
101074
101077
  expanded && renderChild2(node2.children, {
101075
101078
  wrapChild: ({ node: node22 }, renderedChild) => {
101076
101079
  if (node22.type === "NavLink") {
@@ -101094,7 +101097,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
101094
101097
  icon: icon2,
101095
101098
  renderChild: renderChild2,
101096
101099
  node: node2,
101097
- to: to2
101100
+ to: to2,
101101
+ disabled: disabled2 = false
101098
101102
  }, ref) {
101099
101103
  const {
101100
101104
  level,
@@ -101114,7 +101118,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
101114
101118
  }
101115
101119
  const [expanded, setExpanded] = reactExports.useState(false);
101116
101120
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(Wrapper, { onOpenChange: (open) => setExpanded(open), children: [
101117
- /* @__PURE__ */ jsxRuntimeExports.jsx(Trigger3, { asChild: true, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(NavLink, { icon: icon2, style: { flexShrink: 0 }, vertical: level >= 1, to: to2, children: [
101121
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Trigger3, { asChild: true, disabled: disabled2, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(NavLink, { icon: icon2, style: { flexShrink: 0 }, vertical: level >= 1, to: to2, disabled: disabled2, children: [
101118
101122
  label2,
101119
101123
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: { flex: 1 } }),
101120
101124
  level === 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { name: expanded ? iconVerticalExpanded : iconVerticalCollapsed }),
@@ -101155,10 +101159,11 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
101155
101159
  });
101156
101160
  const COMP$B = "NavGroup";
101157
101161
  const NavGroupMd = createMetadata({
101158
- description: `The \`NavGroup\` component is a container for grouping related navigation targets (\`NavLink\` components). It can be displayed as a submenu in the App's UI.`,
101162
+ description: `The \`${COMP$B}\` component is a container for grouping related navigation targets (\`NavLink\` components). It can be displayed as a submenu in the App's UI.`,
101159
101163
  props: {
101160
101164
  label: dLabel(),
101161
101165
  initiallyExpanded: d$5("This property defines whether the group is initially expanded or collapsed."),
101166
+ enabled: dEnabled(),
101162
101167
  to: {
101163
101168
  description: `This property defines an optional navigation link.`,
101164
101169
  valueType: "string"
@@ -101203,6 +101208,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
101203
101208
  NavGroup,
101204
101209
  {
101205
101210
  label: extractValue.asDisplayText(node2.props.label),
101211
+ disabled: !extractValue.asOptionalBoolean(node2.props.enabled ?? true),
101206
101212
  to: extractValue.asOptionalString(node2.props.to),
101207
101213
  icon: /* @__PURE__ */ jsxRuntimeExports.jsx(Icon$1, { name: extractValue.asString(node2.props.icon), className: navLinkStyles.icon }),
101208
101214
  node: node2,
@@ -132474,7 +132480,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${titl
132474
132480
  function isResponseWithoutBody(status) {
132475
132481
  return RESPONSE_STATUS_CODES_WITHOUT_BODY.has(status);
132476
132482
  }
132477
- var define_process_env_default$6 = { NODE_ENV: "production", VITE_MOCK_ENABLED: true, VITE_MOCK_WORKER_LOCATION: "mockApi.js", VITE_USED_COMPONENTS_Pdf: "false", VITE_USED_COMPONENTS_Chart: "false", VITE_USER_COMPONENTS_XmluiCodeHightlighter: "false", VITE_USED_COMPONENTS_Tree: "false", VITE_XMLUI_VERSION: "0.9.34 (built 5/19/2025)" };
132483
+ var define_process_env_default$6 = { NODE_ENV: "production", VITE_MOCK_ENABLED: true, VITE_MOCK_WORKER_LOCATION: "mockApi.js", VITE_USED_COMPONENTS_Pdf: "false", VITE_USED_COMPONENTS_Chart: "false", VITE_USER_COMPONENTS_XmluiCodeHightlighter: "false", VITE_USED_COMPONENTS_Tree: "false", VITE_XMLUI_VERSION: "0.9.36 (built 5/20/2025)" };
132478
132484
  var __defProp$7 = Object.defineProperty;
132479
132485
  var __export = (target2, all2) => {
132480
132486
  for (var name2 in all2)
@@ -156257,7 +156263,7 @@ If this message still persists after updating, please report an issue: https://g
156257
156263
  /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { style: { display: "none" }, ref: spriteRootRef })
156258
156264
  ] });
156259
156265
  }
156260
- const version = "0.9.34";
156266
+ const version = "0.9.36";
156261
156267
  const miscellaneousUtils = {
156262
156268
  capitalize: capitalize$1,
156263
156269
  pluralize: pluralize$1,
@@ -161767,7 +161773,7 @@ If this message still persists after updating, please report an issue: https://g
161767
161773
  valueType: "boolean"
161768
161774
  }
161769
161775
  };
161770
- var define_process_env_default = { VITE_XMLUI_VERSION: "0.9.34 (built 5/19/2025)" };
161776
+ var define_process_env_default = { VITE_XMLUI_VERSION: "0.9.36 (built 5/20/2025)" };
161771
161777
  const MAIN_FILE = "Main." + componentFileExtension;
161772
161778
  const MAIN_CODE_BEHIND_FILE = "Main." + codeBehindFileExtension;
161773
161779
  const CONFIG_FILE = "config.json";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xmlui",
3
- "version": "0.9.34",
3
+ "version": "0.9.36",
4
4
  "sideEffects": false,
5
5
  "scripts": {
6
6
  "start-test-bed": "cd src/testing/infrastructure && xmlui start",