willba-component-library 0.3.21 → 0.3.22

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/README.md CHANGED
@@ -107,7 +107,7 @@ ReactDOM.render(<App />, document.querySelector('#app'))
107
107
 
108
108
  <script src="https://unpkg.com/react@18.3.1/umd/react.production.min.js"></script>
109
109
  <script src="https://unpkg.com/react-dom@18.3.1/umd/react-dom.production.min.js"></script>
110
- <script src="https://cdn.jsdelivr.net/npm/willba-component-library@0.3.21/lib/index.umd.js"></script>
110
+ <script src="https://cdn.jsdelivr.net/npm/willba-component-library@0.3.22/lib/index.umd.js"></script>
111
111
 
112
112
  <script>
113
113
  const renderFilterBar = async () => {
package/lib/index.esm.js CHANGED
@@ -6843,7 +6843,7 @@ var usePanelPosition = function (_a) {
6843
6843
  var panelRect = panel.getBoundingClientRect();
6844
6844
  var containerRect = container.getBoundingClientRect();
6845
6845
  var buttonRect = button.getBoundingClientRect();
6846
- var buttonLeft = buttonRect.left - containerRect.left - 30; // Offset by 30px to account for controls section spacing
6846
+ var buttonLeft = buttonRect.left - containerRect.left - 10; // Offset by 10px to account for controls section spacing
6847
6847
  var left = Math.max(0, Math.min(buttonLeft, containerRect.width - panelRect.width));
6848
6848
  setLocalStyles({ left: left });
6849
6849
  }, [selectedFilter, isMobile]);