@marianmeres/stuic 2.21.0 → 2.21.1

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.
@@ -203,19 +203,10 @@ export function popover(anchorEl, fn) {
203
203
  }
204
204
  function onClickTrigger(e) {
205
205
  e.stopPropagation();
206
- const trigger = currentOptions.trigger || "click";
207
- if (trigger === "hover-or-click") {
208
- // Click only opens, doesn't close (fallback for touch)
209
- if (!isVisible)
210
- show();
211
- }
212
- else {
213
- // Normal click toggle behavior
214
- if (isVisible)
215
- hide();
216
- else
217
- show();
218
- }
206
+ if (isVisible)
207
+ hide();
208
+ else
209
+ show();
219
210
  }
220
211
  // Render content into popover element
221
212
  function renderContent() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marianmeres/stuic",
3
- "version": "2.21.0",
3
+ "version": "2.21.1",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.test.*",