@mmb-digital/ds-lilly 1.0.108 → 1.0.110

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 (23) hide show
  1. package/cjs/components/Components/SuperModal/_elements_/SuperModal.d.ts.map +1 -1
  2. package/cjs/components/Components/SuperModal/_elements_/SuperModal.js +1 -1
  3. package/cjs/components/Components/SuperModal/_elements_/SuperModal.js.map +1 -1
  4. package/cjs/ds-lilly.css +8 -7
  5. package/cjs/ext/raf/index.js +1 -1
  6. package/cjs/ext/react-is/index.js +1 -1
  7. package/components/Components/SuperModal/_elements_/SuperModal.d.ts.map +1 -1
  8. package/components/Components/SuperModal/_elements_/SuperModal.js +1 -1
  9. package/components/Components/SuperModal/_elements_/SuperModal.js.map +1 -1
  10. package/ds-lilly.css +8 -7
  11. package/package.json +1 -1
  12. /package/assets/{7deaee17f69c47addbb7.eot → 1254ec86dd9891847e73.eot} +0 -0
  13. /package/assets/{198001eb5d3feb444543.svg → 453c7ee7960a392b63d8.svg} +0 -0
  14. /package/assets/{22a2931fda50a720b9c3.svg → 4c9d8a5e8db1af99a964.svg} +0 -0
  15. /package/assets/{104fb5dd28dfdcb14f9d.woff → 62473bb27b3526586077.woff} +0 -0
  16. /package/assets/{21253de5efbd331bbce5.ttf → 775586d0d1ea15fbc1b0.ttf} +0 -0
  17. /package/assets/{c1c42551d42576f697da.eot → 82b140001a858c0ecd1c.eot} +0 -0
  18. /package/assets/{268eb51fe27deb8faf5f.gif → 8720ba89fa4d6aad475a.gif} +0 -0
  19. /package/assets/{efe51c0371a446b9055a.ttf → 9e21b55d8b5eb4c3cd1b.ttf} +0 -0
  20. /package/assets/{e87294050675e7928c61.eot → df24d25523b5bfe770f3.eot} +0 -0
  21. /package/assets/{73932b4e0e8f17a6c026.gif → edf12d63296b34ae7ee2.gif} +0 -0
  22. /package/assets/{91a22c278907af99bb88.woff → ef1922df4971ca9b0310.woff} +0 -0
  23. /package/assets/{ebc60503f525d02ea610.eot → ff54dca827807c90a754.eot} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"SuperModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Components/SuperModal/_elements_/SuperModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAA;AAI7D,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,SAAS,CAAA;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAKD,QAAA,MAAM,UAAU,4CAAoE,mBAAmB,sBA+FtG,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"SuperModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Components/SuperModal/_elements_/SuperModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAA;AAIrE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,SAAS,CAAA;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAKD,QAAA,MAAM,UAAU,4CAAoE,mBAAmB,sBA4HtG,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");require("../../../../utils/getDisplayName.js"),require("../../../../utils/getIntegerMask.js"),require("../../../../utils/isFilled.js"),require("../../../../utils/isNotFilled.js"),require("../../../../utils/isNotNilNorEmpty.js"),require('./../../../../ext/diacritic/diacritics.js');var t=require("../../../../utils/classBinder.js");require('./../../../../ext/text-mask-addons/dist/textMaskAddons.js');var i=require("../../../../utils/constants.js"),r=require('./../../../../ext/framer-motion/dist/es/render/dom/motion.js');exports.default=function(n){var a=n.children,o=n.isContentScrolled,s=void 0!==o&&o,u=n.testId,l=void 0===u?"SuperModal":u,d=e.useState(!1),c=d[0],m=d[1],p="superModal",f=new Map([[i.KEYS.Tab,function(e){var t,i;if(!(document.getElementsByClassName("c-modal").length>0)){var r=null===(t=document.getElementById(p))||void 0===t?void 0:t.querySelectorAll('a[href], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select, [tabindex]:not([tabindex="-1"])'),n=document.activeElement,a=r?Array.from(r).findIndex((function(e){return e===n})):0;if(c||(m(!0),null===(i=null==r?void 0:r[a+1])||void 0===i||i.focus(),e.preventDefault()),r&&r.length>0){var o=r[0],s=r[r.length-1],u=e.shiftKey;u||n!==s||(o.focus(),e.preventDefault()),u&&n===o&&(s.focus(),e.preventDefault())}}}]]),v=function(e){var t=f.get(e.key);return t&&t(e)};return e.useEffect((function(){return window.addEventListener("keydown",v),function(){window.removeEventListener("keydown",v)}})),e.useEffect((function(){var e=document.activeElement;return function(){null==e||e.focus()}}),[]),e.createElement(r.motion.div,{key:"superModalWrapper",animate:{opacity:1},className:"c-superModalWrapper","data-testid":"".concat(l,"Wrapper"),exit:{opacity:0},initial:{opacity:0},transition:{duration:.3}},e.createElement(r.motion.section,{key:"key_".concat(p),animate:{y:0},"aria-labelledby":"superModal_title","aria-modal":"true",className:t.cx("c-superModal",{"c-superModal--scrolled":s}),"data-testid":l,exit:{y:"100%"},id:p,initial:{y:"100%"},role:"dialog",transition:{duration:.3}},a))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");require("../../../../utils/getDisplayName.js"),require("../../../../utils/getIntegerMask.js"),require("../../../../utils/isFilled.js"),require("../../../../utils/isNotFilled.js"),require("../../../../utils/isNotNilNorEmpty.js"),require('./../../../../ext/diacritic/diacritics.js');var t=require("../../../../utils/classBinder.js");require('./../../../../ext/text-mask-addons/dist/textMaskAddons.js');var r=require("../../../../utils/constants.js"),i=require('./../../../../ext/framer-motion/dist/es/render/dom/motion.js');exports.default=function(n){var a=n.children,o=n.isContentScrolled,s=void 0!==o&&o,u=n.testId,l=void 0===u?"SuperModal":u,d=e.useState(!1),c=d[0],f=d[1],v=e.useRef(null),m="superModal",p=new Map([[r.KEYS.Tab,function(e){var t,r;if(!(document.getElementsByClassName("c-modal").length>0)){var i=null===(t=document.getElementById(m))||void 0===t?void 0:t.querySelectorAll('a[href], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select, [tabindex]:not([tabindex="-1"])'),n=document.activeElement,a=i?Array.from(i).findIndex((function(e){return e===n})):0;if(c||(f(!0),null===(r=null==i?void 0:i[a+1])||void 0===r||r.focus(),e.preventDefault()),i&&i.length>0){var o=i[0],s=i[i.length-1],u=e.shiftKey;u||n!==s||(o.focus(),e.preventDefault()),u&&n===o&&(s.focus(),e.preventDefault())}}}]]),y=function(e){var t=p.get(e.key);return t&&t(e)};return e.useEffect((function(){return window.addEventListener("keydown",y),function(){window.removeEventListener("keydown",y)}})),e.useEffect((function(){var e=document.activeElement;return function(){null==e||e.focus()}}),[]),e.useEffect((function(){var e=v.current;if(e){var t=function(e){!!e.target.closest(".c-superModal")||e.preventDefault()},r={passive:!1,capture:!0};return e.addEventListener("wheel",t,r),e.addEventListener("touchmove",t,r),function(){e.removeEventListener("wheel",t,r),e.removeEventListener("touchmove",t,r)}}}),[]),e.createElement(i.motion.div,{key:"superModalWrapper",ref:v,animate:{opacity:1},className:"c-superModalWrapper","data-testid":"".concat(l,"Wrapper"),exit:{opacity:0},initial:{opacity:0},transition:{duration:.3}},e.createElement(i.motion.section,{key:"key_".concat(m),animate:{y:0},"aria-labelledby":"superModal_title","aria-modal":"true",className:t.cx("c-superModal",{"c-superModal--scrolled":s}),"data-testid":l,exit:{y:"100%"},id:m,initial:{y:"100%"},role:"dialog",transition:{duration:.3}},a))};
2
2
  //# sourceMappingURL=SuperModal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SuperModal.js","sources":["../../../../../../../src/components/Components/SuperModal/_elements_/SuperModal.tsx"],"sourcesContent":[null],"names":["_a","children","_b","isContentScrolled","_c","testId","_d","useState","isFocused","setIsFocused","identification","keyListenersMap","Map","KEYS","Tab","event","document","getElementsByClassName","length","focusableModalElements","getElementById","querySelectorAll","activeElement","activeElementPos","Array","from","findIndex","element","focus","preventDefault","firstElement","lastElement","shiftKey","keyDownListener","listener","get","key","useEffect","window","addEventListener","removeEventListener","beforeActive","React","motion","div","animate","opacity","className","concat","exit","initial","transition","duration","createElement","section","y","cx","id","role"],"mappings":"0oBAcmB,SAACA,GAAE,IAAAC,EAAQD,EAAAC,SAAEC,EAAyBF,EAAAG,kBAAzBA,OAAoB,IAAAD,GAAKA,EAAEE,EAAqBJ,EAAAK,OAArBA,OAAM,IAAAD,EAAG,aAAYA,EACxEE,EAA4BC,EAAAA,UAAS,GAApCC,EAASF,EAAA,GAAEG,EAAYH,EAAA,GAExBI,EAAiB,aA0CjBC,EAAkB,IAAIC,IAAI,CAAC,CAACC,EAAIA,KAACC,IAxClB,SAACC,WAEpB,KADqBC,SAASC,uBAAuB,WACpCC,OAAS,GAA1B,CAIA,IAAMC,EAC2B,QADFnB,EAAAgB,SAC5BI,eAAeV,UAAe,IAAAV,OAAA,EAAAA,EAC7BqB,iBAfN,uIAiBUC,EAAkBN,SAAQM,cAE5BC,EAAmBJ,EACrBK,MAAMC,KAAKN,GAAwBO,WAAU,SAACC,GAAY,OAAAA,IAAYL,KACtE,EAQJ,GANKd,IACHC,GAAa,GACmC,QAAhDP,EAAAiB,aAAsB,EAAtBA,EAAyBI,EAAmB,UAAI,IAAArB,GAAAA,EAAA0B,QAChDb,EAAMc,kBAGJV,GAA0BA,EAAuBD,OAAS,EAAG,CAC/D,IAAMY,EAAeX,EAAuB,GACtCY,EAAcZ,EAAuBA,EAAuBD,OAAS,GAEnEc,EAAajB,EAAKiB,SAErBA,GAAYV,IAAkBS,IACjCD,EAAaF,QACbb,EAAMc,kBAGJG,GAAYV,IAAkBQ,IAChCC,EAAYH,QACZb,EAAMc,iBAET,CAjCA,CAkCH,KAIMI,EAAkB,SAAClB,GACvB,IAAMmB,EAAWvB,EAAgBwB,IAAIpB,EAAMqB,KAC3C,OAAOF,GAAYA,EAASnB,EAC9B,EAkBA,OAhBAsB,EAAAA,WAAU,WAGR,OAFAC,OAAOC,iBAAiB,UAAWN,GAE5B,WACLK,OAAOE,oBAAoB,UAAWP,EACxC,CACF,IAEAI,EAAAA,WAAU,WACR,IAAMI,EAAezB,SAASM,cAC9B,OAAO,WAELmB,SAAAA,EAAcb,OAChB,CACD,GAAE,IAGDc,gBAACC,EAAAA,OAAOC,IACN,CAAAR,IAAI,oBACJS,QAAS,CAAEC,QAAS,GACpBC,UAAU,sBAAqB,cAClB,GAAGC,OAAA3C,aAChB4C,KAAM,CAAEH,QAAS,GACjBI,QAAS,CAAEJ,QAAS,GACpBK,WAAY,CAAEC,SAAU,KAExBV,EAAAW,cAACV,EAAMA,OAACW,QAAO,CACblB,IAAK,OAAAY,OAAOtC,GACZmC,QAAS,CAAEU,EAAG,GACE,kBAAA,mBACL,aAAA,OACXR,UAAWS,EAAAA,GAAG,eAAgB,CAAE,yBAA0BrD,IAC7C,cAAAE,EACb4C,KAAM,CAAEM,EAAG,QACXE,GAAI/C,EACJwC,QAAS,CAAEK,EAAG,QACdG,KAAK,SACLP,WAAY,CAAEC,SAAU,KAEvBnD,GAIT"}
1
+ {"version":3,"file":"SuperModal.js","sources":["../../../../../../../src/components/Components/SuperModal/_elements_/SuperModal.tsx"],"sourcesContent":[null],"names":["_a","children","_b","isContentScrolled","_c","testId","_d","useState","isFocused","setIsFocused","wrapperRef","useRef","identification","keyListenersMap","Map","KEYS","Tab","event","document","getElementsByClassName","length","focusableModalElements","getElementById","querySelectorAll","activeElement","activeElementPos","Array","from","findIndex","element","focus","preventDefault","firstElement","lastElement","shiftKey","keyDownListener","listener","get","key","useEffect","window","addEventListener","removeEventListener","beforeActive","wrapper","current","blockOutsideScroll","target","closest","listenerOptions","passive","capture","React","createElement","motion","div","ref","animate","opacity","className","exit","initial","transition","duration","section","concat","y","cx","id","role"],"mappings":"0oBAcmB,SAACA,GAAE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SAAAA,EAAcb,OAChB,CACD,GAAE,IAEHS,EAAAA,WAAU,WACR,IAAMK,EAAUlC,EAAWmC,QAE3B,GAAKD,EAAL,CAIA,IAAME,EAAqB,SAAC7B,KACXA,EAAM8B,OACeC,QAAQ,kBAG1C/B,EAAMc,gBAEV,EAEMkB,EAAkB,CAAEC,SAAS,EAAOC,SAAS,GAKnD,OAHAP,EAAQH,iBAAiB,QAASK,EAAoBG,GACtDL,EAAQH,iBAAiB,YAAaK,EAAoBG,GAEnD,WACLL,EAAQF,oBAAoB,QAASI,EAAoBG,GACzDL,EAAQF,oBAAoB,YAAaI,EAAoBG,EAC/D,CAnBC,CAoBF,GAAE,IAGDG,EAACC,cAAAC,EAAAA,OAAOC,KACNjB,IAAI,oBACJkB,IAAK9C,EACL+C,QAAS,CAAEC,QAAS,GACpBC,UAAU,sBAAqB,cAClB,UAAGtD,EAAM,WACtBuD,KAAM,CAAEF,QAAS,GACjBG,QAAS,CAAEH,QAAS,GACpBI,WAAY,CAAEC,SAAU,KAExBX,EAAAC,cAACC,EAAMA,OAACU,QAAO,CACb1B,IAAK,OAAA2B,OAAOrD,GACZ6C,QAAS,CAAES,EAAG,GACE,kBAAA,mBACL,aAAA,OACXP,UAAWQ,EAAAA,GAAG,eAAgB,CAAE,yBAA0BhE,IAC7C,cAAAE,EACbuD,KAAM,CAAEM,EAAG,QACXE,GAAIxD,EACJiD,QAAS,CAAEK,EAAG,QACdG,KAAK,SACLP,WAAY,CAAEC,SAAU,KAEvB9D,GAIT"}
package/cjs/ds-lilly.css CHANGED
@@ -2066,8 +2066,10 @@ body {
2066
2066
  text-align: left;
2067
2067
  }
2068
2068
 
2069
- .l-body--modalOpen {
2069
+ html.l-body--modalOpen,
2070
+ body.l-body--modalOpen {
2070
2071
  overflow: hidden;
2072
+ overscroll-behavior: none;
2071
2073
  }
2072
2074
 
2073
2075
  .l-content {
@@ -4019,7 +4021,6 @@ body.dark .c-logo__svg {
4019
4021
 
4020
4022
  .c-badge__point {
4021
4023
  background: var(--backgroundPointBadge);
4022
- border: var(--borderPointBadge);
4023
4024
  border-radius: var(--borderRadiusPointBadge);
4024
4025
  color: var(--colorPointBadge);
4025
4026
  font-size: var(--fontSizePointBadge);
@@ -4028,9 +4029,9 @@ body.dark .c-logo__svg {
4028
4029
  min-width: var(--minWidthPointBadge);
4029
4030
  padding: var(--paddingPointBadge);
4030
4031
  position: absolute;
4031
- right: 0;
4032
+ right: 1px;
4032
4033
  text-align: center;
4033
- top: 0;
4034
+ top: 1px;
4034
4035
  transform: translate(50%, -50%);
4035
4036
  }
4036
4037
 
@@ -10651,7 +10652,7 @@ body.dark .u-fg--fgWhiteDefault {
10651
10652
  /* Slider */
10652
10653
  .slick-loading .slick-list
10653
10654
  {
10654
- background: #fff url('assets/73932b4e0e8f17a6c026.gif') center center no-repeat;
10655
+ background: #fff url('assets/edf12d63296b34ae7ee2.gif') center center no-repeat;
10655
10656
  }
10656
10657
 
10657
10658
  /* Icons */
@@ -10661,8 +10662,8 @@ body.dark .u-fg--fgWhiteDefault {
10661
10662
  font-weight: normal;
10662
10663
  font-style: normal;
10663
10664
 
10664
- src: url('assets/ebc60503f525d02ea610.eot');
10665
- src: url('assets/c1c42551d42576f697da.eot') format('embedded-opentype'), url('assets/91a22c278907af99bb88.woff') format('woff'), url('assets/efe51c0371a446b9055a.ttf') format('truetype'), url('assets/22a2931fda50a720b9c3.svg') format('svg');
10665
+ src: url('assets/82b140001a858c0ecd1c.eot');
10666
+ src: url('assets/1254ec86dd9891847e73.eot') format('embedded-opentype'), url('assets/62473bb27b3526586077.woff') format('woff'), url('assets/775586d0d1ea15fbc1b0.ttf') format('truetype'), url('assets/453c7ee7960a392b63d8.svg') format('svg');
10666
10667
  }
10667
10668
  /* Arrows */
10668
10669
  .slick-prev,
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});for(var e=require("../../_virtual/_commonjsHelpers.js"),n=require("../../_virtual/index6.js"),t=require("../performance-now/lib/performance-now.js").performanceNowExports,r="undefined"==typeof window?e.commonjsGlobal:window,o=["moz","webkit"],l="AnimationFrame",a=r["request"+l],c=r["cancel"+l]||r["cancelRequest"+l],i=0;!a&&i<o.length;i++)a=r[o[i]+"Request"+l],c=r[o[i]+"Cancel"+l]||r[o[i]+"CancelRequest"+l];if(!a||!c){var u=0,s=0,f=[],m=1e3/60;a=function(e){if(0===f.length){var n=t(),r=Math.max(0,m-(n-u));u=r+n,setTimeout((function(){var e=f.slice(0);f.length=0;for(var n=0;n<e.length;n++)if(!e[n].cancelled)try{e[n].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(r))}return f.push({handle:++s,callback:e,cancelled:!1}),s},c=function(e){for(var n=0;n<f.length;n++)f[n].handle===e&&(f[n].cancelled=!0)}}n.__module.exports=function(e){return a.call(r,e)},n.__module.exports.cancel=function(){c.apply(r,arguments)},n.__module.exports.polyfill=function(e){e||(e=r),e.requestAnimationFrame=a,e.cancelAnimationFrame=c};var d=n.__module.exports,p=e.getDefaultExportFromCjs(d);exports.default=p;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});for(var e=require("../../_virtual/_commonjsHelpers.js"),n=require("../../_virtual/index5.js"),t=require("../performance-now/lib/performance-now.js").performanceNowExports,r="undefined"==typeof window?e.commonjsGlobal:window,o=["moz","webkit"],l="AnimationFrame",a=r["request"+l],c=r["cancel"+l]||r["cancelRequest"+l],i=0;!a&&i<o.length;i++)a=r[o[i]+"Request"+l],c=r[o[i]+"Cancel"+l]||r[o[i]+"CancelRequest"+l];if(!a||!c){var u=0,s=0,f=[],m=1e3/60;a=function(e){if(0===f.length){var n=t(),r=Math.max(0,m-(n-u));u=r+n,setTimeout((function(){var e=f.slice(0);f.length=0;for(var n=0;n<e.length;n++)if(!e[n].cancelled)try{e[n].callback(u)}catch(e){setTimeout((function(){throw e}),0)}}),Math.round(r))}return f.push({handle:++s,callback:e,cancelled:!1}),s},c=function(e){for(var n=0;n<f.length;n++)f[n].handle===e&&(f[n].cancelled=!0)}}n.__module.exports=function(e){return a.call(r,e)},n.__module.exports.cancel=function(){c.apply(r,arguments)},n.__module.exports.polyfill=function(e){e||(e=r),e.requestAnimationFrame=a,e.cancelAnimationFrame=c};var d=n.__module.exports,p=e.getDefaultExportFromCjs(d);exports.default=p;
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";var e,r=require("../../_virtual/index5.js"),i=require("./cjs/react-is.production.min.js"),s=require("./cjs/react-is.development.js");exports.__require=function(){return e||(e=1,"production"===process.env.NODE_ENV?r.__module.exports=i.__require():r.__module.exports=s.__require()),r.__module.exports};
1
+ "use strict";var e,r=require("../../_virtual/index6.js"),i=require("./cjs/react-is.production.min.js"),s=require("./cjs/react-is.development.js");exports.__require=function(){return e||(e=1,"production"===process.env.NODE_ENV?r.__module.exports=i.__require():r.__module.exports=s.__require()),r.__module.exports};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SuperModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/SuperModal/_elements_/SuperModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAuB,MAAM,OAAO,CAAA;AAI7D,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,SAAS,CAAA;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAKD,QAAA,MAAM,UAAU,4CAAoE,mBAAmB,sBA+FtG,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"SuperModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Components/SuperModal/_elements_/SuperModal.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAA;AAIrE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,SAAS,CAAA;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAKD,QAAA,MAAM,UAAU,4CAAoE,mBAAmB,sBA4HtG,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,2 +1,2 @@
1
- import t,{useState as e,useEffect as i}from"react";import"../../../../utils/getDisplayName.js";import"../../../../utils/getIntegerMask.js";import"../../../../utils/isFilled.js";import"../../../../utils/isNotFilled.js";import"../../../../utils/isNotNilNorEmpty.js";import'./../../../../ext/diacritic/diacritics.js';import{cx as o}from"../../../../utils/classBinder.js";import'./../../../../ext/text-mask-addons/dist/textMaskAddons.js';import{KEYS as n}from"../../../../utils/constants.js";import{motion as r}from'./../../../../ext/framer-motion/dist/es/render/dom/motion.js';var a=function(a){var l=a.children,s=a.isContentScrolled,d=void 0!==s&&s,u=a.testId,c=void 0===u?"SuperModal":u,m=e(!1),p=m[0],f=m[1],y="superModal",v=new Map([[n.Tab,function(t){var e,i;if(!(document.getElementsByClassName("c-modal").length>0)){var o=null===(e=document.getElementById(y))||void 0===e?void 0:e.querySelectorAll('a[href], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select, [tabindex]:not([tabindex="-1"])'),n=document.activeElement,r=o?Array.from(o).findIndex((function(t){return t===n})):0;if(p||(f(!0),null===(i=null==o?void 0:o[r+1])||void 0===i||i.focus(),t.preventDefault()),o&&o.length>0){var a=o[0],l=o[o.length-1],s=t.shiftKey;s||n!==l||(a.focus(),t.preventDefault()),s&&n===a&&(l.focus(),t.preventDefault())}}}]]),x=function(t){var e=v.get(t.key);return e&&e(t)};return i((function(){return window.addEventListener("keydown",x),function(){window.removeEventListener("keydown",x)}})),i((function(){var t=document.activeElement;return function(){null==t||t.focus()}}),[]),t.createElement(r.div,{key:"superModalWrapper",animate:{opacity:1},className:"c-superModalWrapper","data-testid":"".concat(c,"Wrapper"),exit:{opacity:0},initial:{opacity:0},transition:{duration:.3}},t.createElement(r.section,{key:"key_".concat(y),animate:{y:0},"aria-labelledby":"superModal_title","aria-modal":"true",className:o("c-superModal",{"c-superModal--scrolled":d}),"data-testid":c,exit:{y:"100%"},id:y,initial:{y:"100%"},role:"dialog",transition:{duration:.3}},l))};export{a as default};
1
+ import e,{useState as t,useRef as i,useEffect as n}from"react";import"../../../../utils/getDisplayName.js";import"../../../../utils/getIntegerMask.js";import"../../../../utils/isFilled.js";import"../../../../utils/isNotFilled.js";import"../../../../utils/isNotNilNorEmpty.js";import'./../../../../ext/diacritic/diacritics.js';import{cx as o}from"../../../../utils/classBinder.js";import'./../../../../ext/text-mask-addons/dist/textMaskAddons.js';import{KEYS as r}from"../../../../utils/constants.js";import{motion as a}from'./../../../../ext/framer-motion/dist/es/render/dom/motion.js';var s=function(s){var l=s.children,d=s.isContentScrolled,u=void 0!==d&&d,c=s.testId,m=void 0===c?"SuperModal":c,p=t(!1),v=p[0],f=p[1],y=i(null),E="superModal",g=new Map([[r.Tab,function(e){var t,i;if(!(document.getElementsByClassName("c-modal").length>0)){var n=null===(t=document.getElementById(E))||void 0===t?void 0:t.querySelectorAll('a[href], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select, [tabindex]:not([tabindex="-1"])'),o=document.activeElement,r=n?Array.from(n).findIndex((function(e){return e===o})):0;if(v||(f(!0),null===(i=null==n?void 0:n[r+1])||void 0===i||i.focus(),e.preventDefault()),n&&n.length>0){var a=n[0],s=n[n.length-1],l=e.shiftKey;l||o!==s||(a.focus(),e.preventDefault()),l&&o===a&&(s.focus(),e.preventDefault())}}}]]),h=function(e){var t=g.get(e.key);return t&&t(e)};return n((function(){return window.addEventListener("keydown",h),function(){window.removeEventListener("keydown",h)}})),n((function(){var e=document.activeElement;return function(){null==e||e.focus()}}),[]),n((function(){var e=y.current;if(e){var t=function(e){!!e.target.closest(".c-superModal")||e.preventDefault()},i={passive:!1,capture:!0};return e.addEventListener("wheel",t,i),e.addEventListener("touchmove",t,i),function(){e.removeEventListener("wheel",t,i),e.removeEventListener("touchmove",t,i)}}}),[]),e.createElement(a.div,{key:"superModalWrapper",ref:y,animate:{opacity:1},className:"c-superModalWrapper","data-testid":"".concat(m,"Wrapper"),exit:{opacity:0},initial:{opacity:0},transition:{duration:.3}},e.createElement(a.section,{key:"key_".concat(E),animate:{y:0},"aria-labelledby":"superModal_title","aria-modal":"true",className:o("c-superModal",{"c-superModal--scrolled":u}),"data-testid":m,exit:{y:"100%"},id:E,initial:{y:"100%"},role:"dialog",transition:{duration:.3}},l))};export{s as default};
2
2
  //# sourceMappingURL=SuperModal.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SuperModal.js","sources":["../../../../../src/components/Components/SuperModal/_elements_/SuperModal.tsx"],"sourcesContent":[null],"names":["SuperModal","_a","children","_b","isContentScrolled","_c","testId","_d","useState","isFocused","setIsFocused","identification","keyListenersMap","Map","KEYS","Tab","event","document","getElementsByClassName","length","focusableModalElements","getElementById","querySelectorAll","activeElement","activeElementPos","Array","from","findIndex","element","focus","preventDefault","firstElement","lastElement","shiftKey","keyDownListener","listener","get","key","useEffect","window","addEventListener","removeEventListener","beforeActive","React","motion","div","animate","opacity","className","concat","exit","initial","transition","duration","createElement","section","y","cx","id","role"],"mappings":"mlBAWA,IAGMA,EAAa,SAACC,GAAE,IAAAC,EAAQD,EAAAC,SAAEC,EAAyBF,EAAAG,kBAAzBA,OAAoB,IAAAD,GAAKA,EAAEE,EAAqBJ,EAAAK,OAArBA,OAAM,IAAAD,EAAG,aAAYA,EACxEE,EAA4BC,GAAS,GAApCC,EAASF,EAAA,GAAEG,EAAYH,EAAA,GAExBI,EAAiB,aA0CjBC,EAAkB,IAAIC,IAAI,CAAC,CAACC,EAAKC,IAxClB,SAACC,WAEpB,KADqBC,SAASC,uBAAuB,WACpCC,OAAS,GAA1B,CAIA,IAAMC,EAC2B,QADFnB,EAAAgB,SAC5BI,eAAeV,UAAe,IAAAV,OAAA,EAAAA,EAC7BqB,iBAfN,uIAiBUC,EAAkBN,SAAQM,cAE5BC,EAAmBJ,EACrBK,MAAMC,KAAKN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al.js","sources":["../../../../../src/components/Components/SuperModal/_elements_/SuperModal.tsx"],"sourcesContent":[null],"names":["SuperModal","_a","children","_b","isContentScrolled","_c","testId","_d","useState","isFocused","setIsFocused","wrapperRef","useRef","identification","keyListenersMap","Map","KEYS","Tab","event","document","getElementsByClassName","length","focusableModalElements","getElementById","querySelectorAll","activeElement","activeElementPos","Array","from","findIndex","element","focus","preventDefault","firstElement","lastElement","shiftKey","keyDownListener","listener","get","key","useEffect","window","addEventListener","removeEventListener","beforeActive","wrapper","current","blockOutsideScroll","target","closest","listenerOptions","passive","capture","React","createElement","motion","div","ref","animate","opacity","className","exit","initial","transition","duration","section","concat","y","cx","id","role"],"mappings":"+lBAWA,IAGMA,EAAa,SAACC,GAAE,IAAAC,EAAQD,EAAAC,SAAEC,EAAyBF,EAAAG,kBAAzBA,OAAoB,IAAAD,GAAKA,EAAEE,EAAqBJ,EAAAK,OAArBA,OAAM,IAAAD,EAAG,aAAYA,EACxEE,EAA4BC,GAAS,GAApCC,EAASF,EAAA,GAAEG,EAAYH,EAAA,GACxBI,EAAaC,EAAuB,MAEpCC,EAAiB,aA0CjBC,EAAkB,IAAIC,IAAI,CAAC,CAACC,EAAKC,IAxClB,SAACC,WAEpB,KADqBC,SAASC,uBAAuB,WACpCC,OAAS,GAA1B,CAIA,IAAMC,EAC2B,QADFrB,EAAAkB,SAC5BI,eAAeV,UAAe,IAAAZ,OAAA,EAAAA,EAC7BuB,iBAhBN,uIAkBUC,EAAkBN,SAAQM,cAE5BC,EAAmBJ,EACrBK,MAAMC,KAAKN,GAAwBO,WAAU,SAACC,GAAY,OAAAA,IAAYL,KACtE,EAQJ,GANKhB,IACHC,GAAa,GACmC,QAAhDP,EAAAmB,aAAsB,EAAtBA,EAAyBI,EAAmB,UAAI,IAAAvB,GAAAA,EAAA4B,QAChDb,EAAMc,kBAGJV,GAA0BA,EAAuBD,OAAS,EAAG,CAC/D,IAAMY,EAAeX,EAAuB,GACtCY,EAAcZ,EAAuBA,EAAu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CAAEM,EAAG,QACXE,GAAIxD,EACJiD,QAAS,CAAEK,EAAG,QACdG,KAAK,SACLP,WAAY,CAAEC,SAAU,KAEvB9D,GAIT"}
package/ds-lilly.css CHANGED
@@ -2066,8 +2066,10 @@ body {
2066
2066
  text-align: left;
2067
2067
  }
2068
2068
 
2069
- .l-body--modalOpen {
2069
+ html.l-body--modalOpen,
2070
+ body.l-body--modalOpen {
2070
2071
  overflow: hidden;
2072
+ overscroll-behavior: none;
2071
2073
  }
2072
2074
 
2073
2075
  .l-content {
@@ -4019,7 +4021,6 @@ body.dark .c-logo__svg {
4019
4021
 
4020
4022
  .c-badge__point {
4021
4023
  background: var(--backgroundPointBadge);
4022
- border: var(--borderPointBadge);
4023
4024
  border-radius: var(--borderRadiusPointBadge);
4024
4025
  color: var(--colorPointBadge);
4025
4026
  font-size: var(--fontSizePointBadge);
@@ -4028,9 +4029,9 @@ body.dark .c-logo__svg {
4028
4029
  min-width: var(--minWidthPointBadge);
4029
4030
  padding: var(--paddingPointBadge);
4030
4031
  position: absolute;
4031
- right: 0;
4032
+ right: 1px;
4032
4033
  text-align: center;
4033
- top: 0;
4034
+ top: 1px;
4034
4035
  transform: translate(50%, -50%);
4035
4036
  }
4036
4037
 
@@ -10651,7 +10652,7 @@ body.dark .u-fg--fgWhiteDefault {
10651
10652
  /* Slider */
10652
10653
  .slick-loading .slick-list
10653
10654
  {
10654
- background: #fff url('assets/268eb51fe27deb8faf5f.gif') center center no-repeat;
10655
+ background: #fff url('assets/8720ba89fa4d6aad475a.gif') center center no-repeat;
10655
10656
  }
10656
10657
 
10657
10658
  /* Icons */
@@ -10661,8 +10662,8 @@ body.dark .u-fg--fgWhiteDefault {
10661
10662
  font-weight: normal;
10662
10663
  font-style: normal;
10663
10664
 
10664
- src: url('assets/e87294050675e7928c61.eot');
10665
- src: url('assets/7deaee17f69c47addbb7.eot') format('embedded-opentype'), url('assets/104fb5dd28dfdcb14f9d.woff') format('woff'), url('assets/21253de5efbd331bbce5.ttf') format('truetype'), url('assets/198001eb5d3feb444543.svg') format('svg');
10665
+ src: url('assets/df24d25523b5bfe770f3.eot');
10666
+ src: url('assets/ff54dca827807c90a754.eot') format('embedded-opentype'), url('assets/ef1922df4971ca9b0310.woff') format('woff'), url('assets/9e21b55d8b5eb4c3cd1b.ttf') format('truetype'), url('assets/4c9d8a5e8db1af99a964.svg') format('svg');
10666
10667
  }
10667
10668
  /* Arrows */
10668
10669
  .slick-prev,
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "module": "./index.js",
4
4
  "typings": "./index.d.ts",
5
5
  "name": "@mmb-digital/ds-lilly",
6
- "version": "1.0.108",
6
+ "version": "1.0.110",
7
7
  "description": "MMB LILLY design system",
8
8
  "license": "UNLICENSED",
9
9
  "sideEffects": [