@oliasoft-open-source/react-ui-library 3.1.20 → 3.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/global.css CHANGED
@@ -2869,17 +2869,17 @@ html[data-theme='dark'] {
2869
2869
  /*
2870
2870
  Z-INDEX
2871
2871
  */
2872
- ._wrapper_4p39y_329 {
2872
+ ._wrapper_chz6g_329 {
2873
2873
  display: inline-flex;
2874
2874
  max-width: 100%;
2875
2875
  }
2876
- ._layer_4p39y_333 ._wrapper_4p39y_329 {
2876
+ ._layer_chz6g_333 ._wrapper_chz6g_329 {
2877
2877
  width: 100%;
2878
2878
  }
2879
- ._layerContainer_4p39y_336 {
2879
+ ._layerContainer_chz6g_336 {
2880
2880
  z-index: 2002;
2881
2881
  }
2882
- ._layer_4p39y_333 {
2882
+ ._layer_chz6g_333 {
2883
2883
  border: 1px solid var(--color-border);
2884
2884
  border-radius: 4px;
2885
2885
  overflow: hidden;
@@ -2889,100 +2889,101 @@ html[data-theme='dark'] {
2889
2889
  min-width: 10em;
2890
2890
  max-width: 30em;
2891
2891
  position: relative;
2892
+ overflow-y: auto;
2892
2893
  }
2893
- ._layer_4p39y_333._nested_4p39y_350 {
2894
+ ._layer_chz6g_333._nested_chz6g_351 {
2894
2895
  margin: -1px 2px;
2895
2896
  }
2896
- ._layer_4p39y_333 ul {
2897
+ ._layer_chz6g_333 ul {
2897
2898
  margin: 0;
2898
2899
  padding: 0;
2899
2900
  list-style-type: none;
2900
2901
  }
2901
- ._layer_4p39y_333 ul li {
2902
+ ._layer_chz6g_333 ul li {
2902
2903
  list-style: none;
2903
2904
  display: block;
2904
2905
  }
2905
- ._fileInput_4p39y_362 {
2906
+ ._fileInput_chz6g_363 {
2906
2907
  width: 100%;
2907
2908
  height: 100%;
2908
2909
  opacity: 0;
2909
2910
  position: absolute;
2910
2911
  }
2911
- ._trigger_4p39y_368 {
2912
+ ._trigger_chz6g_369 {
2912
2913
  display: inline-flex;
2913
2914
  align-items: center;
2914
2915
  cursor: pointer;
2915
2916
  overflow: hidden;
2916
2917
  max-width: 100%;
2917
2918
  }
2918
- ._layer_4p39y_333 ._trigger_4p39y_368 {
2919
+ ._layer_chz6g_333 ._trigger_chz6g_369 {
2919
2920
  width: 100%;
2920
2921
  }
2921
- ._middleAlignedInline_4p39y_378 {
2922
+ ._middleAlignedInline_chz6g_379 {
2922
2923
  display: flex;
2923
2924
  align-items: center;
2924
2925
  overflow: hidden;
2925
2926
  width: 100%;
2926
2927
  }
2927
- ._heading_4p39y_384 {
2928
+ ._heading_chz6g_385 {
2928
2929
  color: var(--color-text-muted);
2929
2930
  letter-spacing: 0.1em;
2930
2931
  text-transform: uppercase;
2931
2932
  font-size: 12px;
2932
2933
  }
2933
- ._heading_4p39y_384 ._headingIcon_4p39y_390 {
2934
+ ._heading_chz6g_385 ._headingIcon_chz6g_391 {
2934
2935
  float: right;
2935
2936
  }
2936
- ._heading_4p39y_384 ._headingIcon_4p39y_390 svg {
2937
+ ._heading_chz6g_385 ._headingIcon_chz6g_391 svg {
2937
2938
  color: var(--color-text-faint);
2938
2939
  }
2939
- ._heading_4p39y_384 ._headingIcon_4p39y_390:hover {
2940
+ ._heading_chz6g_385 ._headingIcon_chz6g_391:hover {
2940
2941
  cursor: pointer;
2941
2942
  }
2942
- ._heading_4p39y_384 ._headingIcon_4p39y_390:hover svg {
2943
+ ._heading_chz6g_385 ._headingIcon_chz6g_391:hover svg {
2943
2944
  color: var(--color-text-primary-hover);
2944
2945
  }
2945
- ._option_4p39y_402 {
2946
+ ._option_chz6g_403 {
2946
2947
  color: inherit;
2947
2948
  display: block;
2948
2949
  }
2949
- ._heading_4p39y_384,
2950
- ._option_4p39y_402,
2951
- ._layer_4p39y_333 ._trigger_4p39y_368 {
2950
+ ._heading_chz6g_385,
2951
+ ._option_chz6g_403,
2952
+ ._layer_chz6g_333 ._trigger_chz6g_369 {
2952
2953
  padding: 8px 12px;
2953
2954
  }
2954
- ._option_4p39y_402,
2955
- ._layer_4p39y_333 ._trigger_4p39y_368 {
2955
+ ._option_chz6g_403,
2956
+ ._layer_chz6g_333 ._trigger_chz6g_369 {
2956
2957
  line-height: 20px;
2957
2958
  display: flex;
2958
2959
  align-items: flex-start;
2959
2960
  }
2960
- ._option_4p39y_402:hover,
2961
- ._layer_4p39y_333 ._trigger_4p39y_368:hover,
2962
- ._option_4p39y_402._active_4p39y_419,
2963
- ._layer_4p39y_333 ._trigger_4p39y_368._active_4p39y_419 {
2961
+ ._option_chz6g_403:hover,
2962
+ ._layer_chz6g_333 ._trigger_chz6g_369:hover,
2963
+ ._option_chz6g_403._active_chz6g_420,
2964
+ ._layer_chz6g_333 ._trigger_chz6g_369._active_chz6g_420 {
2964
2965
  background-color: var(--color-background-menuitem-hover);
2965
2966
  cursor: pointer;
2966
2967
  }
2967
- ._option_4p39y_402._selected_4p39y_424 {
2968
+ ._option_chz6g_403._selected_chz6g_425 {
2968
2969
  background-color: var(--color-background-menuitem-active);
2969
2970
  font-weight: bold;
2970
2971
  }
2971
- ._layer_4p39y_333 ._trigger_4p39y_368 {
2972
+ ._layer_chz6g_333 ._trigger_chz6g_369 {
2972
2973
  align-items: center;
2973
2974
  }
2974
- ._optionContent_4p39y_431 {
2975
+ ._optionContent_chz6g_432 {
2975
2976
  flex-wrap: wrap;
2976
2977
  margin-right: auto;
2977
2978
  position: relative;
2978
2979
  }
2979
- ._inline_4p39y_436 ._optionContent_4p39y_431 {
2980
+ ._inline_chz6g_437 ._optionContent_chz6g_432 {
2980
2981
  display: flex;
2981
2982
  justify-content: space-between;
2982
2983
  flex-grow: 1;
2983
2984
  }
2984
- ._icon_4p39y_441,
2985
- ._check_4p39y_442 {
2985
+ ._icon_chz6g_442,
2986
+ ._check_chz6g_443 {
2986
2987
  display: flex;
2987
2988
  flex-shrink: 1;
2988
2989
  width: 16px;
@@ -2990,83 +2991,83 @@ html[data-theme='dark'] {
2990
2991
  justify-content: center;
2991
2992
  align-items: center;
2992
2993
  }
2993
- ._icon_4p39y_441 {
2994
+ ._icon_chz6g_442 {
2994
2995
  margin-right: 8px;
2995
2996
  color: var(--color-text-primary);
2996
2997
  }
2997
- ._icon_4p39y_441:empty {
2998
+ ._icon_chz6g_442:empty {
2998
2999
  display: none;
2999
3000
  }
3000
- ._icon_4p39y_441 img {
3001
+ ._icon_chz6g_442 img {
3001
3002
  max-height: 16px;
3002
3003
  max-width: 16px;
3003
3004
  width: auto;
3004
3005
  height: auto;
3005
3006
  }
3006
- ._check_4p39y_442 {
3007
+ ._check_chz6g_443 {
3007
3008
  font-size: 12px;
3008
3009
  color: #a5a7a9;
3009
3010
  margin-left: 10px;
3010
3011
  }
3011
- ._text_4p39y_468 {
3012
+ ._text_chz6g_469 {
3012
3013
  display: inline-flex;
3013
3014
  align-items: center;
3014
3015
  cursor: pointer;
3015
3016
  }
3016
- ._label_4p39y_473 {
3017
+ ._label_chz6g_474 {
3017
3018
  margin-right: auto;
3018
3019
  }
3019
- ._label_4p39y_473,
3020
- ._heading_4p39y_384 {
3020
+ ._label_chz6g_474,
3021
+ ._heading_chz6g_385 {
3021
3022
  max-width: 100%;
3022
3023
  display: block;
3023
3024
  overflow: hidden;
3024
3025
  text-overflow: ellipsis;
3025
3026
  white-space: nowrap;
3026
3027
  }
3027
- ._description_4p39y_484 {
3028
+ ._description_chz6g_485 {
3028
3029
  color: #999;
3029
3030
  display: block;
3030
3031
  }
3031
- ._arrow_4p39y_488 {
3032
+ ._arrow_chz6g_489 {
3032
3033
  margin-left: 10px;
3033
3034
  opacity: 0.4;
3034
3035
  }
3035
- ._divider_4p39y_492 {
3036
+ ._divider_chz6g_493 {
3036
3037
  border: 0;
3037
3038
  border-top: 1px solid var(--color-border);
3038
3039
  }
3039
- ._deprecatedSemanticIcon_4p39y_496 {
3040
+ ._deprecatedSemanticIcon_chz6g_497 {
3040
3041
  color: var(--color-text-primary) !important;
3041
3042
  margin: -5px 0 0 !important;
3042
3043
  }
3043
- ._disabled_4p39y_500 {
3044
+ ._disabled_chz6g_501 {
3044
3045
  color: var(--color-text-faint);
3045
3046
  pointer-events: none;
3046
3047
  cursor: not-allowed !important;
3047
3048
  }
3048
- ._buttonLabel_4p39y_505 {
3049
+ ._buttonLabel_chz6g_506 {
3049
3050
  overflow: hidden;
3050
3051
  text-overflow: ellipsis;
3051
3052
  display: block;
3052
3053
  margin-right: auto;
3053
3054
  line-height: 1.2;
3054
3055
  }
3055
- ._buttonCaret_4p39y_512 {
3056
+ ._buttonCaret_chz6g_513 {
3056
3057
  margin-left: 5px;
3057
3058
  }
3058
- ._component_4p39y_515 {
3059
+ ._component_chz6g_516 {
3059
3060
  display: inline-flex;
3060
3061
  align-items: center;
3061
3062
  justify-content: center;
3062
3063
  cursor: pointer;
3063
3064
  }
3064
- ._right_4p39y_521 {
3065
+ ._right_chz6g_522 {
3065
3066
  margin-left: auto;
3066
3067
  display: flex;
3067
3068
  align-items: center;
3068
3069
  }
3069
- ._actions_4p39y_526 {
3070
+ ._actions_chz6g_527 {
3070
3071
  margin-left: 8px;
3071
3072
  display: flex;
3072
3073
  align-items: center;
package/dist/index.js CHANGED
@@ -9683,34 +9683,34 @@ function useHover(_temp) {
9683
9683
  return onMouseLeave(null, true);
9684
9684
  }];
9685
9685
  }
9686
- const wrapper$3 = "_wrapper_4p39y_329";
9687
- const layer$1 = "_layer_4p39y_333";
9688
- const layerContainer$1 = "_layerContainer_4p39y_336";
9689
- const nested = "_nested_4p39y_350";
9690
- const fileInput$1 = "_fileInput_4p39y_362";
9691
- const trigger$1 = "_trigger_4p39y_368";
9692
- const middleAlignedInline = "_middleAlignedInline_4p39y_378";
9693
- const heading$5 = "_heading_4p39y_384";
9694
- const headingIcon = "_headingIcon_4p39y_390";
9695
- const option$1 = "_option_4p39y_402";
9696
- const active$9 = "_active_4p39y_419";
9697
- const selected$1 = "_selected_4p39y_424";
9698
- const optionContent$1 = "_optionContent_4p39y_431";
9699
- const inline$3 = "_inline_4p39y_436";
9700
- const icon$7 = "_icon_4p39y_441";
9701
- const check$1 = "_check_4p39y_442";
9702
- const text$2 = "_text_4p39y_468";
9703
- const label$a = "_label_4p39y_473";
9704
- const description = "_description_4p39y_484";
9705
- const arrow = "_arrow_4p39y_488";
9706
- const divider$1 = "_divider_4p39y_492";
9707
- const deprecatedSemanticIcon = "_deprecatedSemanticIcon_4p39y_496";
9708
- const disabled$8 = "_disabled_4p39y_500";
9709
- const buttonLabel = "_buttonLabel_4p39y_505";
9710
- const buttonCaret = "_buttonCaret_4p39y_512";
9711
- const component = "_component_4p39y_515";
9712
- const right$7 = "_right_4p39y_521";
9713
- const actions$2 = "_actions_4p39y_526";
9686
+ const wrapper$3 = "_wrapper_chz6g_329";
9687
+ const layer$1 = "_layer_chz6g_333";
9688
+ const layerContainer$1 = "_layerContainer_chz6g_336";
9689
+ const nested = "_nested_chz6g_351";
9690
+ const fileInput$1 = "_fileInput_chz6g_363";
9691
+ const trigger$1 = "_trigger_chz6g_369";
9692
+ const middleAlignedInline = "_middleAlignedInline_chz6g_379";
9693
+ const heading$5 = "_heading_chz6g_385";
9694
+ const headingIcon = "_headingIcon_chz6g_391";
9695
+ const option$1 = "_option_chz6g_403";
9696
+ const active$9 = "_active_chz6g_420";
9697
+ const selected$1 = "_selected_chz6g_425";
9698
+ const optionContent$1 = "_optionContent_chz6g_432";
9699
+ const inline$3 = "_inline_chz6g_437";
9700
+ const icon$7 = "_icon_chz6g_442";
9701
+ const check$1 = "_check_chz6g_443";
9702
+ const text$2 = "_text_chz6g_469";
9703
+ const label$a = "_label_chz6g_474";
9704
+ const description = "_description_chz6g_485";
9705
+ const arrow = "_arrow_chz6g_489";
9706
+ const divider$1 = "_divider_chz6g_493";
9707
+ const deprecatedSemanticIcon = "_deprecatedSemanticIcon_chz6g_497";
9708
+ const disabled$8 = "_disabled_chz6g_501";
9709
+ const buttonLabel = "_buttonLabel_chz6g_506";
9710
+ const buttonCaret = "_buttonCaret_chz6g_513";
9711
+ const component = "_component_chz6g_516";
9712
+ const right$7 = "_right_chz6g_522";
9713
+ const actions$2 = "_actions_chz6g_527";
9714
9714
  const styles$L = {
9715
9715
  wrapper: wrapper$3,
9716
9716
  layer: layer$1,
@@ -9930,8 +9930,7 @@ const Layer$2 = ({
9930
9930
  className: cx(styles$L.layer, isNested ? styles$L.nested : null),
9931
9931
  style: {
9932
9932
  maxWidth: width,
9933
- maxHeight: maxHeight2 || "auto",
9934
- overflowY: maxHeight2 ? "auto" : "default"
9933
+ maxHeight: maxHeight2
9935
9934
  },
9936
9935
  "data-testid": testId,
9937
9936
  children: /* @__PURE__ */ jsx("ul", {
@@ -10632,7 +10631,7 @@ Menu.defaultProps = {
10632
10631
  closeOnOptionClick: true,
10633
10632
  groupOrder: null,
10634
10633
  overflowContainer: true,
10635
- maxHeight: null,
10634
+ maxHeight: "40vh",
10636
10635
  testId: void 0,
10637
10636
  open: void 0,
10638
10637
  setOpen: void 0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "3.1.20",
3
+ "version": "3.1.21",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "module": "./dist/index.js",
6
6
  "main": "./dist/index.js",