freemium-ui 2.0.0-beta.62 → 2.0.0-beta.63

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/index.cjs.js CHANGED
@@ -12788,8 +12788,7 @@ ref:n}))})),mI=on(oI)`
12788
12788
  `,gI=on(uI)``,yI=on(dI)``,bI=on(hI)``,wI=on(pI)``,CI=({children:t,trigger:n,arrow:r,hoverOutToClose:a,align:o,hoverToOpen:i,avoidCollisions:l=!0,side:c,disabled:s,onClose:u,anchorOrigin:d,autoCloseDuration:h,clickOutToClose:p,transformOrigin:f})=>{
12789
12789
  const[m,v]=e.useState(!1),g=c??("bottom"===d?.vertical&&d.horizontal?"bottom":void 0)??("top"===d?.vertical&&d.horizontal?"top":void 0)??("center"===d?.vertical&&"left"===d.horizontal?"left":void 0)??("center"===d?.vertical&&"right"===d.horizontal?"right":void 0)??"bottom"
12790
12790
  ;return e.createElement(gI,{open:m,onOpenChange:e=>{v(e)}},e.createElement(yI,{
12791
- asChild:!0,className:"PopoverTrigger",disabled:s,onClick:e=>e.stopPropagation()
12792
- },e.createElement(Zr,{onClick:e=>{e.stopPropagation(),v(!0)},
12791
+ asChild:!0,className:"PopoverTrigger",disabled:s},e.createElement(Zr,{
12793
12792
  className:"TriggerButtonWrapper",onMouseEnter:()=>{i&&v(!0)}
12794
12793
  },n)),e.createElement(bI,null,e.createElement(mI,{forceMount:!0,
12795
12794
  className:"PopoverContent",onMouseLeave:()=>{a&&(v(!1),u?.())},
package/index.js CHANGED
@@ -12899,8 +12899,7 @@ ref:t}))})),KR=En(OR)`
12899
12899
  `,ZR=En($R)``,XR=En(UR)``,QR=En(YR)``,JR=En(WR)``,eO=({children:e,trigger:n,arrow:r,hoverOutToClose:a,align:o,hoverToOpen:i,avoidCollisions:l=!0,side:c,disabled:s,onClose:u,anchorOrigin:d,autoCloseDuration:h,clickOutToClose:p,transformOrigin:f})=>{
12900
12900
  const[m,v]=t.useState(!1),g=c??("bottom"===d?.vertical&&d.horizontal?"bottom":void 0)??("top"===d?.vertical&&d.horizontal?"top":void 0)??("center"===d?.vertical&&"left"===d.horizontal?"left":void 0)??("center"===d?.vertical&&"right"===d.horizontal?"right":void 0)??"bottom"
12901
12901
  ;return t.createElement(ZR,{open:m,onOpenChange:e=>{v(e)}},t.createElement(XR,{
12902
- asChild:!0,className:"PopoverTrigger",disabled:s,onClick:e=>e.stopPropagation()
12903
- },t.createElement(ga,{onClick:e=>{e.stopPropagation(),v(!0)},
12902
+ asChild:!0,className:"PopoverTrigger",disabled:s},t.createElement(ga,{
12904
12903
  className:"TriggerButtonWrapper",onMouseEnter:()=>{i&&v(!0)}
12905
12904
  },n)),t.createElement(QR,null,t.createElement(KR,{forceMount:!0,
12906
12905
  className:"PopoverContent",onMouseLeave:()=>{a&&(v(!1),u?.())},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.0-beta.62",
3
+ "version": "2.0.0-beta.63",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",