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.
@@ -1,4 +1,4 @@
1
- import { z, A, B, E, I, N, C, j, i, S, b, l, n, F, D, c, e, f, x, k, p, h, t, q, v, w, u, y } from "./index-BN2rPcEc.mjs";
1
+ import { z, A, B, E, I, N, C, j, i, S, b, l, n, F, D, c, e, f, x, k, p, h, t, q, v, w, u, y } from "./index-BmTqBdiA.mjs";
2
2
  import { X } from "./xmlui-serializer-CQnuXBof.mjs";
3
3
  export {
4
4
  z as ApiInterceptorProvider,
@@ -2273,39 +2273,42 @@ See this source for details: https://css-tricks.com/line-clampin/
2273
2273
  * This function allows other CSS modules to get the value of the CSS variable specified in $componentVariable.
2274
2274
  Optionally, you can provide a $fallbackValue to set the variable's value if that is not defined.
2275
2275
  */
2276
- ._container_rshqv_13 {
2276
+ ._container_rso68_13 {
2277
2277
  display: flex;
2278
2278
  width: 100%;
2279
2279
  flex-direction: column;
2280
2280
  align-items: start;
2281
2281
  gap: 0.5em;
2282
2282
  }
2283
- ._container_rshqv_13._top_rshqv_20 {
2283
+ ._container_rso68_13._top_rso68_20 {
2284
2284
  flex-direction: column;
2285
2285
  align-items: start;
2286
2286
  justify-content: center;
2287
2287
  }
2288
- ._container_rshqv_13._end_rshqv_25 {
2288
+ ._container_rso68_13._end_rso68_25 {
2289
2289
  flex-direction: row-reverse;
2290
2290
  align-items: center;
2291
2291
  justify-content: start;
2292
2292
  gap: 0.5em;
2293
2293
  }
2294
- ._container_rshqv_13._bottom_rshqv_31 {
2294
+ ._container_rso68_13._bottom_rso68_31 {
2295
2295
  flex-direction: column-reverse;
2296
2296
  align-items: start;
2297
2297
  justify-content: center;
2298
2298
  }
2299
- ._container_rshqv_13._start_rshqv_36 {
2299
+ ._container_rso68_13._start_rso68_36 {
2300
2300
  flex-direction: row;
2301
2301
  align-items: center;
2302
2302
  justify-content: start;
2303
2303
  gap: 0.5em;
2304
2304
  }
2305
- ._container_rshqv_13._shrinkToLabel_rshqv_42 {
2305
+ ._container_rso68_13._shrinkToLabel_rso68_42 {
2306
2306
  width: fit-content;
2307
2307
  }
2308
- ._container_rshqv_13 ._inputLabel_rshqv_45 {
2308
+ ._container_rso68_13 ._itemWithLabel_rso68_45 {
2309
+ width: 100%;
2310
+ }
2311
+ ._container_rso68_13 ._inputLabel_rso68_48 {
2309
2312
  display: flex;
2310
2313
  color: var(--xmlui-textColor-FormItemLabel);
2311
2314
  font-family: var(--xmlui-fontFamily-FormItemLabel);
@@ -2318,22 +2321,22 @@ See this source for details: https://css-tricks.com/line-clampin/
2318
2321
  word-break: normal;
2319
2322
  white-space: nowrap;
2320
2323
  }
2321
- ._container_rshqv_13 ._inputLabel_rshqv_45._disabled_rshqv_58 {
2324
+ ._container_rso68_13 ._inputLabel_rso68_48._disabled_rso68_61 {
2322
2325
  cursor: not-allowed;
2323
2326
  color: var(--xmlui-textColor--disabled);
2324
2327
  }
2325
- ._container_rshqv_13 ._inputLabel_rshqv_45._labelBreak_rshqv_62 {
2328
+ ._container_rso68_13 ._inputLabel_rso68_48._labelBreak_rso68_65 {
2326
2329
  white-space: normal;
2327
2330
  word-break: break-word;
2328
2331
  }
2329
- ._container_rshqv_13 ._inputLabel_rshqv_45._required_rshqv_66 {
2332
+ ._container_rso68_13 ._inputLabel_rso68_48._required_rso68_69 {
2330
2333
  color: var(--xmlui-textColor-FormItemLabel-required);
2331
2334
  font-size: var(--xmlui-fontSize-FormItemLabel-required);
2332
2335
  font-weight: var(--xmlui-fontWeight-FormItemLabel-required);
2333
2336
  font-style: var(--xmlui-fontStyle-FormItemLabel-required);
2334
2337
  text-transform: var(--xmlui-textTransform-FormItemLabel-required);
2335
2338
  }
2336
- ._container_rshqv_13 ._inputLabel_rshqv_45 ._requiredMark_rshqv_73 {
2339
+ ._container_rso68_13 ._inputLabel_rso68_48 ._requiredMark_rso68_76 {
2337
2340
  margin-left: 0.2em;
2338
2341
  color: var(--xmlui-textColor-FormItemLabel-requiredMark);
2339
2342
  }/*
@@ -2804,7 +2807,16 @@ See this source for details: https://css-tricks.com/line-clampin/
2804
2807
  * This function allows other CSS modules to get the value of the CSS variable specified in $componentVariable.
2805
2808
  Optionally, you can provide a $fallbackValue to set the variable's value if that is not defined.
2806
2809
  */
2807
- ._content_buj87_13._base_buj87_13 {
2810
+ ._linkWrapper_9n0c1_13 {
2811
+ outline: inherit;
2812
+ text-decoration: none;
2813
+ cursor: pointer;
2814
+ display: flex;
2815
+ align-items: center;
2816
+ position: relative;
2817
+ flex-shrink: 0;
2818
+ white-space: nowrap;
2819
+ gap: var(--xmlui-space-2);
2808
2820
  border-left: var(--xmlui-borderLeft-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)));
2809
2821
  border-right: var(--xmlui-borderRight-NavLink, var(--xmlui-borderHorizontal-NavLink, var(--xmlui-border-NavLink)));
2810
2822
  border-top: var(--xmlui-borderTop-NavLink, var(--xmlui-borderVertical-NavLink, var(--xmlui-border-NavLink)));
@@ -2830,127 +2842,91 @@ See this source for details: https://css-tricks.com/line-clampin/
2830
2842
  padding-right: var(--xmlui-paddingRight-NavLink, var(--xmlui-paddingHorizontal-NavLink, var(--xmlui-padding-NavLink)));
2831
2843
  padding-top: var(--xmlui-paddingTop-NavLink, var(--xmlui-paddingVertical-NavLink, var(--xmlui-padding-NavLink)));
2832
2844
  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
2845
  font-size: var(--xmlui-fontSize-NavLink);
2840
2846
  font-weight: var(--xmlui-fontWeight-NavLink);
2841
2847
  font-family: var(--xmlui-fontFamily-NavLink);
2842
2848
  word-wrap: var(--xmlui-wordWrap-NavLink);
2843
- position: relative;
2844
- transition: color 0.1s, background-color 0.1s;
2845
2849
  color: var(--xmlui-textColor-NavLink);
2846
2850
  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);
2851
+ transition: color 0.1s, background-color 0.1s;
2852
2852
  }
2853
- ._content_buj87_13._base_buj87_13 * {
2853
+ ._linkWrapper_9n0c1_13 * {
2854
2854
  color: var(--xmlui-textColor-NavLink);
2855
2855
  }
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);
2856
+ ._linkWrapper_9n0c1_13 ._icon_9n0c1_59 {
2857
+ color: var(--xmlui-color-icon-NavLink);
2869
2858
  }
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);
2859
+ ._linkWrapper_9n0c1_13._disabled_9n0c1_62 {
2860
+ cursor: not-allowed;
2861
+ color: var(--xmlui-textColor--disabled);
2872
2862
  }
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);
2863
+ ._linkWrapper_9n0c1_13._disabled_9n0c1_62 ._icon_9n0c1_59 {
2864
+ color: var(--xmlui-textColor--disabled);
2875
2865
  }
2876
- ._content_buj87_13._base_buj87_13:focus-visible {
2866
+ ._linkWrapper_9n0c1_13:focus-visible {
2877
2867
  outline-width: var(--xmlui-outlineWidth-NavLink--focus);
2878
2868
  outline-color: var(--xmlui-outlineColor-NavLink--focus);
2879
2869
  outline-style: var(--xmlui-outlineStyle-NavLink--focus);
2880
2870
  outline-offset: var(--xmlui-outlineOffset-NavLink--focus);
2881
2871
  }
2882
- ._content_buj87_13._base_buj87_13[role=menuitem] {
2872
+ ._linkWrapper_9n0c1_13[role=menuitem] {
2883
2873
  outline: none;
2884
2874
  }
2885
- ._content_buj87_13._base_buj87_13[role=menuitem]:not(:hover):focus-visible {
2875
+ ._linkWrapper_9n0c1_13[role=menuitem]:not(:hover):focus-visible {
2886
2876
  outline-width: var(--xmlui-outlineWidth-NavLink--focus);
2887
2877
  outline-color: var(--xmlui-outlineColor-NavLink--focus);
2888
2878
  outline-style: var(--xmlui-outlineStyle-NavLink--focus);
2889
2879
  outline-offset: var(--xmlui-outlineOffset-NavLink--focus);
2890
2880
  }
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);
2881
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:after {
2882
+ transition: color 0.1s, background-color 0.1s;
2883
+ position: absolute;
2884
+ left: 0.1em;
2885
+ right: 0.1em;
2886
+ bottom: 0;
2887
+ height: var(--xmlui-thickness-indicator-NavLink);
2888
+ border-radius: var(--xmlui-borderRadius-indicator-NavLink);
2889
+ content: "";
2890
+ }
2891
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84._vertical_9n0c1_94:after {
2892
+ top: 0;
2893
+ bottom: 0;
2894
+ left: 0;
2895
+ right: auto;
2896
+ width: var(--xmlui-thickness-indicator-NavLink);
2897
+ height: auto;
2895
2898
  }
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);
2899
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):hover, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):hover {
2900
+ color: var(--xmlui-textColor-NavLink--hover);
2901
+ background-color: var(--xmlui-backgroundColor-NavLink--hover);
2902
+ }
2903
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):hover *, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):hover * {
2904
+ color: var(--xmlui-textColor-NavLink--hover);
2899
2905
  }
2900
- ._content_buj87_13._base_buj87_13:active._displayActive_buj87_72:after {
2901
- background-color: var(--xmlui-color-indicator-NavLink--pressed);
2906
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([disabled]):hover:after, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:not([class*=disabled]):hover:after {
2907
+ background-color: var(--xmlui-color-indicator-NavLink--hover);
2902
2908
  }
2903
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109 {
2909
+ ._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
2910
  color: var(--xmlui-textColor-NavLink--active);
2905
2911
  background-color: var(--xmlui-backgroundColor-NavLink--active);
2906
2912
  font-weight: var(--xmlui-fontWeight-NavLink--active);
2907
2913
  }
2908
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109 * {
2914
+ ._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
2915
  font-weight: var(--xmlui-fontWeight-NavLink--active);
2910
2916
  color: var(--xmlui-textColor-NavLink--active);
2911
2917
  }
2912
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109 > * {
2913
- z-index: 1;
2918
+ ._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 {
2919
+ background-color: var(--xmlui-color-indicator-NavLink--active);
2914
2920
  }
2915
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:hover {
2921
+ ._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
2922
  color: var(--xmlui-textColor-NavLink--hover--active);
2917
2923
  background-color: var(--xmlui-backgroundColor-NavLink--hover--active);
2918
2924
  }
2919
- ._content_buj87_13._base_buj87_13._navItemActive_buj87_109:hover * {
2925
+ ._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
2926
  color: var(--xmlui-textColor-NavLink--hover--active);
2921
2927
  }
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;
2928
+ ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84:disabled._active_9n0c1_112:after, ._linkWrapper_9n0c1_13._displayIndicator_9n0c1_84._disabled_9n0c1_62._active_9n0c1_112:after {
2929
+ background-color: var(--xmlui-textColor--disabled);
2954
2930
  }/*
2955
2931
  * This file contains all CSS variables AppEngine uses for styling the UI, including individual visual components.
2956
2932
  *
@@ -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,
@@ -1627,17 +1627,18 @@ function getElementRef(element) {
1627
1627
  return element.props.ref || element.ref;
1628
1628
  }
1629
1629
  const themeVars$H = `'{"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)"}'`;
1630
- const container$3 = "_container_rshqv_13";
1631
- const top = "_top_rshqv_20";
1632
- const end = "_end_rshqv_25";
1633
- const bottom = "_bottom_rshqv_31";
1634
- const start = "_start_rshqv_36";
1635
- const shrinkToLabel = "_shrinkToLabel_rshqv_42";
1636
- const inputLabel = "_inputLabel_rshqv_45";
1637
- const disabled$8 = "_disabled_rshqv_58";
1638
- const labelBreak = "_labelBreak_rshqv_62";
1639
- const required = "_required_rshqv_66";
1640
- const requiredMark = "_requiredMark_rshqv_73";
1630
+ const container$3 = "_container_rso68_13";
1631
+ const top = "_top_rso68_20";
1632
+ const end = "_end_rso68_25";
1633
+ const bottom = "_bottom_rso68_31";
1634
+ const start = "_start_rso68_36";
1635
+ const shrinkToLabel = "_shrinkToLabel_rso68_42";
1636
+ const itemWithLabel = "_itemWithLabel_rso68_45";
1637
+ const inputLabel = "_inputLabel_rso68_48";
1638
+ const disabled$8 = "_disabled_rso68_61";
1639
+ const labelBreak = "_labelBreak_rso68_65";
1640
+ const required = "_required_rso68_69";
1641
+ const requiredMark = "_requiredMark_rso68_76";
1641
1642
  const styles$I = {
1642
1643
  themeVars: themeVars$H,
1643
1644
  container: container$3,
@@ -1646,6 +1647,7 @@ const styles$I = {
1646
1647
  bottom,
1647
1648
  start,
1648
1649
  shrinkToLabel,
1650
+ itemWithLabel,
1649
1651
  inputLabel,
1650
1652
  disabled: disabled$8,
1651
1653
  labelBreak,
@@ -1708,7 +1710,7 @@ const ItemWithLabel = forwardRef(function ItemWithLabel2({
1708
1710
  if (label2 === void 0 && !validationResult) {
1709
1711
  return /* @__PURE__ */ jsx(Slot, { style, id: inputId, ref, children });
1710
1712
  }
1711
- return /* @__PURE__ */ jsxs("div", { style, ref, children: [
1713
+ return /* @__PURE__ */ jsxs("div", { style, ref, className: styles$I.itemWithLabel, children: [
1712
1714
  /* @__PURE__ */ jsxs(
1713
1715
  "div",
1714
1716
  {
@@ -3222,23 +3224,19 @@ const Logo = forwardRef(function Logo2({
3222
3224
  }
3223
3225
  );
3224
3226
  });
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";
3227
+ 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)"}'`;
3228
+ const linkWrapper = "_linkWrapper_9n0c1_13";
3229
+ const disabled$7 = "_disabled_9n0c1_62";
3230
+ const displayIndicator = "_displayIndicator_9n0c1_84";
3231
+ const vertical$3 = "_vertical_9n0c1_94";
3232
+ const active$3 = "_active_9n0c1_112";
3233
3233
  const navLinkStyles = {
3234
3234
  themeVars: themeVars$C,
3235
- content: content$1,
3236
- base,
3237
- includeHoverIndicator,
3238
- displayActive,
3239
- navItemActive,
3235
+ linkWrapper,
3240
3236
  disabled: disabled$7,
3241
- vertical: vertical$3
3237
+ displayIndicator,
3238
+ vertical: vertical$3,
3239
+ active: active$3
3242
3240
  };
3243
3241
  function createUrlWithQueryParams(to) {
3244
3242
  if (!to || typeof to === "string" || typeof to === "number") {
@@ -3329,16 +3327,24 @@ const NavLink = forwardRef(function NavLink2({
3329
3327
  disabled: disabled2,
3330
3328
  to,
3331
3329
  sx = {},
3332
- displayActive: displayActive2 = true,
3330
+ displayActive = true,
3331
+ forceActive,
3333
3332
  vertical: vertical2,
3334
3333
  style,
3335
3334
  onClick,
3336
3335
  icon,
3337
- forceActive,
3338
3336
  ...rest
3339
3337
  }, ref) {
3340
3338
  const appLayoutContext = useAppLayoutContext();
3341
3339
  const navPanelContext = useContext(NavPanelContext);
3340
+ const [isClicked, setIsClicked] = useState(false);
3341
+ const onClickForButton = useCallback(
3342
+ (event) => {
3343
+ setIsClicked((last) => !last);
3344
+ onClick == null ? void 0 : onClick(event);
3345
+ },
3346
+ [onClick]
3347
+ );
3342
3348
  let safeVertical = vertical2;
3343
3349
  if (appLayoutContext && safeVertical === void 0) {
3344
3350
  safeVertical = getAppLayoutOrientation(appLayoutContext.layout) === "vertical" || (navPanelContext == null ? void 0 : navPanelContext.inDrawer);
@@ -3349,21 +3355,23 @@ const NavLink = forwardRef(function NavLink2({
3349
3355
  }
3350
3356
  }, [to]);
3351
3357
  const styleObj = { ...sx, ...style };
3352
- const baseClasses = classnames(navLinkStyles.content, navLinkStyles.base, {
3358
+ const sharedClasses = classnames(navLinkStyles.linkWrapper, {
3353
3359
  [navLinkStyles.disabled]: disabled2,
3354
3360
  [navLinkStyles.vertical]: safeVertical,
3355
- [navLinkStyles.includeHoverIndicator]: displayActive2,
3356
- [navLinkStyles.navItemActive]: displayActive2 && forceActive
3361
+ [navLinkStyles.displayIndicator]: displayActive
3357
3362
  });
3358
- let content2;
3363
+ let content2 = null;
3359
3364
  if (disabled2 || !smartTo) {
3360
3365
  content2 = /* @__PURE__ */ jsxs(
3361
3366
  "button",
3362
3367
  {
3368
+ id: uid,
3363
3369
  ...rest,
3364
3370
  ref,
3365
- onClick,
3366
- className: baseClasses,
3371
+ onClick: onClickForButton,
3372
+ className: classnames(sharedClasses, {
3373
+ [navLinkStyles.active]: displayActive && (isClicked || forceActive)
3374
+ }),
3367
3375
  style: styleObj,
3368
3376
  disabled: disabled2,
3369
3377
  children: [
@@ -3382,9 +3390,8 @@ const NavLink = forwardRef(function NavLink2({
3382
3390
  to: smartTo,
3383
3391
  style: styleObj,
3384
3392
  onClick,
3385
- className: ({ isActive }) => classnames(baseClasses, {
3386
- [navLinkStyles.displayActive]: displayActive2,
3387
- [navLinkStyles.navItemActive]: displayActive2 && (isActive || forceActive)
3393
+ className: ({ isActive }) => classnames(sharedClasses, {
3394
+ [navLinkStyles.active]: displayActive && (isActive || forceActive)
3388
3395
  }),
3389
3396
  children: [
3390
3397
  icon,
@@ -17426,6 +17433,7 @@ forwardRef(function NavGroup2({
17426
17433
  icon,
17427
17434
  renderChild,
17428
17435
  to,
17436
+ disabled: disabled2 = false,
17429
17437
  initiallyExpanded,
17430
17438
  iconHorizontalCollapsed,
17431
17439
  iconHorizontalExpanded,
@@ -17447,7 +17455,13 @@ forwardRef(function NavGroup2({
17447
17455
  iconVerticalCollapsed: iconVerticalCollapsed ?? defaultProps$3.iconVerticalCollapsed,
17448
17456
  iconVerticalExpanded: iconVerticalExpanded ?? defaultProps$3.iconVerticalExpanded
17449
17457
  };
17450
- }, [iconHorizontalCollapsed, iconHorizontalExpanded, iconVerticalCollapsed, iconVerticalExpanded, level]);
17458
+ }, [
17459
+ iconHorizontalCollapsed,
17460
+ iconHorizontalExpanded,
17461
+ iconVerticalCollapsed,
17462
+ iconVerticalExpanded,
17463
+ level
17464
+ ]);
17451
17465
  return /* @__PURE__ */ jsx(NavGroupContext.Provider, { value: navGroupContextValue, children: inline ? /* @__PURE__ */ jsx(
17452
17466
  ExpandableNavGroup,
17453
17467
  {
@@ -17458,7 +17472,8 @@ forwardRef(function NavGroup2({
17458
17472
  node,
17459
17473
  renderChild,
17460
17474
  ref,
17461
- initiallyExpanded
17475
+ initiallyExpanded,
17476
+ disabled: disabled2
17462
17477
  }
17463
17478
  ) : /* @__PURE__ */ jsx(
17464
17479
  DropDownNavGroup,
@@ -17468,7 +17483,8 @@ forwardRef(function NavGroup2({
17468
17483
  node,
17469
17484
  renderChild,
17470
17485
  ref,
17471
- to
17486
+ to,
17487
+ disabled: disabled2
17472
17488
  }
17473
17489
  ) });
17474
17490
  });
@@ -17479,7 +17495,8 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
17479
17495
  renderChild,
17480
17496
  node,
17481
17497
  to,
17482
- initiallyExpanded = false
17498
+ initiallyExpanded = false,
17499
+ disabled: disabled2 = false
17483
17500
  }, ref) {
17484
17501
  const { level, iconVerticalCollapsed, iconVerticalExpanded } = useContext(NavGroupContext);
17485
17502
  const [expanded, setExpanded] = useState(initiallyExpanded);
@@ -17488,11 +17505,21 @@ const ExpandableNavGroup = forwardRef(function ExpandableNavGroup2({
17488
17505
  paddingLeft: level >= 1 ? level * 2 + "em" : void 0
17489
17506
  };
17490
17507
  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
- ] }),
17508
+ /* @__PURE__ */ jsxs(
17509
+ NavLink,
17510
+ {
17511
+ style: toggleStyle,
17512
+ onClick: () => setExpanded((prev) => !prev),
17513
+ icon,
17514
+ to,
17515
+ disabled: disabled2,
17516
+ children: [
17517
+ label2,
17518
+ /* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
17519
+ /* @__PURE__ */ jsx(Icon, { name: expanded ? iconVerticalExpanded : iconVerticalCollapsed })
17520
+ ]
17521
+ }
17522
+ ),
17496
17523
  expanded && renderChild(node.children, {
17497
17524
  wrapChild: ({ node: node2 }, renderedChild) => {
17498
17525
  if (node2.type === "NavLink") {
@@ -17516,7 +17543,8 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
17516
17543
  icon,
17517
17544
  renderChild,
17518
17545
  node,
17519
- to
17546
+ to,
17547
+ disabled: disabled2 = false
17520
17548
  }, ref) {
17521
17549
  const {
17522
17550
  level,
@@ -17536,7 +17564,7 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
17536
17564
  }
17537
17565
  const [expanded, setExpanded] = useState(false);
17538
17566
  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: [
17567
+ /* @__PURE__ */ jsx(Trigger2, { asChild: true, disabled: disabled2, children: /* @__PURE__ */ jsxs(NavLink, { icon, style: { flexShrink: 0 }, vertical: level >= 1, to, disabled: disabled2, children: [
17540
17568
  label2,
17541
17569
  /* @__PURE__ */ jsx("div", { style: { flex: 1 } }),
17542
17570
  level === 0 && /* @__PURE__ */ jsx(Icon, { name: expanded ? iconVerticalExpanded : iconVerticalCollapsed }),
@@ -17577,10 +17605,11 @@ const DropDownNavGroup = forwardRef(function DropDownNavGroup2({
17577
17605
  });
17578
17606
  const COMP$m = "NavGroup";
17579
17607
  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.`,
17608
+ 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
17609
  props: {
17582
17610
  label: dLabel(),
17583
17611
  initiallyExpanded: d("This property defines whether the group is initially expanded or collapsed."),
17612
+ enabled: dEnabled(),
17584
17613
  to: {
17585
17614
  description: `This property defines an optional navigation link.`,
17586
17615
  valueType: "string"