@momentum-ui/web-components 2.23.33 → 2.23.34

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.
Files changed (2) hide show
  1. package/dist/7919.js +1 -1
  2. package/package.json +1 -1
package/dist/7919.js CHANGED
@@ -1 +1 @@
1
- "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[300,7919],{70300:(e,n,s)=>{s.d(n,{U:()=>i}),s(41488);var r=s(18889);const i=e=>{if((0,r.V)(i,e))return e;class n extends e{_initResizeObserver(){null==n._resizeObserver&&(n._resizeObserver=new ResizeObserver(e=>{n._animationFrameID&&cancelAnimationFrame(n._animationFrameID),n._animationFrameID=requestAnimationFrame(()=>{Array.isArray(e)&&e.length&&e.forEach(e=>{const{target:n,contentRect:s}=e,r=n;if(r.isConnected&&"function"==typeof r.handleResize)try{r.handleResize.call(r,s)}catch(e){console.warn("ResizeObserver handleResize error:",e)}}),n._animationFrameID=void 0})}))}handleResize(e){super.handleResize&&super.handleResize(e),this.dispatchEvent(new CustomEvent("resize",{detail:{contentRect:e},bubbles:!0,composed:!0}))}unobserveAll(){super.unobserveAll&&super.unobserveAll();const e=n._resizeObserver;e&&e.disconnect()}connectedCallback(){super.connectedCallback(),this._initResizeObserver();const e=n._resizeObserver;e&&this.isConnected&&e.observe(this)}disconnectedCallback(){super.disconnectedCallback();const e=n._resizeObserver,s=n._animationFrameID;e&&e.unobserve(this),s&&cancelAnimationFrame(s)}}return(0,r.B)(i,n),n}}}]);
1
+ "use strict";(self["momentum-web-components-[id]"]=self["momentum-web-components-[id]"]||[]).push([[300,7919],{70300:(e,n,s)=>{s.d(n,{U:()=>i}),s(41488);var r=s(18889);const i=e=>{if((0,r.V)(i,e))return e;class n extends e{_initResizeObserver(){null==n._resizeObserver&&(n._resizeObserver=new ResizeObserver(e=>{n._animationFrameID&&cancelAnimationFrame(n._animationFrameID),n._animationFrameID=requestAnimationFrame(()=>{Array.isArray(e)&&e.length&&e.forEach(e=>{const{target:n,contentRect:s}=e,r=n;if(r.isConnected&&"function"==typeof r.handleResize)try{r.handleResize.call(r,s)}catch(e){console.warn("ResizeObserver handleResize error:",e)}}),n._animationFrameID=void 0})}))}handleResize(e){super.handleResize&&super.handleResize(e),this.dispatchEvent(new CustomEvent("md-resize",{detail:{contentRect:e},bubbles:!0,composed:!0}))}unobserveAll(){super.unobserveAll&&super.unobserveAll();const e=n._resizeObserver;e&&e.disconnect()}connectedCallback(){super.connectedCallback(),this._initResizeObserver();const e=n._resizeObserver;e&&this.isConnected&&e.observe(this)}disconnectedCallback(){super.disconnectedCallback();const e=n._resizeObserver,s=n._animationFrameID;e&&e.unobserve(this),s&&cancelAnimationFrame(s)}}return(0,r.B)(i,n),n}}}]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momentum-ui/web-components",
3
- "version": "2.23.33",
3
+ "version": "2.23.34",
4
4
  "author": "Yana Harris",
5
5
  "license": "MIT",
6
6
  "repository": "https://github.com/momentum-design/momentum-ui.git",