@elliemae/ds-portal 1.61.10 → 1.61.13

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.
@@ -1 +1 @@
1
- {"version":3,"file":"DSPortal.js","sources":["../../src/DSPortal.tsx"],"sourcesContent":["/* eslint-disable react/prop-types */\nimport React, { Component } from 'react';\nimport ReactDOM from 'react-dom';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport { isFunction, DOCUMENT } from '@elliemae/ds-utilities';\nimport './ie-remove-polyfill';\n\nconst blockName = 'portal';\n\nconst canRenderPortal = isFunction(ReactDOM.createPortal);\n\n// TODO: If this is rendered on server, is going to break\n\nclass DSPortal extends Component {\n // eslint-disable-next-line react/static-property-placement\n static defaultProps = { onRender: () => null };\n\n // eslint-disable-next-line react/state-in-constructor\n state = { isMounted: false };\n\n componentDidMount() {\n const { onRender } = this.props;\n this.portalEl = this.createPortalContainer();\n if (DOCUMENT && this.portalEl) {\n DOCUMENT.body.appendChild(this.portalEl);\n onRender();\n this.setState({ isMounted: true });\n }\n }\n\n componentDidUpdate() {\n if (!canRenderPortal) {\n this.renderNoPortal();\n }\n }\n\n componentWillUnmount() {\n if (this.portalEl) {\n this.portalEl.parentNode.removeChild(this.portalEl);\n }\n }\n\n createPortalContainer() {\n if (!DOCUMENT) return null;\n\n const { className } = this.props;\n const { cssClassName } = convertPropToCssClassName(blockName, className);\n const container = DOCUMENT.createElement('div');\n container.classList.add(cssClassName);\n container.setAttribute('data-testid', 'portal');\n\n return container;\n }\n\n renderNoPortal() {\n const { children } = this.props;\n ReactDOM.unstable_renderSubtreeIntoContainer(\n this,\n <div>{children}</div>,\n this.portalEl,\n );\n }\n\n render() {\n const { children } = this.props;\n const { isMounted } = this.state;\n return !canRenderPortal || !isMounted\n ? null\n : ReactDOM.createPortal(children, this.portalEl);\n }\n}\nexport { DSPortal };\nexport default DSPortal;\n"],"names":["blockName","canRenderPortal","isFunction","ReactDOM","createPortal","DSPortal","state","isMounted","onRender","props","portalEl","createPortalContainer","DOCUMENT","body","appendChild","setState","renderNoPortal","parentNode","removeChild","className","convertPropToCssClassName","cssClassName","container","createElement","classList","add","setAttribute","children","unstable_renderSubtreeIntoContainer","React","Component","defaultProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,IAAMA,SAAS,GAAG,QAAlB;AAEA,IAAMC,eAAe,GAAGC,sBAAU,CAACC,4BAAQ,CAACC,YAAV,CAAlC;;IAIMC;;;;;;;;;;;;;;;UAKJC,QAAQ;AAAEC,MAAAA,SAAS,EAAE;AAAb;;;;;;WAER,6BAAoB;AAClB,UAAQC,QAAR,GAAqB,KAAKC,KAA1B,CAAQD,QAAR;AACA,WAAKE,QAAL,GAAgB,KAAKC,qBAAL,EAAhB;;AACA,UAAIC,oBAAQ,IAAI,KAAKF,QAArB,EAA+B;AAC7BE,QAAAA,oBAAQ,CAACC,IAAT,CAAcC,WAAd,CAA0B,KAAKJ,QAA/B;AACAF,QAAAA,QAAQ;AACR,aAAKO,QAAL,CAAc;AAAER,UAAAA,SAAS,EAAE;AAAb,SAAd;AACD;AACF;;;WAED,8BAAqB;AACnB,UAAI,CAACN,eAAL,EAAsB;AACpB,aAAKe,cAAL;AACD;AACF;;;WAED,gCAAuB;AACrB,UAAI,KAAKN,QAAT,EAAmB;AACjB,aAAKA,QAAL,CAAcO,UAAd,CAAyBC,WAAzB,CAAqC,KAAKR,QAA1C;AACD;AACF;;;WAED,iCAAwB;AACtB,UAAI,CAACE,oBAAL,EAAe,OAAO,IAAP;AAEf,UAAQO,SAAR,GAAsB,KAAKV,KAA3B,CAAQU,SAAR;;AACA,kCAAyBC,sCAAyB,CAACpB,SAAD,EAAYmB,SAAZ,CAAlD;AAAA,UAAQE,YAAR,yBAAQA,YAAR;;AACA,UAAMC,SAAS,GAAGV,oBAAQ,CAACW,aAAT,CAAuB,KAAvB,CAAlB;AACAD,MAAAA,SAAS,CAACE,SAAV,CAAoBC,GAApB,CAAwBJ,YAAxB;AACAC,MAAAA,SAAS,CAACI,YAAV,CAAuB,aAAvB,EAAsC,QAAtC;AAEA,aAAOJ,SAAP;AACD;;;WAED,0BAAiB;AACf,UAAQK,QAAR,GAAqB,KAAKlB,KAA1B,CAAQkB,QAAR;AACAxB,MAAAA,4BAAQ,CAACyB,mCAAT,CACE,IADF,eAEEC,qDAAMF,QAAN,CAFF,EAGE,KAAKjB,QAHP;AAKD;;;WAED,kBAAS;AACP,UAAQiB,QAAR,GAAqB,KAAKlB,KAA1B,CAAQkB,QAAR;AACA,UAAQpB,SAAR,GAAsB,KAAKD,KAA3B,CAAQC,SAAR;AACA,aAAO,CAACN,eAAD,IAAoB,CAACM,SAArB,GACH,IADG,gBAEHJ,4BAAQ,CAACC,YAAT,CAAsBuB,QAAtB,EAAgC,KAAKjB,QAArC,CAFJ;AAGD;;;;EAxDoBoB;;AAAjBzB,SAEG0B,eAAe;AAAEvB,EAAAA,QAAQ,EAAE;AAAA,WAAM,IAAN;AAAA;AAAZ;;;;;"}
1
+ {"version":3,"file":"DSPortal.js","sources":["../../src/DSPortal.tsx"],"sourcesContent":["/* eslint-disable react/prop-types */\nimport React, { Component } from 'react';\nimport ReactDOM from 'react-dom';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport { isFunction, DOCUMENT } from '@elliemae/ds-utilities';\nimport './ie-remove-polyfill';\n\nconst blockName = 'portal';\n\nconst canRenderPortal = isFunction(ReactDOM.createPortal);\n\n// TODO: If this is rendered on server, is going to break\n\nclass DSPortal extends Component {\n // eslint-disable-next-line react/static-property-placement\n static defaultProps = { onRender: () => null };\n\n // eslint-disable-next-line react/state-in-constructor\n state = { isMounted: false };\n\n componentDidMount() {\n const { onRender } = this.props;\n this.portalEl = this.createPortalContainer();\n if (DOCUMENT && this.portalEl) {\n DOCUMENT.body.appendChild(this.portalEl);\n onRender();\n this.setState({ isMounted: true });\n }\n }\n\n componentDidUpdate() {\n if (!canRenderPortal) {\n this.renderNoPortal();\n }\n }\n\n componentWillUnmount() {\n if (this.portalEl) {\n this.portalEl.parentNode.removeChild(this.portalEl);\n }\n }\n\n createPortalContainer() {\n if (!DOCUMENT) return null;\n\n const { className } = this.props;\n const { cssClassName } = convertPropToCssClassName(blockName, className);\n const container = DOCUMENT.createElement('div');\n container.classList.add(cssClassName);\n container.setAttribute('data-testid', 'portal');\n\n return container;\n }\n\n renderNoPortal() {\n const { children } = this.props;\n ReactDOM.unstable_renderSubtreeIntoContainer(\n this,\n <div>{children}</div>,\n this.portalEl,\n );\n }\n\n render() {\n const { children } = this.props;\n const { isMounted } = this.state;\n return !canRenderPortal || !isMounted\n ? null\n : ReactDOM.createPortal(children, this.portalEl);\n }\n}\nexport { DSPortal };\nexport default DSPortal;\n"],"names":["blockName","canRenderPortal","isFunction","ReactDOM","createPortal","DSPortal","state","isMounted","onRender","props","portalEl","createPortalContainer","DOCUMENT","body","appendChild","setState","renderNoPortal","parentNode","removeChild","className","convertPropToCssClassName","cssClassName","container","createElement","classList","add","setAttribute","children","unstable_renderSubtreeIntoContainer","React","Component","defaultProps"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,IAAMA,SAAS,GAAG,QAAlB;AAEA,IAAMC,eAAe,GAAGC,sBAAU,CAACC,4BAAQ,CAACC,YAAV,CAAlC;;IAIMC;;;;;;;;;;;;;;;UAKJC,QAAQ;MAAEC,SAAS,EAAE;;;;;;;WAErB,6BAAoB;MAClB,IAAQC,QAAR,GAAqB,KAAKC,KAA1B,CAAQD,QAAR;MACA,KAAKE,QAAL,GAAgB,KAAKC,qBAAL,EAAhB;;MACA,IAAIC,oBAAQ,IAAI,KAAKF,QAArB,EAA+B;QAC7BE,oBAAQ,CAACC,IAAT,CAAcC,WAAd,CAA0B,KAAKJ,QAA/B;QACAF,QAAQ;QACR,KAAKO,QAAL,CAAc;UAAER,SAAS,EAAE;SAA3B;;;;;WAIJ,8BAAqB;MACnB,IAAI,CAACN,eAAL,EAAsB;QACpB,KAAKe,cAAL;;;;;WAIJ,gCAAuB;MACrB,IAAI,KAAKN,QAAT,EAAmB;QACjB,KAAKA,QAAL,CAAcO,UAAd,CAAyBC,WAAzB,CAAqC,KAAKR,QAA1C;;;;;WAIJ,iCAAwB;MACtB,IAAI,CAACE,oBAAL,EAAe,OAAO,IAAP;MAEf,IAAQO,SAAR,GAAsB,KAAKV,KAA3B,CAAQU,SAAR;;MACA,4BAAyBC,sCAAyB,CAACpB,SAAD,EAAYmB,SAAZ,CAAlD;UAAQE,YAAR,yBAAQA,YAAR;;MACA,IAAMC,SAAS,GAAGV,oBAAQ,CAACW,aAAT,CAAuB,KAAvB,CAAlB;MACAD,SAAS,CAACE,SAAV,CAAoBC,GAApB,CAAwBJ,YAAxB;MACAC,SAAS,CAACI,YAAV,CAAuB,aAAvB,EAAsC,QAAtC;MAEA,OAAOJ,SAAP;;;;WAGF,0BAAiB;MACf,IAAQK,QAAR,GAAqB,KAAKlB,KAA1B,CAAQkB,QAAR;MACAxB,4BAAQ,CAACyB,mCAAT,CACE,IADF,eAEEC,qDAAMF,QAAN,CAFF,EAGE,KAAKjB,QAHP;;;;WAOF,kBAAS;MACP,IAAQiB,QAAR,GAAqB,KAAKlB,KAA1B,CAAQkB,QAAR;MACA,IAAQpB,SAAR,GAAsB,KAAKD,KAA3B,CAAQC,SAAR;MACA,OAAO,CAACN,eAAD,IAAoB,CAACM,SAArB,GACH,IADG,gBAEHJ,4BAAQ,CAACC,YAAT,CAAsBuB,QAAtB,EAAgC,KAAKjB,QAArC,CAFJ;;;;;EArDmBoB;;AAAjBzB,SAEG0B,eAAe;EAAEvB,QAAQ,EAAE;IAAA,OAAM,IAAN;;AAAZ;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ie-remove-polyfill.js","sources":["../../src/ie-remove-polyfill.tsx"],"sourcesContent":["/* eslint-disable no-multi-assign,no-loops/no-loops, no-plusplus */\nif (\n global &&\n global.Element &&\n global.Element.prototype &&\n global.Element.prototype.remove === undefined\n) {\n window.Element.prototype.remove = function() {\n this.parentElement.removeChild(this);\n };\n NodeList.prototype.remove = HTMLCollection.prototype.remove = function() {\n for (let i = this.length - 1; i >= 0; i--) {\n if (this[i] && this[i].parentElement) {\n this[i].parentElement.removeChild(this[i]);\n }\n }\n };\n}\n"],"names":["global","Element","prototype","remove","undefined","window","parentElement","removeChild","NodeList","HTMLCollection","i","length"],"mappings":";;;;;;;;AACA,IACEA,cAAM,IACNA,cAAM,CAACC,OADP,IAEAD,cAAM,CAACC,OAAP,CAAeC,SAFf,IAGAF,cAAM,CAACC,OAAP,CAAeC,SAAf,CAAyBC,MAAzB,KAAoCC,SAJtC,EAKE;AACAC,EAAAA,MAAM,CAACJ,OAAP,CAAeC,SAAf,CAAyBC,MAAzB,GAAkC,YAAW;AAC3C,SAAKG,aAAL,CAAmBC,WAAnB,CAA+B,IAA/B;AACD,GAFD;;AAGAC,EAAAA,QAAQ,CAACN,SAAT,CAAmBC,MAAnB,GAA4BM,cAAc,CAACP,SAAf,CAAyBC,MAAzB,GAAkC,YAAW;AACvE,SAAK,IAAIO,CAAC,GAAG,KAAKC,MAAL,GAAc,CAA3B,EAA8BD,CAAC,IAAI,CAAnC,EAAsCA,CAAC,EAAvC,EAA2C;AACzC,UAAI,KAAKA,CAAL,KAAW,KAAKA,CAAL,EAAQJ,aAAvB,EAAsC;AACpC,aAAKI,CAAL,EAAQJ,aAAR,CAAsBC,WAAtB,CAAkC,KAAKG,CAAL,CAAlC;AACD;AACF;AACF,GAND;AAOD;;;;"}
1
+ {"version":3,"file":"ie-remove-polyfill.js","sources":["../../src/ie-remove-polyfill.tsx"],"sourcesContent":["/* eslint-disable no-multi-assign,no-loops/no-loops, no-plusplus */\nif (\n global &&\n global.Element &&\n global.Element.prototype &&\n global.Element.prototype.remove === undefined\n) {\n window.Element.prototype.remove = function() {\n this.parentElement.removeChild(this);\n };\n NodeList.prototype.remove = HTMLCollection.prototype.remove = function() {\n for (let i = this.length - 1; i >= 0; i--) {\n if (this[i] && this[i].parentElement) {\n this[i].parentElement.removeChild(this[i]);\n }\n }\n };\n}\n"],"names":["global","Element","prototype","remove","undefined","window","parentElement","removeChild","NodeList","HTMLCollection","i","length"],"mappings":";;;;;;;;AACA,IACEA,cAAM,IACNA,cAAM,CAACC,OADP,IAEAD,cAAM,CAACC,OAAP,CAAeC,SAFf,IAGAF,cAAM,CAACC,OAAP,CAAeC,SAAf,CAAyBC,MAAzB,KAAoCC,SAJtC,EAKE;EACAC,MAAM,CAACJ,OAAP,CAAeC,SAAf,CAAyBC,MAAzB,GAAkC,YAAW;IAC3C,KAAKG,aAAL,CAAmBC,WAAnB,CAA+B,IAA/B;GADF;;EAGAC,QAAQ,CAACN,SAAT,CAAmBC,MAAnB,GAA4BM,cAAc,CAACP,SAAf,CAAyBC,MAAzB,GAAkC,YAAW;IACvE,KAAK,IAAIO,CAAC,GAAG,KAAKC,MAAL,GAAc,CAA3B,EAA8BD,CAAC,IAAI,CAAnC,EAAsCA,CAAC,EAAvC,EAA2C;MACzC,IAAI,KAAKA,CAAL,KAAW,KAAKA,CAAL,EAAQJ,aAAvB,EAAsC;QACpC,KAAKI,CAAL,EAAQJ,aAAR,CAAsBC,WAAtB,CAAkC,KAAKG,CAAL,CAAlC;;;GAHN;AAOD;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"DSPortal.js","sources":["../../src/DSPortal.tsx"],"sourcesContent":["/* eslint-disable react/prop-types */\nimport React, { Component } from 'react';\nimport ReactDOM from 'react-dom';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport { isFunction, DOCUMENT } from '@elliemae/ds-utilities';\nimport './ie-remove-polyfill';\n\nconst blockName = 'portal';\n\nconst canRenderPortal = isFunction(ReactDOM.createPortal);\n\n// TODO: If this is rendered on server, is going to break\n\nclass DSPortal extends Component {\n // eslint-disable-next-line react/static-property-placement\n static defaultProps = { onRender: () => null };\n\n // eslint-disable-next-line react/state-in-constructor\n state = { isMounted: false };\n\n componentDidMount() {\n const { onRender } = this.props;\n this.portalEl = this.createPortalContainer();\n if (DOCUMENT && this.portalEl) {\n DOCUMENT.body.appendChild(this.portalEl);\n onRender();\n this.setState({ isMounted: true });\n }\n }\n\n componentDidUpdate() {\n if (!canRenderPortal) {\n this.renderNoPortal();\n }\n }\n\n componentWillUnmount() {\n if (this.portalEl) {\n this.portalEl.parentNode.removeChild(this.portalEl);\n }\n }\n\n createPortalContainer() {\n if (!DOCUMENT) return null;\n\n const { className } = this.props;\n const { cssClassName } = convertPropToCssClassName(blockName, className);\n const container = DOCUMENT.createElement('div');\n container.classList.add(cssClassName);\n container.setAttribute('data-testid', 'portal');\n\n return container;\n }\n\n renderNoPortal() {\n const { children } = this.props;\n ReactDOM.unstable_renderSubtreeIntoContainer(\n this,\n <div>{children}</div>,\n this.portalEl,\n );\n }\n\n render() {\n const { children } = this.props;\n const { isMounted } = this.state;\n return !canRenderPortal || !isMounted\n ? null\n : ReactDOM.createPortal(children, this.portalEl);\n }\n}\nexport { DSPortal };\nexport default DSPortal;\n"],"names":["blockName","canRenderPortal","isFunction","ReactDOM","createPortal","DSPortal","state","isMounted","onRender","props","portalEl","createPortalContainer","DOCUMENT","body","appendChild","setState","renderNoPortal","parentNode","removeChild","className","convertPropToCssClassName","cssClassName","container","createElement","classList","add","setAttribute","children","unstable_renderSubtreeIntoContainer","Component","defaultProps"],"mappings":";;;;;;;;;;;;;;AAOA,IAAMA,SAAS,GAAG,QAAlB;AAEA,IAAMC,eAAe,GAAGC,UAAU,CAACC,QAAQ,CAACC,YAAV,CAAlC;;IAIMC;;;;;;;;;;;;;;;UAKJC,QAAQ;AAAEC,MAAAA,SAAS,EAAE;AAAb;;;;;;WAER,6BAAoB;AAClB,UAAQC,QAAR,GAAqB,KAAKC,KAA1B,CAAQD,QAAR;AACA,WAAKE,QAAL,GAAgB,KAAKC,qBAAL,EAAhB;;AACA,UAAIC,QAAQ,IAAI,KAAKF,QAArB,EAA+B;AAC7BE,QAAAA,QAAQ,CAACC,IAAT,CAAcC,WAAd,CAA0B,KAAKJ,QAA/B;AACAF,QAAAA,QAAQ;AACR,aAAKO,QAAL,CAAc;AAAER,UAAAA,SAAS,EAAE;AAAb,SAAd;AACD;AACF;;;WAED,8BAAqB;AACnB,UAAI,CAACN,eAAL,EAAsB;AACpB,aAAKe,cAAL;AACD;AACF;;;WAED,gCAAuB;AACrB,UAAI,KAAKN,QAAT,EAAmB;AACjB,aAAKA,QAAL,CAAcO,UAAd,CAAyBC,WAAzB,CAAqC,KAAKR,QAA1C;AACD;AACF;;;WAED,iCAAwB;AACtB,UAAI,CAACE,QAAL,EAAe,OAAO,IAAP;AAEf,UAAQO,SAAR,GAAsB,KAAKV,KAA3B,CAAQU,SAAR;;AACA,kCAAyBC,yBAAyB,CAACpB,SAAD,EAAYmB,SAAZ,CAAlD;AAAA,UAAQE,YAAR,yBAAQA,YAAR;;AACA,UAAMC,SAAS,GAAGV,QAAQ,CAACW,aAAT,CAAuB,KAAvB,CAAlB;AACAD,MAAAA,SAAS,CAACE,SAAV,CAAoBC,GAApB,CAAwBJ,YAAxB;AACAC,MAAAA,SAAS,CAACI,YAAV,CAAuB,aAAvB,EAAsC,QAAtC;AAEA,aAAOJ,SAAP;AACD;;;WAED,0BAAiB;AACf,UAAQK,QAAR,GAAqB,KAAKlB,KAA1B,CAAQkB,QAAR;AACAxB,MAAAA,QAAQ,CAACyB,mCAAT,CACE,IADF,eAEE,iCAAMD,QAAN,CAFF,EAGE,KAAKjB,QAHP;AAKD;;;WAED,kBAAS;AACP,UAAQiB,QAAR,GAAqB,KAAKlB,KAA1B,CAAQkB,QAAR;AACA,UAAQpB,SAAR,GAAsB,KAAKD,KAA3B,CAAQC,SAAR;AACA,aAAO,CAACN,eAAD,IAAoB,CAACM,SAArB,GACH,IADG,gBAEHJ,QAAQ,CAACC,YAAT,CAAsBuB,QAAtB,EAAgC,KAAKjB,QAArC,CAFJ;AAGD;;;;EAxDoBmB;;AAAjBxB,SAEGyB,eAAe;AAAEtB,EAAAA,QAAQ,EAAE;AAAA,WAAM,IAAN;AAAA;AAAZ;;;;"}
1
+ {"version":3,"file":"DSPortal.js","sources":["../../src/DSPortal.tsx"],"sourcesContent":["/* eslint-disable react/prop-types */\nimport React, { Component } from 'react';\nimport ReactDOM from 'react-dom';\nimport { convertPropToCssClassName } from '@elliemae/ds-classnames';\nimport { isFunction, DOCUMENT } from '@elliemae/ds-utilities';\nimport './ie-remove-polyfill';\n\nconst blockName = 'portal';\n\nconst canRenderPortal = isFunction(ReactDOM.createPortal);\n\n// TODO: If this is rendered on server, is going to break\n\nclass DSPortal extends Component {\n // eslint-disable-next-line react/static-property-placement\n static defaultProps = { onRender: () => null };\n\n // eslint-disable-next-line react/state-in-constructor\n state = { isMounted: false };\n\n componentDidMount() {\n const { onRender } = this.props;\n this.portalEl = this.createPortalContainer();\n if (DOCUMENT && this.portalEl) {\n DOCUMENT.body.appendChild(this.portalEl);\n onRender();\n this.setState({ isMounted: true });\n }\n }\n\n componentDidUpdate() {\n if (!canRenderPortal) {\n this.renderNoPortal();\n }\n }\n\n componentWillUnmount() {\n if (this.portalEl) {\n this.portalEl.parentNode.removeChild(this.portalEl);\n }\n }\n\n createPortalContainer() {\n if (!DOCUMENT) return null;\n\n const { className } = this.props;\n const { cssClassName } = convertPropToCssClassName(blockName, className);\n const container = DOCUMENT.createElement('div');\n container.classList.add(cssClassName);\n container.setAttribute('data-testid', 'portal');\n\n return container;\n }\n\n renderNoPortal() {\n const { children } = this.props;\n ReactDOM.unstable_renderSubtreeIntoContainer(\n this,\n <div>{children}</div>,\n this.portalEl,\n );\n }\n\n render() {\n const { children } = this.props;\n const { isMounted } = this.state;\n return !canRenderPortal || !isMounted\n ? null\n : ReactDOM.createPortal(children, this.portalEl);\n }\n}\nexport { DSPortal };\nexport default DSPortal;\n"],"names":["blockName","canRenderPortal","isFunction","ReactDOM","createPortal","DSPortal","state","isMounted","onRender","props","portalEl","createPortalContainer","DOCUMENT","body","appendChild","setState","renderNoPortal","parentNode","removeChild","className","convertPropToCssClassName","cssClassName","container","createElement","classList","add","setAttribute","children","unstable_renderSubtreeIntoContainer","Component","defaultProps"],"mappings":";;;;;;;;;;;;;;AAOA,IAAMA,SAAS,GAAG,QAAlB;AAEA,IAAMC,eAAe,GAAGC,UAAU,CAACC,QAAQ,CAACC,YAAV,CAAlC;;IAIMC;;;;;;;;;;;;;;;UAKJC,QAAQ;MAAEC,SAAS,EAAE;;;;;;;WAErB,6BAAoB;MAClB,IAAQC,QAAR,GAAqB,KAAKC,KAA1B,CAAQD,QAAR;MACA,KAAKE,QAAL,GAAgB,KAAKC,qBAAL,EAAhB;;MACA,IAAIC,QAAQ,IAAI,KAAKF,QAArB,EAA+B;QAC7BE,QAAQ,CAACC,IAAT,CAAcC,WAAd,CAA0B,KAAKJ,QAA/B;QACAF,QAAQ;QACR,KAAKO,QAAL,CAAc;UAAER,SAAS,EAAE;SAA3B;;;;;WAIJ,8BAAqB;MACnB,IAAI,CAACN,eAAL,EAAsB;QACpB,KAAKe,cAAL;;;;;WAIJ,gCAAuB;MACrB,IAAI,KAAKN,QAAT,EAAmB;QACjB,KAAKA,QAAL,CAAcO,UAAd,CAAyBC,WAAzB,CAAqC,KAAKR,QAA1C;;;;;WAIJ,iCAAwB;MACtB,IAAI,CAACE,QAAL,EAAe,OAAO,IAAP;MAEf,IAAQO,SAAR,GAAsB,KAAKV,KAA3B,CAAQU,SAAR;;MACA,4BAAyBC,yBAAyB,CAACpB,SAAD,EAAYmB,SAAZ,CAAlD;UAAQE,YAAR,yBAAQA,YAAR;;MACA,IAAMC,SAAS,GAAGV,QAAQ,CAACW,aAAT,CAAuB,KAAvB,CAAlB;MACAD,SAAS,CAACE,SAAV,CAAoBC,GAApB,CAAwBJ,YAAxB;MACAC,SAAS,CAACI,YAAV,CAAuB,aAAvB,EAAsC,QAAtC;MAEA,OAAOJ,SAAP;;;;WAGF,0BAAiB;MACf,IAAQK,QAAR,GAAqB,KAAKlB,KAA1B,CAAQkB,QAAR;MACAxB,QAAQ,CAACyB,mCAAT,CACE,IADF,eAEE,iCAAMD,QAAN,CAFF,EAGE,KAAKjB,QAHP;;;;WAOF,kBAAS;MACP,IAAQiB,QAAR,GAAqB,KAAKlB,KAA1B,CAAQkB,QAAR;MACA,IAAQpB,SAAR,GAAsB,KAAKD,KAA3B,CAAQC,SAAR;MACA,OAAO,CAACN,eAAD,IAAoB,CAACM,SAArB,GACH,IADG,gBAEHJ,QAAQ,CAACC,YAAT,CAAsBuB,QAAtB,EAAgC,KAAKjB,QAArC,CAFJ;;;;;EArDmBmB;;AAAjBxB,SAEGyB,eAAe;EAAEtB,QAAQ,EAAE;IAAA,OAAM,IAAN;;AAAZ;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ie-remove-polyfill.js","sources":["../../src/ie-remove-polyfill.tsx"],"sourcesContent":["/* eslint-disable no-multi-assign,no-loops/no-loops, no-plusplus */\nif (\n global &&\n global.Element &&\n global.Element.prototype &&\n global.Element.prototype.remove === undefined\n) {\n window.Element.prototype.remove = function() {\n this.parentElement.removeChild(this);\n };\n NodeList.prototype.remove = HTMLCollection.prototype.remove = function() {\n for (let i = this.length - 1; i >= 0; i--) {\n if (this[i] && this[i].parentElement) {\n this[i].parentElement.removeChild(this[i]);\n }\n }\n };\n}\n"],"names":["global","Element","prototype","remove","undefined","window","parentElement","removeChild","NodeList","HTMLCollection","i","length"],"mappings":";;;;;;AACA,IACEA,cAAM,IACNA,cAAM,CAACC,OADP,IAEAD,cAAM,CAACC,OAAP,CAAeC,SAFf,IAGAF,cAAM,CAACC,OAAP,CAAeC,SAAf,CAAyBC,MAAzB,KAAoCC,SAJtC,EAKE;AACAC,EAAAA,MAAM,CAACJ,OAAP,CAAeC,SAAf,CAAyBC,MAAzB,GAAkC,YAAW;AAC3C,SAAKG,aAAL,CAAmBC,WAAnB,CAA+B,IAA/B;AACD,GAFD;;AAGAC,EAAAA,QAAQ,CAACN,SAAT,CAAmBC,MAAnB,GAA4BM,cAAc,CAACP,SAAf,CAAyBC,MAAzB,GAAkC,YAAW;AACvE,SAAK,IAAIO,CAAC,GAAG,KAAKC,MAAL,GAAc,CAA3B,EAA8BD,CAAC,IAAI,CAAnC,EAAsCA,CAAC,EAAvC,EAA2C;AACzC,UAAI,KAAKA,CAAL,KAAW,KAAKA,CAAL,EAAQJ,aAAvB,EAAsC;AACpC,aAAKI,CAAL,EAAQJ,aAAR,CAAsBC,WAAtB,CAAkC,KAAKG,CAAL,CAAlC;AACD;AACF;AACF,GAND;AAOD;;;;"}
1
+ {"version":3,"file":"ie-remove-polyfill.js","sources":["../../src/ie-remove-polyfill.tsx"],"sourcesContent":["/* eslint-disable no-multi-assign,no-loops/no-loops, no-plusplus */\nif (\n global &&\n global.Element &&\n global.Element.prototype &&\n global.Element.prototype.remove === undefined\n) {\n window.Element.prototype.remove = function() {\n this.parentElement.removeChild(this);\n };\n NodeList.prototype.remove = HTMLCollection.prototype.remove = function() {\n for (let i = this.length - 1; i >= 0; i--) {\n if (this[i] && this[i].parentElement) {\n this[i].parentElement.removeChild(this[i]);\n }\n }\n };\n}\n"],"names":["global","Element","prototype","remove","undefined","window","parentElement","removeChild","NodeList","HTMLCollection","i","length"],"mappings":";;;;;;AACA,IACEA,cAAM,IACNA,cAAM,CAACC,OADP,IAEAD,cAAM,CAACC,OAAP,CAAeC,SAFf,IAGAF,cAAM,CAACC,OAAP,CAAeC,SAAf,CAAyBC,MAAzB,KAAoCC,SAJtC,EAKE;EACAC,MAAM,CAACJ,OAAP,CAAeC,SAAf,CAAyBC,MAAzB,GAAkC,YAAW;IAC3C,KAAKG,aAAL,CAAmBC,WAAnB,CAA+B,IAA/B;GADF;;EAGAC,QAAQ,CAACN,SAAT,CAAmBC,MAAnB,GAA4BM,cAAc,CAACP,SAAf,CAAyBC,MAAzB,GAAkC,YAAW;IACvE,KAAK,IAAIO,CAAC,GAAG,KAAKC,MAAL,GAAc,CAA3B,EAA8BD,CAAC,IAAI,CAAnC,EAAsCA,CAAC,EAAvC,EAA2C;MACzC,IAAI,KAAKA,CAAL,KAAW,KAAKA,CAAL,EAAQJ,aAAvB,EAAsC;QACpC,KAAKI,CAAL,EAAQJ,aAAR,CAAsBC,WAAtB,CAAkC,KAAKG,CAAL,CAAlC;;;GAHN;AAOD;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-portal",
3
- "version": "1.61.10",
3
+ "version": "1.61.13",
4
4
  "license": "MIT",
5
5
  "description": "Ellie Mae - Dim Sum - Portal",
6
6
  "module": "esm/index.js",
@@ -16,8 +16,8 @@
16
16
  "build": "node ../../scripts/build/build.js"
17
17
  },
18
18
  "dependencies": {
19
- "@elliemae/ds-classnames": "1.61.10",
20
- "@elliemae/ds-utilities": "1.61.10"
19
+ "@elliemae/ds-classnames": "1.61.13",
20
+ "@elliemae/ds-utilities": "1.61.13"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": "^17.0.1",