react-restyle-components 0.2.61 → 0.2.62

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/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.2.61",
3
+ "version": "0.2.62",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "author": {
@@ -63,10 +63,10 @@ export const AutoCompleteFilterSingleSelectMultiFieldsDisplay = ({ disable = fal
63
63
  const calculateMaxHeight = () => {
64
64
  if (inputRef.current) {
65
65
  const inputRect = inputRef.current.getBoundingClientRect();
66
- const availableHeight = window.innerHeight - inputRect.bottom - 10; // 10px padding
66
+ const availableHeight = window.innerHeight - inputRect.bottom - 20; // 10px padding
67
67
  return availableHeight;
68
68
  }
69
- return 'calc(100vh - 100px)';
69
+ return 'calc(100vh - 140px)';
70
70
  };
71
71
  return (_jsx(_Fragment, { children: _jsxs("div", { ref: wrapperRef, className: "w-full relative", children: [_jsxs("div", { className: cn(s['flex'], s['p-2'], s['leading-4'], s['focus:outline-none'], s['focus:ring'], s['w-full'], s['shadow-sm'], s['sm:text-base'], s['border'], {
72
72
  [s['border-red']]: hasError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.2.61",
3
+ "version": "0.2.62",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "author": {