@oliasoft-open-source/react-ui-library 3.3.3 → 3.3.4

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
@@ -13063,7 +13063,9 @@ html[data-theme='dark'] {
13063
13063
  /*
13064
13064
  Z-INDEX
13065
13065
  */
13066
- ._menu_kxngy_341 {
13066
+ ._menu_1ij3l_341 {
13067
+ overflow-y: auto;
13068
+ position: relative;
13067
13069
  min-width: 160px;
13068
13070
  padding: 7px 0;
13069
13071
  border: 1px solid var(--color-border);
@@ -13072,28 +13074,28 @@ html[data-theme='dark'] {
13072
13074
  background-color: var(--color-background-raised);
13073
13075
  margin-top: 2px;
13074
13076
  }
13075
- ._header_kxngy_350 {
13077
+ ._header_1ij3l_352 {
13076
13078
  padding: 7px 16px;
13077
13079
  display: flex;
13078
13080
  justify-content: space-between;
13079
13081
  }
13080
- ._header_kxngy_350 a {
13082
+ ._header_1ij3l_352 a {
13081
13083
  color: var(--color-text-primary);
13082
13084
  font-weight: normal;
13083
13085
  cursor: pointer;
13084
13086
  }
13085
- ._header_kxngy_350 a:hover {
13087
+ ._header_1ij3l_352 a:hover {
13086
13088
  color: var(--color-text-primary-hover);
13087
13089
  }
13088
- ._header_kxngy_350 a:active {
13090
+ ._header_1ij3l_352 a:active {
13089
13091
  color: var(--color-text-primary-active);
13090
13092
  }
13091
- ._item_kxngy_366 {
13093
+ ._item_1ij3l_368 {
13092
13094
  padding: 7px 16px;
13093
13095
  background: transparent;
13094
13096
  cursor: default;
13095
13097
  }
13096
- ._heading_kxngy_371 {
13098
+ ._heading_1ij3l_373 {
13097
13099
  color: var(--color-text-muted);
13098
13100
  letter-spacing: 0.1em;
13099
13101
  text-transform: uppercase;
package/dist/index.js CHANGED
@@ -25621,10 +25621,10 @@ Modal.propTypes = {
25621
25621
  centered: propTypes$1.exports.bool,
25622
25622
  width: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number])
25623
25623
  };
25624
- const menu$1 = "_menu_kxngy_341";
25625
- const header = "_header_kxngy_350";
25626
- const item$3 = "_item_kxngy_366";
25627
- const heading$1 = "_heading_kxngy_371";
25624
+ const menu$1 = "_menu_1ij3l_341";
25625
+ const header = "_header_1ij3l_352";
25626
+ const item$3 = "_item_1ij3l_368";
25627
+ const heading$1 = "_heading_1ij3l_373";
25628
25628
  const styles$n = {
25629
25629
  menu: menu$1,
25630
25630
  header,
@@ -25659,10 +25659,14 @@ const Heading$1 = ({
25659
25659
  const Layer$1 = ({
25660
25660
  options,
25661
25661
  onChangeOptions,
25662
- showHeader
25662
+ showHeader,
25663
+ maxHeight: maxHeight2
25663
25664
  }) => {
25664
25665
  return /* @__PURE__ */ jsxs("div", {
25665
25666
  className: cx("menu", styles$n.menu),
25667
+ style: {
25668
+ maxHeight: maxHeight2
25669
+ },
25666
25670
  children: [showHeader && /* @__PURE__ */ jsxs(Fragment, {
25667
25671
  children: [/* @__PURE__ */ jsxs("div", {
25668
25672
  className: styles$n.header,
@@ -25730,7 +25734,8 @@ const OptionDropdown = ({
25730
25734
  label: label2,
25731
25735
  options,
25732
25736
  onChange,
25733
- showHeader
25737
+ showHeader,
25738
+ maxHeight: maxHeight2
25734
25739
  }) => {
25735
25740
  return /* @__PURE__ */ jsx(Menu, {
25736
25741
  menu: {
@@ -25745,14 +25750,16 @@ const OptionDropdown = ({
25745
25750
  evt.target.value = nextOptions;
25746
25751
  onChange(evt);
25747
25752
  },
25748
- showHeader
25753
+ showHeader,
25754
+ maxHeight: maxHeight2
25749
25755
  })
25750
25756
  }
25751
25757
  });
25752
25758
  };
25753
25759
  OptionDropdown.defaultProps = {
25754
25760
  name: void 0,
25755
- showHeader: true
25761
+ showHeader: true,
25762
+ maxHeight: "40vh"
25756
25763
  };
25757
25764
  OptionDropdown.propTypes = {
25758
25765
  name: propTypes$1.exports.string,
@@ -25763,7 +25770,8 @@ OptionDropdown.propTypes = {
25763
25770
  selected: propTypes$1.exports.bool
25764
25771
  })).isRequired,
25765
25772
  onChange: propTypes$1.exports.func.isRequired,
25766
- showHeader: propTypes$1.exports.bool
25773
+ showHeader: propTypes$1.exports.bool,
25774
+ maxHeight: propTypes$1.exports.string
25767
25775
  };
25768
25776
  const page = "_page_1lfmz_341";
25769
25777
  const scroll2 = "_scroll_1lfmz_363";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliasoft-open-source/react-ui-library",
3
- "version": "3.3.3",
3
+ "version": "3.3.4",
4
4
  "description": "Reusable UI components for React projects",
5
5
  "module": "./dist/index.js",
6
6
  "main": "./dist/index.js",