@doist/reactist 21.1.0 → 21.2.0

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.
@@ -1723,7 +1723,7 @@ function PasswordHiddenIcon(props) {
1723
1723
  })));
1724
1724
  }
1725
1725
 
1726
- var modules_540a88ff = {"container":"_2e189908","auxiliaryLabel":"_83051e0a","bordered":"fd20ef50","error":"d1a17d92","primaryLabel":"_75e0afa0","secondaryLabel":"d04a867d","messageIcon":"_77b2107e"};
1726
+ var modules_540a88ff = {"container":"_616a033e","auxiliaryLabel":"_0b88d85e","bordered":"c466cda3","error":"_4156d9cb","primaryLabel":"_274ef80a","secondaryLabel":"_2c4a8aed","messageIcon":"cd105f69"};
1727
1727
 
1728
1728
  function FieldHint(props) {
1729
1729
  return /*#__PURE__*/React.createElement(Text, _objectSpread2({
@@ -1825,7 +1825,7 @@ function BaseField({
1825
1825
  }, hint) : null);
1826
1826
  }
1827
1827
 
1828
- var modules_aaf25250 = {"inputWrapper":"_6c84b26d","bordered":"_8522aec5","error":"d4d62845","slot":"_9c20ca38"};
1828
+ var modules_aaf25250 = {"inputWrapper":"_483abe7b","bordered":"fce9399c","error":"_603b8c4b","slot":"_79ca0da5"};
1829
1829
 
1830
1830
  const _excluded$k = ["variant", "id", "label", "secondaryLabel", "auxiliaryLabel", "hint", "message", "tone", "type", "maxWidth", "hidden", "aria-describedby", "startSlot", "endSlot"];
1831
1831
  const TextField = /*#__PURE__*/React.forwardRef(function TextField(_ref, ref) {
@@ -1914,7 +1914,7 @@ const PasswordField = /*#__PURE__*/React.forwardRef(function PasswordField(_ref,
1914
1914
  }));
1915
1915
  });
1916
1916
 
1917
- var modules_1fa9b208 = {"selectWrapper":"a804edbf","bordered":"_50a3655f","error":"a6d38abf"};
1917
+ var modules_1fa9b208 = {"selectWrapper":"a9cbb3a6","bordered":"f3869290","error":"aefdbdaa"};
1918
1918
 
1919
1919
  const _excluded$m = ["variant", "id", "label", "secondaryLabel", "auxiliaryLabel", "hint", "message", "tone", "maxWidth", "children", "hidden", "aria-describedby"];
1920
1920
  const SelectField = /*#__PURE__*/React.forwardRef(function SelectField(_ref, ref) {
@@ -2044,7 +2044,7 @@ const SwitchField = /*#__PURE__*/React.forwardRef(function SwitchField(_ref, ref
2044
2044
  }, hint) : null);
2045
2045
  });
2046
2046
 
2047
- var modules_2728c236 = {"textAreaContainer":"_21dbfa84","innerContainer":"_43588660","bordered":"f081b428","error":"a862f0e5","autoExpand":"_46360b15"};
2047
+ var modules_2728c236 = {"textAreaContainer":"fdc243b3","innerContainer":"_5c1dd8bc","bordered":"_269f9e63","error":"d1e4b585","autoExpand":"_10c6f2ef"};
2048
2048
 
2049
2049
  const _excluded$o = ["variant", "id", "label", "secondaryLabel", "auxiliaryLabel", "hint", "message", "tone", "maxWidth", "hidden", "aria-describedby", "rows", "autoExpand"];
2050
2050
  const TextArea = /*#__PURE__*/React.forwardRef(function TextArea(_ref, ref) {
@@ -2681,6 +2681,9 @@ function Menu(_ref) {
2681
2681
  shift: 4,
2682
2682
  getAnchorRect
2683
2683
  }, props));
2684
+ React.useEffect(() => {
2685
+ if (!state.open) handleAnchorRectChange(null);
2686
+ }, [state.open]);
2684
2687
  const handleItemSelect = React.useCallback(function handleItemSelect(value) {
2685
2688
  if (onItemSelect) onItemSelect(value);
2686
2689
  }, [onItemSelect]);