@alma/widgets 4.1.0 → 4.1.2

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/dist/widgets.css CHANGED
@@ -1 +1 @@
1
- :root{--weight-normal: 400;--weight-medium: 500;--weight-semi-bold: 600;--weight-bold: 700;--alma-orange: #fa5022;--soft-orange: #ffeadb;--alma-blue: #60d2df;--soft-blue: #e7f8fa;--alma-yellow: #ffcf00;--soft-yellow: #fff5cc;--alma-green: #4bb543;--soft-green: #e2f3e1;--alma-red: #cf2020;--soft-red: #ffecec;--off-white: #f9f9f9;--light-gray: #dcdcdc;--dark-gray: #4a4a4a;--off-black: #1a1a1a;--white: #fff;--black: #000;--font-tiny: 10px;--font-x-small: 12px;--font-small: 14px;--font-base: 16px;--font-medium: 20px;--font-large: 24px;--font-x-large: 32px}@font-face{font-family:Venn;src:url(https://cdn.almapay.com/fonts/Venn/Venn-Bold.eot) format("embedded-opentype"),url(https://cdn.almapay.com/fonts/Venn/Venn-Bold.woff) format("woff"),url(https://cdn.almapay.com/fonts/Venn/Venn-Bold.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Venn;src:url(https://cdn.almapay.com/fonts/Venn/Venn-Regular.eot?#iefix) format("embedded-opentype"),url(https://cdn.almapay.com/fonts/Venn/Venn-Regular.woff) format("woff"),url(https://cdn.almapay.com/fonts/Venn/Venn-Regular.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Argent;src:url(https://cdn.almapay.com/fonts/Argent/ArgentCF-DemiBold.eot) format("embedded-opentype"),url(https://cdn.almapay.com/fonts/Argent/ArgentCF-DemiBold.woff) format("woff"),url(https://cdn.almapay.com/fonts/Argent/ArgentCF-DemiBold.ttf) format("truetype");font-weight:600;font-style:normal;font-display:swap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.sr-only:focus{position:static;width:auto;height:auto;padding:inherit;margin:inherit;overflow:visible;clip:auto;white-space:inherit}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms;animation-iteration-count:1;transition-duration:.01ms;scroll-behavior:auto}}._loadingIndicator_1fdeg_1{display:flex;flex-direction:column;align-items:center}@media screen and (prefers-reduced-motion: reduce){._loadingIndicator_1fdeg_1>svg{animation:none}}._loadingIndicator_1fdeg_1>svg{animation:_bounce_1fdeg_1 1.7s ease infinite}@keyframes _bounce_1fdeg_1{60%{transform:scale(1)}70%{transform:scale(.7)}80%{transform:scale(1)}85%{transform:scale(.95)}to{transform:scale(1)}}._modal_t1s7a_1{border:none;background-color:var(--white);color:var(--off-black);width:100%;height:83vh;position:absolute;bottom:0;border-top-left-radius:20px;border-top-right-radius:20px;padding-top:48px}._modal_t1s7a_1:focus,._modal_t1s7a_1:focus-visible{outline:1px solid var(--alma-orange)}._content_t1s7a_19{padding:24px;width:100%;height:100%}._contentScrollable_t1s7a_25{overflow-y:auto;margin:0;box-sizing:border-box}._overlay_t1s7a_31{position:fixed;top:0!important;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:#0000004d;z-index:99999}._header_t1s7a_44{display:flex;justify-content:flex-end;position:absolute;top:12px;right:12px;z-index:1}._closeButton_t1s7a_53{border:none;display:flex;justify-content:center;align-items:center;background-color:var(--off-black);border-radius:50%;cursor:pointer;padding:4px;margin:0}._closeButton_t1s7a_53:hover,._closeButton_t1s7a_53:focus,._closeButton_t1s7a_53:focus-visible{background-color:var(--off-black);outline:1px solid var(--alma-orange);outline-offset:2px}@media screen and (min-width: 800px){._modal_t1s7a_1{border-radius:8px;width:800px;height:550px;position:relative;padding-top:0}._contentScrollable_t1s7a_25{max-height:100vh;overflow:hidden}._content_t1s7a_19{padding:32px}}._skipLinks_ki0vu_2{position:absolute;top:0;left:0;z-index:9999;width:100%}._skipLinksList_ki0vu_10{margin:0;padding:0;list-style:none}._skipLinkItem_ki0vu_16{margin:0;padding:0}._skipLink_ki0vu_2{position:absolute;top:-999px;left:-999px;width:1px;height:1px;overflow:hidden;&:focus{position:static;width:auto;height:auto;padding:8px 16px;margin:4px;background:#000;color:#fff;text-decoration:none;border-radius:4px;font-size:var(--font-small);font-weight:600;box-shadow:0 2px 8px #0000004d;outline:1px solid var(--alma-orange);z-index:10000}}._skipLink_ki0vu_2:hover:focus{background:#333}._openModalInfo_a4893_1{text-decoration:underline}._buttons_1evkl_1{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:center;margin-bottom:24px;padding-bottom:12px;gap:8px;border-bottom:1px solid var(--light-gray)}@media screen and (prefers-reduced-motion: reduce){._buttons_1evkl_1>button{display:initial;height:50px;min-width:50px;border:1px solid var(--dark-gray);border-radius:16px;font-family:Argent,sans-serif;font-size:var(--font-medium);line-height:120%;font-weight:600;cursor:pointer;background-color:var(--white);transition:none;color:var(--off-black);padding:initial;margin:0}}._buttons_1evkl_1>button{display:initial;height:50px;min-width:50px;border:1px solid var(--dark-gray);border-radius:16px;font-family:Argent,sans-serif;font-size:var(--font-medium);line-height:120%;font-weight:600;cursor:pointer;background-color:var(--white);transition:all .1s ease;color:var(--off-black);padding:initial;margin:0}._buttons_1evkl_1>button:hover,._buttons_1evkl_1>button:focus,._buttons_1evkl_1>button:focus-visible{outline:1px solid var(--alma-orange);outline-offset:2px}._buttons_1evkl_1>button._active_1evkl_57{background-color:var(--alma-orange);color:var(--white);border:0}._buttons_1evkl_1>button span,._textButton_1evkl_65{display:inline;border:none;text-decoration:none;margin:32px;color:var(--off-black)}._buttons_1evkl_1>button._active_1evkl_57 span,._textButton_1evkl_65{display:inline;border:none;text-decoration:none;margin:32px;color:var(--white)}._installment_yfot3_1{display:flex;flex-direction:row;justify-content:space-between;font-size:var(--font-base);line-height:135%;margin-bottom:6px;width:100%}._date_yfot3_11{display:flex;align-items:center;margin-left:-23px}._dot_yfot3_17{width:10px;height:10px;border-radius:50%;background-color:var(--soft-orange);margin-right:16px;z-index:1}._isCurrent_yfot3_26{background-color:var(--alma-orange)}._bold_yfot3_30{font-weight:700}@media screen and (min-width: 800px){._installment_yfot3_1{font-size:var(--font-base)}._dot_yfot3_17:after{border-left:2px solid var(--off-white);height:18px;margin-left:4px;content:" ";position:absolute;z-index:0;margin-top:10px}}._container_1onda_1{font-family:Argent,sans-serif;background-color:var(--off-white);border-radius:20px;padding:16px;z-index:2;position:relative}._container_1onda_1 p,._container_1onda_1 span{border:none;padding:0;margin:0;color:var(--off-black);text-decoration:none}._container_1onda_1 h3{margin:4px 0}._total_1onda_24{display:flex;flex-direction:row;justify-content:space-between;font-size:var(--font-medium)}._creditInfo_1onda_31{margin:4px 0;font-family:Venn,sans-serif;border-radius:20px;border:1px solid var(--off-white);padding:16px;z-index:2;position:relative;font-size:var(--font-base)}._creditInfoTitle_1onda_42{font-weight:var(--weight-bold)}._fees_1onda_46{display:flex;font-family:Venn,sans-serif;flex-direction:row;justify-content:space-between;font-weight:var(--weight-bold);font-size:var(--font-small);line-height:135%}._creditCost_1onda_56{text-align:right}._creditInfoLegalText_1onda_60{font-size:var(--font-tiny);font-family:Venn,sans-serif;margin-top:8px;font-weight:var(--weight-normal)}._scheduleContainer_sch15_1{padding:6px;color:var(--off-black)}._scheduleContainer_sch15_1:focus,._scheduleContainer_sch15_1:focus-visible{outline:1px auto var(--alma-orange)}._schedule_sch15_1{padding:0 24px;margin:6px 0;font-family:Venn,sans-serif;color:var(--off-black)}._scheduleItem_sch15_18{list-style-type:none;color:var(--off-black)}@media (min-width: 800px){._schedule_sch15_1{overflow-y:auto;margin:0}}._cardContainer_5dhmv_1{display:flex;flex-direction:row;width:100%;justify-content:center;gap:10px;margin:24px 0}._list_b16wp_1{display:flex;flex-direction:column;margin-bottom:40px;padding:0 24px;gap:20px;font-family:Venn,sans-serif}._list_b16wp_1:focus,._list_b16wp_1:focus-visible{outline:1px solid var(--alma-orange);outline-offset:2px}._listItem_b16wp_16{display:flex;align-items:center;line-height:135%;gap:16px;font-size:var(--font-small);color:var(--off-black)}._bullet_b16wp_25{font-family:Argent,sans-serif;font-weight:600;font-size:var(--font-x-large);min-width:20px;line-height:110%;color:var(--alma-blue)}._listItem_b16wp_16:first-child ._bullet_b16wp_25{color:var(--alma-orange)}._listItem_b16wp_16:last-child ._bullet_b16wp_25{color:var(--alma-yellow)}@media (min-width: 800px){._list_b16wp_1{margin:0;padding:0}}h2._title_jsq3r_1,._title_jsq3r_1{font-family:Argent,sans-serif;font-weight:600;font-size:var(--font-medium);line-height:130%;text-align:center;margin:0 0 24px;text-decoration:none;color:var(--off-black);padding:0}@media (min-width: 800px){h2._title_jsq3r_1,._title_jsq3r_1{font-size:var(--font-large)}}._container_lop95_1{display:flex;height:100%;flex-direction:row}._block_lop95_7{height:100%;display:flex;flex-direction:column;width:100%}._left_lop95_14{max-width:300px;padding-right:24px;gap:20px}._logo_lop95_20{position:absolute;bottom:35px;left:150px}._noEligibility_3lnq8_1{height:100%;display:flex;align-items:center;text-align:center;font-size:var(--font-medium)}._loader_3lnq8_9{height:100%;display:flex;align-items:center;justify-content:center}._scheduleArea_3lnq8_16{position:relative}._verticalLine_3lnq8_20{position:absolute;top:15px;left:5px;width:2px;height:calc(100% - 120px);background-color:var(--off-white)}@media screen and (min-width: 800px){._scheduleArea_3lnq8_16{overflow:auto}._verticalLine_3lnq8_20{display:none}}._container_1ca7c_1{display:flex;flex-direction:column}._logo_1ca7c_6{margin:0 auto;overflow:visible}._loadingIndicator_n68kv_1{display:flex;flex-direction:column;align-items:flex-start;width:100%}._line1_n68kv_8{width:100%;height:20px;background-color:var(--light-gray);border-radius:2px}._line2_n68kv_15{width:60%;height:15px;margin-top:16px;background-color:var(--light-gray);border-radius:2px}._widgetContainer_v4hon_1{width:368px;max-width:100%;background-color:var(--white);border:1px solid var(--light-gray);display:flex;flex-direction:column;align-items:flex-start;padding:12px;gap:8px}._primaryContainer_v4hon_13{display:flex;flex-direction:row;align-items:flex-start}._paymentPlans_v4hon_19{display:flex;flex-direction:row;gap:8px;align-items:flex-start;max-width:310px;flex-wrap:wrap}@media screen and (prefers-reduced-motion: reduce){._planButton_v4hon_29{font-family:Venn,sans-serif;border:none;background:transparent;cursor:pointer;transition:none;padding:2px 10px;color:var(--off-black);border-radius:4px;font-weight:700;font-size:var(--font-x-small);display:flex;flex-direction:column;justify-content:center;align-items:center;height:24px;min-width:24px;margin:0}}._planButton_v4hon_29{font-family:Venn,sans-serif;border:none;background:transparent;cursor:pointer;transition:all .2s ease;padding:2px 10px;color:var(--off-black);border-radius:4px;font-weight:700;font-size:var(--font-x-small);display:flex;flex-direction:column;justify-content:center;align-items:center;height:24px;min-width:24px;margin:0}._planButton_v4hon_29:hover{transform:scale(1.05);background-color:transparent}._planButton_v4hon_29:focus,._planButton_v4hon_29:focus-visible{outline:1px solid var(--alma-orange);outline-offset:2px;background-color:transparent}._planButton_v4hon_29._monochrome_v4hon_82:focus,._planButton_v4hon_29._monochrome_v4hon_82:focus-visible{outline:1px solid var(--black);outline-offset:2px}._planButton_v4hon_29._notEligible_v4hon_88{cursor:not-allowed;opacity:.6}._planButton_v4hon_29._notEligible_v4hon_88:hover,._planButton_v4hon_29._notEligible_v4hon_88:focus{transform:scale(1);outline:none;cursor:not-allowed;opacity:.6}._planButton_v4hon_29._active_v4hon_102{color:var(--white);background:var(--alma-orange)}._planButton_v4hon_29._active_v4hon_102._monochrome_v4hon_82{background:var(--off-black)}._planButton_v4hon_29._active_v4hon_102._notEligible_v4hon_88{background-color:var(--white);color:var(--dark-gray);cursor:not-allowed}._hideBorder_v4hon_117{border:none}._infoContainer_v4hon_121{width:100%;flex-direction:column;display:flex;align-items:start}._info_v4hon_121{font-family:Venn,sans-serif;font-size:var(--font-x-small);line-height:16px;color:var(--dark-gray);text-align:center}._info_v4hon_121 p{margin:0;padding:0;border:none;background-color:transparent;color:var(--off-black)}._announceText_v4hon_146{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}._notEligible_v4hon_88{color:var(--dark-gray)}._loader_v4hon_162{overflow:hidden;align-items:center}._pending_v4hon_167{align-items:center}._clickable_v4hon_171{cursor:pointer}._unClickable_v4hon_175{cursor:not-allowed}._knowMore_v4hon_179{display:flex;gap:6px;align-items:center;background-color:transparent;border:none;margin:0 12px 0 0;padding:3px;font-family:inherit;font-size:inherit;color:inherit;box-shadow:none;border-radius:0;cursor:pointer}._knowMore_v4hon_179:hover{background-color:transparent;border:none;text-decoration:none;transform:scale(1.05);box-shadow:none}._knowMore_v4hon_179:focus,._knowMore_v4hon_179:focus-visible{background-color:transparent;border-radius:4px!important;outline:1px solid var(--alma-orange)!important}._knowMore_v4hon_179._monochrome_v4hon_82:focus,._knowMore_v4hon_179._monochrome_v4hon_82:focus-visible{background-color:transparent;outline:1px solid black!important}
1
+ :root{--weight-normal: 400;--weight-medium: 500;--weight-semi-bold: 600;--weight-bold: 700;--alma-orange: #fa5022;--soft-orange: #ffeadb;--alma-blue: #60d2df;--soft-blue: #e7f8fa;--alma-yellow: #ffcf00;--soft-yellow: #fff5cc;--alma-green: #4bb543;--soft-green: #e2f3e1;--alma-red: #cf2020;--soft-red: #ffecec;--off-white: #f9f9f9;--light-gray: #dcdcdc;--dark-gray: #4a4a4a;--off-black: #1a1a1a;--white: #fff;--black: #000;--font-tiny: 10px;--font-x-small: 12px;--font-small: 14px;--font-base: 16px;--font-medium: 20px;--font-large: 24px;--font-x-large: 32px}@font-face{font-family:Venn;src:url(https://cdn.almapay.com/fonts/Venn/Venn-Bold.eot) format("embedded-opentype"),url(https://cdn.almapay.com/fonts/Venn/Venn-Bold.woff) format("woff"),url(https://cdn.almapay.com/fonts/Venn/Venn-Bold.ttf) format("truetype");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Venn;src:url(https://cdn.almapay.com/fonts/Venn/Venn-Regular.eot?#iefix) format("embedded-opentype"),url(https://cdn.almapay.com/fonts/Venn/Venn-Regular.woff) format("woff"),url(https://cdn.almapay.com/fonts/Venn/Venn-Regular.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Argent;src:url(https://cdn.almapay.com/fonts/Argent/ArgentCF-DemiBold.eot) format("embedded-opentype"),url(https://cdn.almapay.com/fonts/Argent/ArgentCF-DemiBold.woff) format("woff"),url(https://cdn.almapay.com/fonts/Argent/ArgentCF-DemiBold.ttf) format("truetype");font-weight:600;font-style:normal;font-display:swap}#alma-widget-payment-plans-main-container .sr-only,#alma-widget-modal-main-container .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#alma-widget-payment-plans-main-container .sr-only:focus,#alma-widget-modal-main-container .sr-only:focus{position:static;width:auto;height:auto;padding:inherit;margin:inherit;overflow:visible;clip:auto;white-space:inherit}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms;animation-iteration-count:1;transition-duration:.01ms;scroll-behavior:auto}}._loadingIndicator_1fdeg_1{display:flex;flex-direction:column;align-items:center}@media screen and (prefers-reduced-motion: reduce){._loadingIndicator_1fdeg_1>svg{animation:none}}._loadingIndicator_1fdeg_1>svg{animation:_bounce_1fdeg_1 1.7s ease infinite}@keyframes _bounce_1fdeg_1{60%{transform:scale(1)}70%{transform:scale(.7)}80%{transform:scale(1)}85%{transform:scale(.95)}to{transform:scale(1)}}._modal_t1s7a_1{border:none;background-color:var(--white);color:var(--off-black);width:100%;height:83vh;position:absolute;bottom:0;border-top-left-radius:20px;border-top-right-radius:20px;padding-top:48px}._modal_t1s7a_1:focus,._modal_t1s7a_1:focus-visible{outline:1px solid var(--alma-orange)}._content_t1s7a_19{padding:24px;width:100%;height:100%}._contentScrollable_t1s7a_25{overflow-y:auto;margin:0;box-sizing:border-box}._overlay_t1s7a_31{position:fixed;top:0!important;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:#0000004d;z-index:99999}._header_t1s7a_44{display:flex;justify-content:flex-end;position:absolute;top:12px;right:12px;z-index:1}._closeButton_t1s7a_53{border:none;display:flex;justify-content:center;align-items:center;background-color:var(--off-black);border-radius:50%;cursor:pointer;padding:4px;margin:0}._closeButton_t1s7a_53:hover,._closeButton_t1s7a_53:focus,._closeButton_t1s7a_53:focus-visible{background-color:var(--off-black);outline:1px solid var(--alma-orange);outline-offset:2px}@media screen and (min-width: 800px){._modal_t1s7a_1{border-radius:8px;width:800px;height:550px;position:relative;padding-top:0}._contentScrollable_t1s7a_25{max-height:100vh;overflow:hidden}._content_t1s7a_19{padding:32px}}._skipLinks_ki0vu_2{position:absolute;top:0;left:0;z-index:9999;width:100%}._skipLinksList_ki0vu_10{margin:0;padding:0;list-style:none}._skipLinkItem_ki0vu_16{margin:0;padding:0}._skipLink_ki0vu_2{position:absolute;top:-999px;left:-999px;width:1px;height:1px;overflow:hidden;&:focus{position:static;width:auto;height:auto;padding:8px 16px;margin:4px;background:#000;color:#fff;text-decoration:none;border-radius:4px;font-size:var(--font-small);font-weight:600;box-shadow:0 2px 8px #0000004d;outline:1px solid var(--alma-orange);z-index:10000}}._skipLink_ki0vu_2:hover:focus{background:#333}._openModalInfo_a4893_1{text-decoration:underline}._buttons_1evkl_1{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:center;margin-bottom:24px;padding-bottom:12px;gap:8px;border-bottom:1px solid var(--light-gray)}@media screen and (prefers-reduced-motion: reduce){._buttons_1evkl_1>button{display:initial;height:50px;min-width:50px;border:1px solid var(--dark-gray);border-radius:16px;font-family:Argent,sans-serif;font-size:var(--font-medium);line-height:120%;font-weight:600;cursor:pointer;background-color:var(--white);transition:none;color:var(--off-black);padding:initial;margin:0}}._buttons_1evkl_1>button{display:initial;height:50px;min-width:50px;border:1px solid var(--dark-gray);border-radius:16px;font-family:Argent,sans-serif;font-size:var(--font-medium);line-height:120%;font-weight:600;cursor:pointer;background-color:var(--white);transition:all .1s ease;color:var(--off-black);padding:initial;margin:0}._buttons_1evkl_1>button:hover,._buttons_1evkl_1>button:focus,._buttons_1evkl_1>button:focus-visible{outline:1px solid var(--alma-orange);outline-offset:2px}._buttons_1evkl_1>button._active_1evkl_57{background-color:var(--alma-orange);color:var(--white);border:0}._buttons_1evkl_1>button span,._textButton_1evkl_65{display:inline;border:none;text-decoration:none;margin:32px;color:var(--off-black)}._buttons_1evkl_1>button._active_1evkl_57 span,._textButton_1evkl_65{display:inline;border:none;text-decoration:none;margin:32px;color:var(--white)}._installment_yfot3_1{display:flex;flex-direction:row;justify-content:space-between;font-size:var(--font-base);line-height:135%;margin-bottom:6px;width:100%}._date_yfot3_11{display:flex;align-items:center;margin-left:-23px}._dot_yfot3_17{width:10px;height:10px;border-radius:50%;background-color:var(--soft-orange);margin-right:16px;z-index:1}._isCurrent_yfot3_26{background-color:var(--alma-orange)}._bold_yfot3_30{font-weight:700}@media screen and (min-width: 800px){._installment_yfot3_1{font-size:var(--font-base)}._dot_yfot3_17:after{border-left:2px solid var(--off-white);height:18px;margin-left:4px;content:" ";position:absolute;z-index:0;margin-top:10px}}._container_1onda_1{font-family:Argent,sans-serif;background-color:var(--off-white);border-radius:20px;padding:16px;z-index:2;position:relative}._container_1onda_1 p,._container_1onda_1 span{border:none;padding:0;margin:0;color:var(--off-black);text-decoration:none}._container_1onda_1 h3{margin:4px 0}._total_1onda_24{display:flex;flex-direction:row;justify-content:space-between;font-size:var(--font-medium)}._creditInfo_1onda_31{margin:4px 0;font-family:Venn,sans-serif;border-radius:20px;border:1px solid var(--off-white);padding:16px;z-index:2;position:relative;font-size:var(--font-base)}._creditInfoTitle_1onda_42{font-weight:var(--weight-bold)}._fees_1onda_46{display:flex;font-family:Venn,sans-serif;flex-direction:row;justify-content:space-between;font-weight:var(--weight-bold);font-size:var(--font-small);line-height:135%}._creditCost_1onda_56{text-align:right}._creditInfoLegalText_1onda_60{font-size:var(--font-tiny);font-family:Venn,sans-serif;margin-top:8px;font-weight:var(--weight-normal)}._scheduleContainer_sch15_1{padding:6px;color:var(--off-black)}._scheduleContainer_sch15_1:focus,._scheduleContainer_sch15_1:focus-visible{outline:1px auto var(--alma-orange)}._schedule_sch15_1{padding:0 24px;margin:6px 0;font-family:Venn,sans-serif;color:var(--off-black)}._scheduleItem_sch15_18{list-style-type:none;color:var(--off-black)}@media (min-width: 800px){._schedule_sch15_1{overflow-y:auto;margin:0}}._cardContainer_5dhmv_1{display:flex;flex-direction:row;width:100%;justify-content:center;gap:10px;margin:24px 0}._list_b16wp_1{display:flex;flex-direction:column;margin-bottom:40px;padding:0 24px;gap:20px;font-family:Venn,sans-serif}._list_b16wp_1:focus,._list_b16wp_1:focus-visible{outline:1px solid var(--alma-orange);outline-offset:2px}._listItem_b16wp_16{display:flex;align-items:center;line-height:135%;gap:16px;font-size:var(--font-small);color:var(--off-black)}._bullet_b16wp_25{font-family:Argent,sans-serif;font-weight:600;font-size:var(--font-x-large);min-width:20px;line-height:110%;color:var(--alma-blue)}._listItem_b16wp_16:first-child ._bullet_b16wp_25{color:var(--alma-orange)}._listItem_b16wp_16:last-child ._bullet_b16wp_25{color:var(--alma-yellow)}@media (min-width: 800px){._list_b16wp_1{margin:0;padding:0}}h2._title_jsq3r_1,._title_jsq3r_1{font-family:Argent,sans-serif;font-weight:600;font-size:var(--font-medium);line-height:130%;text-align:center;margin:0 0 24px;text-decoration:none;color:var(--off-black);padding:0}@media (min-width: 800px){h2._title_jsq3r_1,._title_jsq3r_1{font-size:var(--font-large)}}._container_lop95_1{display:flex;height:100%;flex-direction:row}._block_lop95_7{height:100%;display:flex;flex-direction:column;width:100%}._left_lop95_14{max-width:300px;padding-right:24px;gap:20px}._logo_lop95_20{position:absolute;bottom:35px;left:150px}._noEligibility_3lnq8_1{height:100%;display:flex;align-items:center;text-align:center;font-size:var(--font-medium)}._loader_3lnq8_9{height:100%;display:flex;align-items:center;justify-content:center}._scheduleArea_3lnq8_16{position:relative}._verticalLine_3lnq8_20{position:absolute;top:15px;left:5px;width:2px;height:calc(100% - 120px);background-color:var(--off-white)}@media screen and (min-width: 800px){._scheduleArea_3lnq8_16{overflow:auto}._verticalLine_3lnq8_20{display:none}}._container_1ca7c_1{display:flex;flex-direction:column}._logo_1ca7c_6{margin:0 auto;overflow:visible}._loadingIndicator_n68kv_1{display:flex;flex-direction:column;align-items:flex-start;width:100%}._line1_n68kv_8{width:100%;height:20px;background-color:var(--light-gray);border-radius:2px}._line2_n68kv_15{width:60%;height:15px;margin-top:16px;background-color:var(--light-gray);border-radius:2px}._widgetContainer_v4hon_1{width:368px;max-width:100%;background-color:var(--white);border:1px solid var(--light-gray);display:flex;flex-direction:column;align-items:flex-start;padding:12px;gap:8px}._primaryContainer_v4hon_13{display:flex;flex-direction:row;align-items:flex-start}._paymentPlans_v4hon_19{display:flex;flex-direction:row;gap:8px;align-items:flex-start;max-width:310px;flex-wrap:wrap}@media screen and (prefers-reduced-motion: reduce){._planButton_v4hon_29{font-family:Venn,sans-serif;border:none;background:transparent;cursor:pointer;transition:none;padding:2px 10px;color:var(--off-black);border-radius:4px;font-weight:700;font-size:var(--font-x-small);display:flex;flex-direction:column;justify-content:center;align-items:center;height:24px;min-width:24px;margin:0}}._planButton_v4hon_29{font-family:Venn,sans-serif;border:none;background:transparent;cursor:pointer;transition:all .2s ease;padding:2px 10px;color:var(--off-black);border-radius:4px;font-weight:700;font-size:var(--font-x-small);display:flex;flex-direction:column;justify-content:center;align-items:center;height:24px;min-width:24px;margin:0}._planButton_v4hon_29:hover{transform:scale(1.05);background-color:transparent}._planButton_v4hon_29:focus,._planButton_v4hon_29:focus-visible{outline:1px solid var(--alma-orange);outline-offset:2px;background-color:transparent}._planButton_v4hon_29._monochrome_v4hon_82:focus,._planButton_v4hon_29._monochrome_v4hon_82:focus-visible{outline:1px solid var(--black);outline-offset:2px}._planButton_v4hon_29._notEligible_v4hon_88{cursor:not-allowed;opacity:.6}._planButton_v4hon_29._notEligible_v4hon_88:hover,._planButton_v4hon_29._notEligible_v4hon_88:focus{transform:scale(1);outline:none;cursor:not-allowed;opacity:.6}._planButton_v4hon_29._active_v4hon_102{color:var(--white);background:var(--alma-orange)}._planButton_v4hon_29._active_v4hon_102._monochrome_v4hon_82{background:var(--off-black)}._planButton_v4hon_29._active_v4hon_102._notEligible_v4hon_88{background-color:var(--white);color:var(--dark-gray);cursor:not-allowed}._hideBorder_v4hon_117{border:none}._infoContainer_v4hon_121{width:100%;flex-direction:column;display:flex;align-items:start}._info_v4hon_121{font-family:Venn,sans-serif;font-size:var(--font-x-small);line-height:16px;color:var(--dark-gray);text-align:center}._info_v4hon_121 p{margin:0;padding:0;border:none;background-color:transparent;color:var(--off-black)}._announceText_v4hon_146{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}._notEligible_v4hon_88{color:var(--dark-gray)}._loader_v4hon_162{overflow:hidden;align-items:center}._pending_v4hon_167{align-items:center}._clickable_v4hon_171{cursor:pointer}._unClickable_v4hon_175{cursor:not-allowed}._knowMore_v4hon_179{display:flex;gap:6px;align-items:center;background-color:transparent;border:none;margin:0 12px 0 0;padding:3px;font-family:inherit;font-size:inherit;color:inherit;box-shadow:none;border-radius:0;cursor:pointer}._knowMore_v4hon_179:hover{background-color:transparent;border:none;text-decoration:none;transform:scale(1.05);box-shadow:none}._knowMore_v4hon_179:focus,._knowMore_v4hon_179:focus-visible{background-color:transparent;border-radius:4px!important;outline:1px solid var(--alma-orange)!important}._knowMore_v4hon_179._monochrome_v4hon_82:focus,._knowMore_v4hon_179._monochrome_v4hon_82:focus-visible{background-color:transparent;outline:1px solid black!important}
package/dist/widgets.js CHANGED
@@ -5068,7 +5068,7 @@ const nl = {
5068
5068
  ),
5069
5069
  0
5070
5070
  ).toString().replace("-", "A"), ml = (e) => Date.now() - e >= 36e5;
5071
- var fl = { BUILD_VERSION: "v4.1.0" };
5071
+ var fl = { BUILD_VERSION: "v4.1.2" };
5072
5072
  const dl = () => ({
5073
5073
  setCache: (i, o) => {
5074
5074
  const s = Date.now();
@@ -5128,7 +5128,7 @@ const hl = (e, t) => e.eligible && t ? e.purchase_amount >= (t == null ? void 0
5128
5128
  }) : e.filter(
5129
5129
  (n) => !(n.installments_count === 1 && n.deferred_days === 0 && n.deferred_months === 0)
5130
5130
  );
5131
- var vl = { BUILD_VERSION: "v4.1.0" };
5131
+ var vl = { BUILD_VERSION: "v4.1.2" };
5132
5132
  const Pi = (e, { domain: t, merchantId: n }, a, r, i) => {
5133
5133
  var E, N;
5134
5134
  const [o, s] = Q([]), [l, u] = Q(ue.PENDING), { getCache: m, setCache: c, createKey: d, clearCache: p } = dl(), g = d({
@@ -6923,7 +6923,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
6923
6923
  const s = (l) => {
6924
6924
  l >= 0 && l < e.length && (o.current = !0, n(l));
6925
6925
  };
6926
- return /* @__PURE__ */ f.createElement("div", null, /* @__PURE__ */ f.createElement("h5", { id: "payment-plans-title", className: "sr-only" }, r.formatMessage({
6926
+ return /* @__PURE__ */ f.createElement("div", null, /* @__PURE__ */ f.createElement("div", { id: "payment-plans-title", className: "sr-only", role: "heading", "aria-level": 2 }, r.formatMessage({
6927
6927
  id: "accessibility.payment-plans.section-title",
6928
6928
  defaultMessage: "Options de paiement disponibles"
6929
6929
  })), /* @__PURE__ */ f.createElement(
@@ -7080,7 +7080,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7080
7080
  "aria-describedby": "payment-schedule-description",
7081
7081
  tabIndex: -1
7082
7082
  },
7083
- /* @__PURE__ */ f.createElement("h6", { id: "payment-schedule-title", className: "sr-only" }, /* @__PURE__ */ f.createElement(
7083
+ /* @__PURE__ */ f.createElement("div", { id: "payment-schedule-title", className: "sr-only", role: "heading", "aria-level": 2 }, /* @__PURE__ */ f.createElement(
7084
7084
  H,
7085
7085
  {
7086
7086
  id: "accessibility.payment-schedule-title",
@@ -7305,7 +7305,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7305
7305
  "aria-describedby": "payment-info-description",
7306
7306
  tabIndex: -1
7307
7307
  },
7308
- /* @__PURE__ */ f.createElement("h5", { id: "payment-info-title", className: "sr-only" }, /* @__PURE__ */ f.createElement(
7308
+ /* @__PURE__ */ f.createElement("div", { id: "payment-info-title", className: "sr-only", role: "heading", "aria-level": 2 }, /* @__PURE__ */ f.createElement(
7309
7309
  H,
7310
7310
  {
7311
7311
  id: "eligibility-modal.info-title",
@@ -7363,11 +7363,13 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7363
7363
  isSomePlanDeferred: e,
7364
7364
  isCurrentPlanP1X: t
7365
7365
  }) => /* @__PURE__ */ f.createElement(
7366
- "h5",
7366
+ "div",
7367
7367
  {
7368
7368
  id: "modal-title",
7369
7369
  className: R(cm.title, Z.title),
7370
- "data-testid": "modal-title-element"
7370
+ "data-testid": "modal-title-element",
7371
+ role: "heading",
7372
+ "aria-level": 1
7371
7373
  },
7372
7374
  e && /* @__PURE__ */ f.createElement(
7373
7375
  H,
@@ -7404,7 +7406,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7404
7406
  "aria-modal": "true",
7405
7407
  "aria-labelledby": "modal-title"
7406
7408
  },
7407
- /* @__PURE__ */ f.createElement("aside", { className: R([ut.block, ut.left, Z.leftSide]) }, /* @__PURE__ */ f.createElement(Ji, { isSomePlanDeferred: t, isCurrentPlanP1X: a }), /* @__PURE__ */ f.createElement(Ki, { id: "payment-info", isCurrentPlanP1X: a }), n && /* @__PURE__ */ f.createElement(Xi, { cards: n }), /* @__PURE__ */ f.createElement(aa, { className: ut.logo, width: "75" })),
7409
+ /* @__PURE__ */ f.createElement("div", { className: R([ut.block, ut.left, Z.leftSide]) }, /* @__PURE__ */ f.createElement(Ji, { isSomePlanDeferred: t, isCurrentPlanP1X: a }), /* @__PURE__ */ f.createElement(Ki, { id: "payment-info", isCurrentPlanP1X: a }), n && /* @__PURE__ */ f.createElement(Xi, { cards: n }), /* @__PURE__ */ f.createElement(aa, { className: ut.logo, width: "75" })),
7408
7410
  /* @__PURE__ */ f.createElement("div", { className: R(ut.block, Z.rightSide) }, e)
7409
7411
  ), gm = "_noEligibility_3lnq8_1", ym = "_loader_3lnq8_9", vm = "_scheduleArea_3lnq8_16", _m = "_verticalLine_3lnq8_20", $t = {
7410
7412
  noEligibility: gm,
@@ -7469,6 +7471,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7469
7471
  onClose: t,
7470
7472
  ariaHideApp: !1,
7471
7473
  scrollable: !0,
7474
+ id: "alma-widget-modal-main-container",
7472
7475
  isOpen: !0,
7473
7476
  aria: {
7474
7477
  labelledby: "modal-title",
@@ -7491,7 +7494,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7491
7494
  defaultMessage: "Oups, il semblerait que la simulation n'ait pas fonctionné."
7492
7495
  }
7493
7496
  )),
7494
- a === ue.SUCCESS && u.length >= 1 && /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement("section", { "aria-labelledby": "payment-plans-title" }, /* @__PURE__ */ f.createElement(
7497
+ a === ue.SUCCESS && u.length >= 1 && /* @__PURE__ */ f.createElement(f.Fragment, null, /* @__PURE__ */ f.createElement("div", { role: "region", "aria-labelledby": "payment-plans-title" }, /* @__PURE__ */ f.createElement(
7495
7498
  Dc,
7496
7499
  {
7497
7500
  id: "payment-plans",
@@ -7499,7 +7502,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7499
7502
  currentPlanIndex: i,
7500
7503
  setCurrentPlanIndex: o
7501
7504
  }
7502
- )), /* @__PURE__ */ f.createElement("section", { className: $t.scheduleArea, "aria-labelledby": "payment-schedule-title" }, /* @__PURE__ */ f.createElement("div", { className: $t.verticalLine }), /* @__PURE__ */ f.createElement(em, { id: "payment-schedule", currentPlan: m })))
7505
+ )), /* @__PURE__ */ f.createElement("div", { className: $t.scheduleArea, role: "region", "aria-labelledby": "payment-schedule-title" }, /* @__PURE__ */ f.createElement("div", { className: $t.verticalLine }), /* @__PURE__ */ f.createElement(em, { id: "payment-schedule", currentPlan: m })))
7503
7506
  )
7504
7507
  );
7505
7508
  }, Cm = ({
@@ -7731,12 +7734,13 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7731
7734
  "data-testid": "widget-container"
7732
7735
  },
7733
7736
  /* @__PURE__ */ f.createElement(
7734
- "section",
7737
+ "div",
7735
7738
  {
7739
+ role: "region",
7736
7740
  "aria-labelledby": "payment-plans-title",
7737
7741
  className: R(J.primaryContainer, Le.eligibilityLine)
7738
7742
  },
7739
- /* @__PURE__ */ f.createElement("h5", { id: "payment-plans-title", className: "sr-only" }, d.formatMessage({
7743
+ /* @__PURE__ */ f.createElement("div", { id: "payment-plans-title", className: "sr-only", role: "heading", "aria-level": 2 }, d.formatMessage({
7740
7744
  id: "accessibility.payment-plans.section-title",
7741
7745
  defaultMessage: "Options de paiement disponibles"
7742
7746
  })),
@@ -7827,7 +7831,7 @@ const wc = "_openModalInfo_a4893_1", Nc = {
7827
7831
  })
7828
7832
  )
7829
7833
  ),
7830
- /* @__PURE__ */ f.createElement("aside", { "aria-labelledby": "payment-info-title", className: J.infoContainer }, /* @__PURE__ */ f.createElement("h6", { id: "payment-info-title", className: "sr-only" }, d.formatMessage({
7834
+ /* @__PURE__ */ f.createElement("div", { role: "region", "aria-labelledby": "payment-info-title", className: J.infoContainer }, /* @__PURE__ */ f.createElement("div", { id: "payment-info-title", className: "sr-only", role: "heading", "aria-level": 2 }, d.formatMessage({
7831
7835
  id: "accessibility.payment-info.section-title",
7832
7836
  defaultMessage: "Informations sur le plan de paiement sélectionné"
7833
7837
  })), /* @__PURE__ */ f.createElement(