xmlui 0.9.34 → 0.9.35

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.
@@ -2804,7 +2804,16 @@ See this source for details: https://css-tricks.com/line-clampin/
2804
2804
  * This function allows other CSS modules to get the value of the CSS variable specified in $componentVariable.
2805
2805
  Optionally, you can provide a $fallbackValue to set the variable's value if that is not defined.
2806
2806
  */
2807
- ._content_buj87_13._base_buj87_13 {
2807
+ ._linkWrapper_9n0c1_13 {
2808
+ outline: inherit;
2809
+ text-decoration: none;
2810
+ cursor: pointer;
2811
+ display: flex;
2812
+ align-items: center;
2813
+ position: relative;
2814
+ flex-shrink: 0;
2815
+ white-space: nowrap;
2816
+ gap: var(--xmlui-space-2);
2808
2817
  border-left: var(--xmlui-borderLeft-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)));
2809
2818
  border-right: var(--xmlui-borderRight-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)));
2810
2819
  border-top: var(--xmlui-borderTop-NavLink, var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink)));
@@ -2830,127 +2839,91 @@ See this source for details: https://css-tricks.com/line-clampin/
2830
2839
  padding-right: var(--xmlui-paddingRight-NavLink, var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink)));
2831
2840
  padding-top: var(--xmlui-paddingTop-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)));
2832
2841
  padding-bottom: var(--xmlui-paddingBottom-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)));
2833
- outline: inherit;
2834
- text-decoration: none;
2835
- cursor: pointer;
2836
- display: flex;
2837
- align-items: center;
2838
- gap: var(--xmlui-space-2);
2839
2842
  font-size: var(--xmlui-fontSize-NavLink);
2840
2843
  font-weight: var(--xmlui-fontWeight-NavLink);
2841
2844
  font-family: var(--xmlui-fontFamily-NavLink);
2842
2845
  word-wrap: var(--xmlui-wordWrap-NavLink);
2843
- position: relative;
2844
- transition: color 0.1s, background-color 0.1s;
2845
2846
  color: var(--xmlui-textColor-NavLink);
2846
2847
  background-color: var(--xmlui-backgroundColor-NavLink);
2847
- flex-shrink: 0;
2848
- white-space: nowrap;
2849
- }
2850
- ._content_buj87_13._base_buj87_13 ._icon_buj87_56 {
2851
- color: var(--xmlui-color-icon-NavLink);
2848
+ transition: color 0.1s, background-color 0.1s;
2852
2849
  }
2853
- ._content_buj87_13._base_buj87_13 * {
2850
+ ._linkWrapper_9n0c1_13 * {
2854
2851
  color: var(--xmlui-textColor-NavLink);
2855
2852
  }
2856
- ._content_buj87_13._base_buj87_13._includeHoverIndicator_buj87_62:after {
2857
- transition: color 0.1s, background-color 0.1s;
2858
- position: absolute;
2859
- left: 0.1em;
2860
- right: 0.1em;
2861
- bottom: 0;
2862
- height: var(--xmlui-thickness-indicator-NavLink);
2863
- border-radius: var(--xmlui-borderRadius-indicator-NavLink);
2864
- content: "";
2865
- }
2866
- ._content_buj87_13._base_buj87_13:hover._displayActive_buj87_72, ._content_buj87_13._base_buj87_13:focus-visible {
2867
- color: var(--xmlui-textColor-NavLink--hover);
2868
- background-color: var(--xmlui-backgroundColor-NavLink--hover);
2853
+ ._linkWrapper_9n0c1_13 ._icon_9n0c1_59 {
2854
+ color: var(--xmlui-color-icon-NavLink);
2869
2855
  }
2870
- ._content_buj87_13._base_buj87_13:hover._displayActive_buj87_72 *, ._content_buj87_13._base_buj87_13:focus-visible * {
2871
- color: var(--xmlui-textColor-NavLink--hover);
2856
+ ._linkWrapper_9n0c1_13._disabled_9n0c1_62 {
2857
+ cursor: not-allowed;
2858
+ color: var(--xmlui-textColor--disabled);
2872
2859
  }
2873
- ._content_buj87_13._base_buj87_13:hover._displayActive_buj87_72:after, ._content_buj87_13._base_buj87_13:focus-visible:after {
2874
- background-color: var(--xmlui-color-indicator-NavLink--hover);
2860
+ ._linkWrapper_9n0c1_13._disabled_9n0c1_62 ._icon_9n0c1_59 {
2861
+ color: var(--xmlui-textColor--disabled);
2875
2862
  }
2876
- ._content_buj87_13._base_buj87_13:focus-visible {
2863
+ ._linkWrapper_9n0c1_13:focus-visible {
2877
2864
  outline-width: var(--xmlui-outlineWidth-NavLink--focus);
2878
2865
  outline-color: var(--xmlui-outlineColor-NavLink--focus);
2879
2866
  outline-style: var(--xmlui-outlineStyle-NavLink--focus);
2880
2867
  outline-offset: var(--xmlui-outlineOffset-NavLink--focus);
2881
2868
  }
2882
- ._content_buj87_13._base_buj87_13[role=menuitem] {
2869
+ ._linkWrapper_9n0c1_13[role=menuitem] {
2883
2870
  outline: none;
2884
2871
  }
2885
- ._content_buj87_13._base_buj87_13[role=menuitem]:not(:hover):focus-visible {
2872
+ ._linkWrapper_9n0c1_13[role=menuitem]:not(:hover):focus-visible {
2886
2873
  outline-width: var(--xmlui-outlineWidth-NavLink--focus);
2887
2874
  outline-color: var(--xmlui-outlineColor-NavLink--focus);
2888
2875
  outline-style: var(--xmlui-outlineStyle-NavLink--focus);
2889
2876
  outline-offset: var(--xmlui-outlineOffset-NavLink--focus);
2890
2877
  }
2891
- ._content_buj87_13._base_buj87_13:active._displayActive_buj87_72 {
2892
- color: var(--xmlui-textColor-NavLink--pressed);
2893
- background-color: var(--xmlui-backgroundColor-NavLink--pressed);
2894
- font-weight: var(--xmlui-fontWeight-NavLink--pressed);
2878
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:after {
2879
+ transition: color 0.1s, background-color 0.1s;
2880
+ position: absolute;
2881
+ left: 0.1em;
2882
+ right: 0.1em;
2883
+ bottom: 0;
2884
+ height: var(--xmlui-thickness-indicator-NavLink);
2885
+ border-radius: var(--xmlui-borderRadius-indicator-NavLink);
2886
+ content: "";
2887
+ }
2888
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84._vertical_9n0c1_94:after {
2889
+ top: 0;
2890
+ bottom: 0;
2891
+ left: 0;
2892
+ right: auto;
2893
+ width: var(--xmlui-thickness-indicator-NavLink);
2894
+ height: auto;
2895
2895
  }
2896
- ._content_buj87_13._base_buj87_13:active._displayActive_buj87_72 * {
2897
- font-weight: var(--xmlui-fontWeight-NavLink--pressed);
2898
- color: var(--xmlui-textColor-NavLink--pressed);
2896
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):hover, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):hover {
2897
+ color: var(--xmlui-textColor-NavLink--hover);
2898
+ background-color: var(--xmlui-backgroundColor-NavLink--hover);
2899
2899
  }
2900
- ._content_buj87_13._base_buj87_13:active._displayActive_buj87_72:after {
2901
- background-color: var(--xmlui-color-indicator-NavLink--pressed);
2900
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):hover *, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):hover * {
2901
+ color: var(--xmlui-textColor-NavLink--hover);
2902
+ }
2903
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):hover:after, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):hover:after {
2904
+ background-color: var(--xmlui-color-indicator-NavLink--hover);
2902
2905
  }
2903
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109 {
2906
+ ._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 {
2904
2907
  color: var(--xmlui-textColor-NavLink--active);
2905
2908
  background-color: var(--xmlui-backgroundColor-NavLink--active);
2906
2909
  font-weight: var(--xmlui-fontWeight-NavLink--active);
2907
2910
  }
2908
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109 * {
2911
+ ._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 * {
2909
2912
  font-weight: var(--xmlui-fontWeight-NavLink--active);
2910
2913
  color: var(--xmlui-textColor-NavLink--active);
2911
2914
  }
2912
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109 > * {
2913
- z-index: 1;
2915
+ ._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 {
2916
+ background-color: var(--xmlui-color-indicator-NavLink--active);
2914
2917
  }
2915
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:hover {
2918
+ ._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 {
2916
2919
  color: var(--xmlui-textColor-NavLink--hover--active);
2917
2920
  background-color: var(--xmlui-backgroundColor-NavLink--hover--active);
2918
2921
  }
2919
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:hover * {
2922
+ ._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 * {
2920
2923
  color: var(--xmlui-textColor-NavLink--hover--active);
2921
2924
  }
2922
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:after {
2923
- z-index: 0;
2924
- background-color: var(--xmlui-color-indicator-NavLink--active);
2925
- }
2926
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:active {
2927
- color: var(--xmlui-textColor-NavLink--pressed--active);
2928
- background-color: var(--xmlui-backgroundColor-NavLink--pressed--active);
2929
- font-weight: var(--xmlui-fontWeight-NavLink--pressed);
2930
- }
2931
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:active * {
2932
- font-weight: var(--xmlui-fontWeight-NavLink--pressed);
2933
- color: var(--xmlui-textColor-NavLink--pressed--active);
2934
- }
2935
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:active:after {
2936
- background-color: var(--xmlui-color-indicator-NavLink--pressed);
2937
- }
2938
- ._content_buj87_13._base_buj87_13._disabled_buj87_144 {
2939
- cursor: not-allowed;
2940
- color: var(--xmlui-textColor--disabled);
2941
- }
2942
- ._content_buj87_13._base_buj87_13._vertical_buj87_148:after {
2943
- top: 0;
2944
- bottom: 0;
2945
- left: 0;
2946
- right: auto;
2947
- width: var(--xmlui-thickness-indicator-NavLink);
2948
- height: auto;
2949
- border-radius: var(--xmlui-borderRadius-indicator-NavLink);
2950
- }
2951
- ._content_buj87_13._base_buj87_13._indented_buj87_157 {
2952
- padding-left: 2.4em;
2953
- flex-shrink: 0;
2925
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:disabled._active_9n0c1_112:after, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84._disabled_9n0c1_62._active_9n0c1_112:after {
2926
+ background-color: var(--xmlui-textColor--disabled);
2954
2927
  }/*
2955
2928
  * This file contains all CSS variables AppEngine uses for styling the UI, including individual visual components.
2956
2929
  *
@@ -488,10 +488,10 @@ function dOrientation(defaultValue, isRequired = false) {
488
488
  };
489
489
  }
490
490
  const themeVars$L = `'{"size-Icon": "var(--xmlui-size-Icon)", "thickness-stroke-Icon": "var(--xmlui-thickness-stroke-Icon)"}'`;
491
- const base$2 = "_base_13qtg_13";
491
+ const base$1 = "_base_13qtg_13";
492
492
  const styles$N = {
493
493
  themeVars: themeVars$L,
494
- base: base$2
494
+ base: base$1
495
495
  };
496
496
  function capitalizeFirstLetter(str) {
497
497
  return str[0].toUpperCase() + str.substring(1);
@@ -1206,7 +1206,7 @@ const ButtonMd = createMetadata({
1206
1206
  }
1207
1207
  });
1208
1208
  const themeVars$K = '"[]"';
1209
- const base$1 = "_base_724s4_13";
1209
+ const base = "_base_724s4_13";
1210
1210
  const hoverContainer = "_hoverContainer_724s4_22";
1211
1211
  const handlesClick = "_handlesClick_724s4_35";
1212
1212
  const vertical$4 = "_vertical_724s4_39";
@@ -1223,7 +1223,7 @@ const alignItemsEnd = "_alignItemsEnd_724s4_84";
1223
1223
  const alignItemsBaseline = "_alignItemsBaseline_724s4_88";
1224
1224
  const styles$M = {
1225
1225
  themeVars: themeVars$K,
1226
- base: base$1,
1226
+ base,
1227
1227
  hoverContainer,
1228
1228
  handlesClick,
1229
1229
  vertical: vertical$4,
@@ -3222,23 +3222,19 @@ const Logo = forwardRef(function Logo2({
3222
3222
  }
3223
3223
  );
3224
3224
  });
3225
- const themeVars$C = `'{"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)"}'`;
3226
- const content$1 = "_content_buj87_13";
3227
- const base = "_base_buj87_13";
3228
- const includeHoverIndicator = "_includeHoverIndicator_buj87_62";
3229
- const displayActive = "_displayActive_buj87_72";
3230
- const navItemActive = "_navItemActive_buj87_109";
3231
- const disabled$7 = "_disabled_buj87_144";
3232
- const vertical$3 = "_vertical_buj87_148";
3225
+ const themeVars$C = `'{"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)"}'`;
3226
+ const linkWrapper = "_linkWrapper_9n0c1_13";
3227
+ const disabled$7 = "_disabled_9n0c1_62";
3228
+ const displayIndicator = "_displayIndicator_9n0c1_84";
3229
+ const vertical$3 = "_vertical_9n0c1_94";
3230
+ const active$3 = "_active_9n0c1_112";
3233
3231
  const navLinkStyles = {
3234
3232
  themeVars: themeVars$C,
3235
- content: content$1,
3236
- base,
3237
- includeHoverIndicator,
3238
- displayActive,
3239
- navItemActive,
3233
+ linkWrapper,
3240
3234
  disabled: disabled$7,
3241
- vertical: vertical$3
3235
+ displayIndicator,
3236
+ vertical: vertical$3,
3237
+ active: active$3
3242
3238
  };
3243
3239
  function createUrlWithQueryParams(to) {
3244
3240
  if (!to || typeof to === "string" || typeof to === "number") {
@@ -3329,16 +3325,24 @@ const NavLink = forwardRef(function NavLink2({
3329
3325
  disabled: disabled2,
3330
3326
  to,
3331
3327
  sx = {},
3332
- displayActive: displayActive2 = true,
3328
+ displayActive = true,
3329
+ forceActive,
3333
3330
  vertical: vertical2,
3334
3331
  style,
3335
3332
  onClick,
3336
3333
  icon,
3337
- forceActive,
3338
3334
  ...rest
3339
3335
  }, ref) {
3340
3336
  const appLayoutContext = useAppLayoutContext();
3341
3337
  const navPanelContext = useContext(NavPanelContext);
3338
+ const [isClicked, setIsClicked] = useState(false);
3339
+ const onClickForButton = useCallback(
3340
+ (event) => {
3341
+ setIsClicked((last) => !last);
3342
+ onClick == null ? void 0 : onClick(event);
3343
+ },
3344
+ [onClick]
3345
+ );
3342
3346
  let safeVertical = vertical2;
3343
3347
  if (appLayoutContext && safeVertical === void 0) {
3344
3348
  safeVertical = getAppLayoutOrientation(appLayoutContext.layout) === "vertical" || (navPanelContext == null ? void 0 : navPanelContext.inDrawer);
@@ -3349,21 +3353,23 @@ const NavLink = forwardRef(function NavLink2({
3349
3353
  }
3350
3354
  }, [to]);
3351
3355
  const styleObj = { ...sx, ...style };
3352
- const baseClasses = classnames(navLinkStyles.content, navLinkStyles.base, {
3356
+ const sharedClasses = classnames(navLinkStyles.linkWrapper, {
3353
3357
  [navLinkStyles.disabled]: disabled2,
3354
3358
  [navLinkStyles.vertical]: safeVertical,
3355
- [navLinkStyles.includeHoverIndicator]: displayActive2,
3356
- [navLinkStyles.navItemActive]: displayActive2 && forceActive
3359
+ [navLinkStyles.displayIndicator]: displayActive
3357
3360
  });
3358
- let content2;
3361
+ let content2 = null;
3359
3362
  if (disabled2 || !smartTo) {
3360
3363
  content2 = /* @__PURE__ */ jsxs(
3361
3364
  "button",
3362
3365
  {
3366
+ id: uid,
3363
3367
  ...rest,
3364
3368
  ref,
3365
- onClick,
3366
- className: baseClasses,
3369
+ onClick: onClickForButton,
3370
+ className: classnames(sharedClasses, {
3371
+ [navLinkStyles.active]: displayActive && (isClicked || forceActive)
3372
+ }),
3367
3373
  style: styleObj,
3368
3374
  disabled: disabled2,
3369
3375
  children: [
@@ -3382,9 +3388,8 @@ const NavLink = forwardRef(function NavLink2({
3382
3388
  to: smartTo,
3383
3389
  style: styleObj,
3384
3390
  onClick,
3385
- className: ({ isActive }) => classnames(baseClasses, {
3386
- [navLinkStyles.displayActive]: displayActive2,
3387
- [navLinkStyles.navItemActive]: displayActive2 && (isActive || forceActive)
3391
+ className: ({ isActive }) => classnames(sharedClasses, {
3392
+ [navLinkStyles.active]: displayActive && (isActive || forceActive)
3388
3393
  }),
3389
3394
  children: [
3390
3395
  icon,
@@ -17426,6 +17431,7 @@ forwardRef(function NavGroup2({
17426
17431
  icon,
17427
17432
  renderChild,
17428
17433
  to,
17434
+ disabled: disabled2 = false,
17429
17435
  initiallyExpanded,
17430
17436
  iconHorizontalCollapsed,
17431
17437
  iconHorizontalExpanded,
@@ -17447,7 +17453,13 @@ forwardRef(function NavGroup2({
17447
17453
  iconVerticalCollapsed: iconVerticalCollapsed ?? defaultProps$3.iconVerticalCollapsed,
17448
17454
  iconVerticalExpanded: iconVerticalExpanded ?? defaultProps$3.iconVerticalExpanded
17449
17455
  };
17450
- }, [iconHorizontalCollapsed, iconHorizontalExpanded, iconVerticalCollapsed, iconVerticalExpanded, level]);
17456
+ }, [
17457
+ iconHorizontalCollapsed,
17458
+ iconHorizontalExpanded,
17459
+ iconVerticalCollapsed,
17460
+ iconVerticalExpanded,
17461
+ level
17462
+ ]);
17451
17463
  return /* @__PURE__ */ jsx(NavGroupContext.Provider, { value: navGroupContextValue, children: inline ? /* @__PURE__ */ jsx(
17452
17464
  ExpandableNavGroup,
17453
17465
  {
@@ -17458,7 +17470,8 @@ forwardRef(function NavGroup2({
17458
17470
  node,
17459
17471
  renderChild,
17460
17472
  ref,
17461
- initiallyExpanded
17473
+ initiallyExpanded,
17474
+ disabled: disabled2
17462
17475
  }
17463
17476
  ) : /* @__PURE__ */ jsx(
17464
17477
  DropDownNavGroup,
@@ -17468,7 +17481,8 @@ forwardRef(function NavGroup2({
17468
17481
  node,
17469
17482
  renderChild,
17470
17483
  ref,
17471
- to
17484
+ to,
17485
+ disabled: disabled2
17472
17486
  }
17473
17487
  ) });
17474
17488
  });
@@ -17479,7 +17493,8 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
17479
17493
  renderChild,
17480
17494
  node,
17481
17495
  to,
17482
- initiallyExpanded = false
17496
+ initiallyExpanded = false,
17497
+ disabled: disabled2 = false
17483
17498
  }, ref) {
17484
17499
  const { level, iconVerticalCollapsed, iconVerticalExpanded } = useContext(NavGroupContext);
17485
17500
  const [expanded, setExpanded] = useState(initiallyExpanded);
@@ -17488,11 +17503,21 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
17488
17503
  paddingLeft: level >= 1 ? level * 2 + "em" : void 0
17489
17504
  };
17490
17505
  return /* @__PURE__ */ jsxs(Fragment, { children: [
17491
- /* @__PURE__ */ jsxs(NavLink, { style: toggleStyle, onClick: () => setExpanded((prev) => !prev), icon, to, children: [
17492
- label2,
17493
- /* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
17494
- /* @__PURE__ */ jsx(Icon, { name: expanded ? iconVerticalExpanded : iconVerticalCollapsed })
17495
- ] }),
17506
+ /* @__PURE__ */ jsxs(
17507
+ NavLink,
17508
+ {
17509
+ style: toggleStyle,
17510
+ onClick: () => setExpanded((prev) => !prev),
17511
+ icon,
17512
+ to,
17513
+ disabled: disabled2,
17514
+ children: [
17515
+ label2,
17516
+ /* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
17517
+ /* @__PURE__ */ jsx(Icon, { name: expanded ? iconVerticalExpanded : iconVerticalCollapsed })
17518
+ ]
17519
+ }
17520
+ ),
17496
17521
  expanded && renderChild(node.children, {
17497
17522
  wrapChild: ({ node: node2 }, renderedChild) => {
17498
17523
  if (node2.type === "NavLink") {
@@ -17516,7 +17541,8 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
17516
17541
  icon,
17517
17542
  renderChild,
17518
17543
  node,
17519
- to
17544
+ to,
17545
+ disabled: disabled2 = false
17520
17546
  }, ref) {
17521
17547
  const {
17522
17548
  level,
@@ -17536,7 +17562,7 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
17536
17562
  }
17537
17563
  const [expanded, setExpanded] = useState(false);
17538
17564
  return /* @__PURE__ */ jsxs(Wrapper, { onOpenChange: (open) => setExpanded(open), children: [
17539
- /* @__PURE__ */ jsx(Trigger2, { asChild: true, children: /* @__PURE__ */ jsxs(NavLink, { icon, style: { flexShrink: 0 }, vertical: level >= 1, to, children: [
17565
+ /* @__PURE__ */ jsx(Trigger2, { asChild: true, disabled: disabled2, children: /* @__PURE__ */ jsxs(NavLink, { icon, style: { flexShrink: 0 }, vertical: level >= 1, to, disabled: disabled2, children: [
17540
17566
  label2,
17541
17567
  /* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
17542
17568
  level === 0 && /* @__PURE__ */ jsx(Icon, { name: expanded ? iconVerticalExpanded : iconVerticalCollapsed }),
@@ -17577,10 +17603,11 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
17577
17603
  });
17578
17604
  const COMP$m = "NavGroup";
17579
17605
  const NavGroupMd = createMetadata({
17580
- 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.`,
17606
+ description: `The \`${COMP$m}\` component is a container for grouping related navigation targets (\`NavLink\` components). It can be displayed as a submenu in the App's UI.`,
17581
17607
  props: {
17582
17608
  label: dLabel(),
17583
17609
  initiallyExpanded: d("This property defines whether the group is initially expanded or collapsed."),
17610
+ enabled: dEnabled(),
17584
17611
  to: {
17585
17612
  description: `This property defines an optional navigation link.`,
17586
17613
  valueType: "string"