peek-carousel 1.1.1 → 2.0.0

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,6 +1,6 @@
1
- /*! PeekCarousel v1.1.1
1
+ /*! PeekCarousel v2.0.0
2
2
  * Copyright (c) 2025 PeekCarousel
3
3
  * Copyright (c) 2026 PeekCarousel contributors
4
- * @license MIT — see LICENSE and THIRD_PARTY_NOTICES.md.
4
+ * @license See LICENSE, LICENSE-MIT and THIRD_PARTY_NOTICES.md.
5
5
  */
6
- :root{background:#f6f5f1;color:#252822;color-scheme:light;font-family:Inter,Helvetica Neue,Arial,sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased;--ink:#252822;--muted:#6a7065;--line:#dedfd6;--accent:#d9fb75}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}a,button,input,summary{-webkit-tap-highlight-color:transparent}.playground__stage [role=region]:focus-visible,.playground__stage:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,pre:focus-visible,summary:focus-visible{outline:2px solid #53632d;outline-offset:5px}button{cursor:pointer}.preview{margin:auto;max-width:1440px;padding:0 64px}.preview__header{align-items:center;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;min-height:100px}.preview__brand{align-items:center;display:flex;font-size:20px;font-weight:650;gap:10px;letter-spacing:-.8px}.preview__brand_mark{font-size:35px;transform:rotate(-15deg)}.preview__nav{align-items:center;display:flex;font-size:13px;gap:30px}.preview__nav a{padding:10px 0}.preview__nav [aria-current]{border-bottom:1px solid var(--ink)}.preview__nav span{color:var(--muted);margin-left:5px}.preview__hero{padding:65px 0 46px}.preview__eyebrow{font-size:10px;font-weight:650;letter-spacing:1.6px}.preview__hero>.preview__eyebrow{align-items:center;display:flex;gap:9px;margin:0 0 25px}.preview__status{background:#668136;border-radius:50%;display:inline-block;height:6px;width:6px}h1{font-size:clamp(42px,5.4vw,76px);font-weight:500;letter-spacing:-4px;line-height:1.06;margin:0}h1 span{color:#7c8274}.preview__intro{align-items:flex-end;display:flex;justify-content:space-between;margin-top:24px}.preview__intro p,.preview__usage p{color:var(--muted);font-size:14px;line-height:1.7;margin:0}.preview__link{align-items:center;border-bottom:1px solid var(--ink);display:inline-flex;font-size:13px;font-weight:600;gap:24px;padding:12px 0}.playground{border-top:1px solid var(--line);display:grid;gap:36px;grid-template-columns:minmax(0,1fr) 275px;padding-top:25px}.playground__preview{min-width:0}.playground__toolbar{align-items:center;display:flex;justify-content:space-between;margin-bottom:17px}.playground__live{align-items:center;color:var(--muted);display:flex;font-size:11px;gap:7px}.playground__stage{background:#e9ecdf;border:1px solid #d9ddcf;border-radius:14px;height:490px;isolation:isolate;overflow:hidden;position:relative}.playground__label{color:#59614c;display:flex;font-size:10px;inset:22px 24px auto;justify-content:space-between;letter-spacing:1px;z-index:1}.playground__hint,.playground__label{margin:0;pointer-events:none;position:absolute}.playground__hint{bottom:15px;color:#5f6853;font-size:11px;left:24px;letter-spacing:1.3px}.playground__hint span{margin-left:10px}.playground__description{color:var(--muted);font-size:12px;margin:16px 0 0}.playground__settings{padding-top:1px}.playground__settings h2{font-size:27px;font-weight:500;letter-spacing:-.8px;line-height:1.15;margin:28px 0 10px}.playground__settings_intro{color:var(--muted);font-size:12px;margin-bottom:22px}.playground__layout_picker{display:grid;gap:8px;grid-template-columns:1fr 1fr}.playground__layout{align-items:flex-start;background:transparent;border:1px solid var(--line);border-radius:8px;color:var(--ink);display:flex;flex-direction:column;font-size:11px;gap:7px;justify-content:center;min-height:78px;padding:12px;position:relative;transition:background .2s,border-color .2s}.playground__layout:hover{border-color:#939c85}.playground__layout[aria-pressed=true]{background:var(--accent);border-color:#abc850}.playground__layout_mark{font-size:24px;line-height:1}.playground__layout_number{color:#626a57;font-size:9px;position:absolute;right:12px;top:13px}.playground__toggles{border:0;border-top:1px solid var(--line);margin:26px 0 0;min-width:0;padding:17px 0 0}.playground__toggles legend{color:var(--muted);font-size:11px;letter-spacing:1.3px;padding:0 10px 0 0}.playground__toggle{align-items:center;cursor:pointer;display:flex;font-size:12px;justify-content:space-between;min-height:44px;position:relative}.playground__toggle input{cursor:pointer;height:22px;margin:0;opacity:0;position:absolute;right:0;width:36px}.playground__toggle_track{background:#d8ddce;border:1px solid #abb29f;border-radius:999px;flex-shrink:0;height:22px;pointer-events:none;position:relative;transition:background-color .18s,border-color .18s;width:36px}.playground__toggle_track:before{background:#fff;border-radius:50%;box-shadow:0 1px 3px rgba(31,46,19,.2);content:"";height:16px;left:2px;position:absolute;top:2px;transition:transform .18s;width:16px}.playground__toggle input:checked+.playground__toggle_track{background:#414e31;border-color:#414e31}.playground__toggle input:checked+.playground__toggle_track:before{transform:translateX(14px)}.playground__toggle input:focus+.playground__toggle_track{outline:2px solid #53632d;outline-offset:3px}.playground__help{border-top:1px solid var(--line);font-size:11px;margin-top:17px;padding-top:17px}.playground__help summary{cursor:pointer;display:flex;justify-content:space-between;list-style:none}.playground__help summary::-webkit-details-marker{display:none}.playground__help p{color:var(--muted);line-height:1.7}.preview__usage{align-items:center;border-top:1px solid var(--line);display:grid;gap:64px;grid-template-columns:1fr 1.35fr;margin-top:50px;padding:45px 0 55px}.preview__usage .preview__eyebrow{color:var(--ink);font-size:10px}.preview__usage h2{font-size:32px;font-weight:500;letter-spacing:-1px;line-height:1.12;margin:15px 0}.preview__usage .preview__link{margin-top:15px}.preview__code{background:#272e25;border-radius:12px;color:#e8efdc;margin:0;overflow:hidden}.preview__code_heading{border-bottom:1px solid #454d3f;color:#b6c0ab;display:flex;font:10px ui-monospace,monospace;justify-content:space-between;padding:18px 24px}.preview__code pre{font:12px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;margin:0;overflow-x:auto;padding:27px 24px 30px}.preview__footer{border-top:1px solid var(--line);display:flex;flex-wrap:wrap;font-size:11px;justify-content:space-between;padding:24px 0 30px;row-gap:14px}.preview__footer>span:nth-child(2),.preview__footer_note{color:var(--muted)}.preview__skip{background:var(--accent);left:20px;padding:12px;position:fixed;top:-80px;z-index:1000}.preview__skip:focus{top:20px}.playground__stage .peek-carousel{--peek-carousel-card-radius:10px;--peek-carousel-card-shadow:0 12px 25px rgba(31,46,19,.13);--peek-carousel-active-shadow:0 18px 45px rgba(31,46,19,.23);--peek-carousel-image-filter:none;--peek-carousel-text-color:#fff;--peek-carousel-button-background:#35422c;--peek-carousel-button-hover-background:#536541;--peek-carousel-button-active-background:#536541;--peek-carousel-button-border-color:transparent;--peek-carousel-button-size:36px;--peek-carousel-button-radius:50%;--peek-carousel-counter-background:#35422c;--peek-carousel-indicators-background:#35422c;--peek-carousel-indicator-active-color:#d9fb75;--peek-carousel-indicator-shadow:none;--peek-carousel-focus-color:#53632d}.playground__stage .peek-carousel__item{margin-top:-18px;width:clamp(200px,25vw,330px)}.playground__stage .peek-carousel__caption{padding:22px;text-align:left}.preview__caption_title{display:block;font-size:20px;font-weight:500;letter-spacing:-.5px}.preview__caption_subtitle{display:block;font-size:12px;margin-top:6px;opacity:.8}.playground__stage .peek-carousel__nav{animation:none;flex-shrink:0;gap:8px;inset:auto;opacity:1;position:static;transform:none}.playground__stage .peek-carousel__counter{inset:18px 18px auto auto}.playground__stage .peek-carousel__controls{bottom:20px;gap:8px;max-width:calc(100% - 16px)}@media (max-width:1000px){.preview{padding:0 30px}.playground{gap:24px;grid-template-columns:minmax(0,1fr) 235px}.playground__stage{height:460px}.playground__stage .peek-carousel__item{width:235px}h1{letter-spacing:-2px}.preview__usage{gap:30px}}@media (max-width:720px){.preview{padding:0 20px}.preview__header{min-height:78px}.preview__brand{font-size:17px;gap:6px}.preview__brand_mark{font-size:27px}.preview__nav{font-size:11px;gap:16px}.preview__nav a:first-child{display:none}.preview__hero{padding:40px 0 32px}.preview__hero>.preview__eyebrow{font-size:10px;letter-spacing:1.1px;margin-bottom:22px}h1{font-size:clamp(32px,7vw,50px);letter-spacing:-1.5px}.preview__intro{align-items:flex-start;flex-direction:column;gap:12px}.preview__intro p{font-size:12px}.playground{gap:30px;grid-template-columns:1fr}.playground__stage{height:390px}.playground__stage .peek-carousel__item{width:clamp(165px,53vw,260px)}.playground__stage .peek-carousel__caption{padding:15px}.preview__caption_title{font-size:16px}.preview__caption_subtitle{font-size:11px}.playground__label{inset:18px 18px auto}.playground__hint{display:none}.playground__stage .peek-carousel__controls{gap:6px}.playground__stage .peek-carousel__indicators{gap:6px;padding-left:8px;padding-right:8px}.playground__stage .peek-carousel__counter{font-size:10px;inset:18px 18px auto auto}.playground__settings h2{margin-top:18px}.playground__layout_picker{grid-template-columns:repeat(4,1fr)}.playground__layout{font-size:10px;padding:10px}.playground__layout_number{font-size:8px;right:8px;top:10px}.playground__toggles{-moz-column-gap:22px;column-gap:22px;display:grid;grid-template-columns:1fr 1fr}.playground__toggle{font-size:11px}.preview__usage{gap:25px;grid-template-columns:1fr;margin-top:35px;padding:30px 0}.preview__code pre{font-size:10px;padding:20px 15px}.preview__code_heading{padding:16px}.preview__footer{font-size:10px;gap:18px;line-height:1.6}.preview__footer_note{display:block}}@media (prefers-reduced-motion:reduce){.playground__stage *,.playground__stage :after,.playground__stage :before{animation-delay:0s;animation-duration:.01ms;transition-duration:.01ms}}.preview__layouts,.preview__questions{border-top:1px solid var(--line);margin-top:48px;padding:40px 0 0}.preview__section_intro{max-width:620px}.preview__section_intro h2{font-size:30px;font-weight:500;letter-spacing:-1px;margin:14px 0}.preview__layout_grid p,.preview__questions dd,.preview__section_intro>p:last-child,.preview__sources{color:var(--muted);font-size:13px;line-height:1.75}.preview__layout_grid{display:grid;gap:24px;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:28px}.preview__layout_grid h3{font-size:16px;font-weight:600;margin:0}.preview__layout_grid code{background:#e9ecdf;border-radius:4px;display:inline-block;font-size:11px;max-width:100%;overflow-wrap:anywhere;padding:6px 9px}.preview__questions{margin:0 0 45px}.preview__questions dl{margin:24px 0}.preview__questions dl>div{border-bottom:1px solid var(--line);display:grid;gap:40px;grid-template-columns:1fr 1.5fr;padding:20px 0}.preview__questions dt{font-size:14px;font-weight:600;line-height:1.6}.preview__questions dd{margin:0}.preview__questions a{text-decoration:underline;text-underline-offset:3px}@media (max-width:720px){.preview__layouts{margin-top:30px;padding-top:28px}.preview__section_intro h2{font-size:25px}.preview__layout_grid{gap:24px 18px;grid-template-columns:repeat(2,minmax(0,1fr))}.preview__questions dl>div{gap:10px;grid-template-columns:1fr}}.preview__links{color:var(--muted);display:flex;flex-wrap:wrap;font-size:12px;gap:12px 20px;margin-top:24px}.preview__links a{text-decoration:underline;text-underline-offset:4px}.preview__copyright{color:var(--muted);flex-basis:100%;font-size:10px;line-height:1.7}.preview__copyright a{text-decoration:underline;text-underline-offset:3px}@media (max-width:360px){.playground__toggles{grid-template-columns:1fr}}@media (forced-colors:active){.playground__toggle_track{background:Canvas;border-color:ButtonText}.playground__toggle_track:before{background:ButtonText}.playground__toggle input:checked+.playground__toggle_track{background:Highlight;border-color:Highlight}.playground__toggle input:checked+.playground__toggle_track:before{background:HighlightText}.playground__toggle input:focus+.playground__toggle_track{outline-color:Highlight}.playground__layout[aria-pressed=true]{outline:2px solid Highlight;outline-offset:-3px}.playground__stage .peek-carousel__btn,.playground__stage .peek-carousel__indicators{border:1px solid ButtonText}}.playground__stage [role=region]:focus-visible{outline-offset:-3px}.playground__stage .peek-carousel__indicators{gap:6px;max-width:190px;min-width:0;overflow-x:auto;padding:0 8px;scrollbar-width:thin}.playground__stage .peek-carousel__indicator{flex:0 0 24px;height:36px;width:24px}.playground__stage .peek-carousel__indicator--active{flex-basis:42px;width:42px}.playground__stage .peek-carousel__indicator--active:after,.playground__stage .peek-carousel__indicator--active:before{max-width:100%;width:100%}.playground__stage .peek-carousel__indicator:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.playground__stage .peek-carousel__btn--auto-rotate{flex-shrink:0}@supports not selector(:focus-visible){.preview [tabindex]:focus,.preview a:focus,.preview button:focus,.preview input:focus,.preview pre:focus,.preview summary:focus{outline:2px solid #53632d;outline-offset:5px}}
6
+ :root{background:#fff;color:#172033;color-scheme:light;font-family:Inter,Helvetica Neue,Arial,sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased;--ink:#172033;--muted:#5c667a;--line:#e4e8f0;--accent:#2458e8}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}a,button,input,summary{-webkit-tap-highlight-color:transparent}.playground__stage [role=region]:focus-visible,.playground__stage:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,pre:focus-visible,summary:focus-visible{outline:2px solid #2458e8;outline-offset:5px}button{cursor:pointer}.preview{margin:auto;max-width:1440px;padding:0 64px}.preview__header{align-items:center;border-bottom:1px solid var(--line);display:flex;gap:24px;justify-content:space-between;min-height:100px}.preview__brand{align-items:center;display:flex;font-size:20px;font-weight:650;gap:10px;letter-spacing:-.8px;margin-right:auto}.preview__brand_mark{font-size:35px;transform:rotate(-15deg)}.preview__nav{align-items:center;display:flex;font-size:13px;gap:30px}.preview__nav a{padding:10px 0}.preview__nav [aria-current]{border-bottom:1px solid var(--ink)}.preview__nav span{color:var(--muted);margin-left:5px}.preview__hero{padding:72px 0 52px}.preview__eyebrow{font-size:11px;font-weight:650;letter-spacing:1.3px}.preview__hero>.preview__eyebrow{align-items:center;display:flex;gap:9px;margin:0 0 25px}.preview__status{background:#2458e8;border-radius:50%;display:inline-block;height:6px;width:6px}h1{font-size:clamp(42px,5.4vw,76px);font-weight:500;letter-spacing:-3px;line-height:1.06;margin:0}h1 span{color:#2458e8}.preview__intro{align-items:flex-end;display:flex;justify-content:space-between;margin-top:24px}.preview__intro p,.preview__usage p{color:var(--muted);font-size:14px;line-height:1.7;margin:0}.preview__link{align-items:center;border-bottom:1px solid var(--ink);display:inline-flex;font-size:13px;font-weight:600;gap:24px;padding:12px 0}.playground{border-top:1px solid var(--line);display:grid;gap:36px;grid-template-columns:minmax(0,1fr) 275px;padding-top:25px}.playground__preview{min-width:0}.playground__toolbar{align-items:center;display:flex;justify-content:space-between;margin-bottom:17px}.playground__live{align-items:center;color:var(--muted);display:flex;font-size:11px;gap:7px}.playground__stage{background:#f4f7fc;border:1px solid #e0e6f1;border-radius:20px;height:490px;isolation:isolate;overflow:hidden;position:relative}.playground__label{display:flex;font-size:10px;inset:22px 24px auto;justify-content:space-between;letter-spacing:1px;z-index:1}.playground__hint,.playground__label{color:#52627c;margin:0;pointer-events:none;position:absolute}.playground__hint{bottom:15px;font-size:11px;left:24px;letter-spacing:1.3px}.playground__hint span{margin-left:10px}.playground__description{color:var(--muted);font-size:12px;margin:16px 0 0}.playground__settings{padding-top:1px}.playground__settings h2{font-size:27px;font-weight:500;letter-spacing:-.8px;line-height:1.15;margin:28px 0 10px}.playground__settings_intro{color:var(--muted);font-size:12px;margin-bottom:22px}.playground__layout_picker{display:grid;gap:8px;grid-template-columns:1fr 1fr}.playground__layout{align-items:flex-start;background:transparent;border:1px solid var(--line);border-radius:8px;color:var(--ink);display:flex;flex-direction:column;font-size:11px;gap:7px;justify-content:center;min-height:78px;padding:12px;position:relative;transition:background .2s,border-color .2s}.playground__layout:hover{border-color:#2458e8}.playground__layout[aria-pressed=true]{background:#eef3ff;border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent);color:#1c45b8}.playground__layout_mark{font-size:24px;line-height:1}.playground__layout_number{color:#5c667a;font-size:9px;position:absolute;right:12px;top:13px}.playground__toggles{border:0;border-top:1px solid var(--line);margin:26px 0 0;min-width:0;padding:17px 0 0}.playground__toggles legend{color:var(--muted);font-size:11px;letter-spacing:1.3px;padding:0 10px 0 0}.playground__toggle{align-items:center;cursor:pointer;display:flex;font-size:12px;gap:10px;justify-content:space-between;min-height:44px;position:relative}.playground__toggle input{cursor:pointer;height:22px;margin:0;opacity:0;position:absolute;right:0;width:36px}.playground__toggle_track{background:#e1e7f2;border:1px solid #98a4ba;border-radius:999px;flex-shrink:0;height:22px;pointer-events:none;position:relative;transition:background-color .18s,border-color .18s;width:36px}.playground__toggle_track:before{background:#fff;border-radius:50%;box-shadow:0 1px 3px rgba(23,43,85,.2);content:"";height:16px;left:2px;position:absolute;top:2px;transition:transform .18s;width:16px}.playground__toggle input:checked+.playground__toggle_track{background:#2458e8;border-color:#2458e8}.playground__toggle input:checked+.playground__toggle_track:before{transform:translateX(14px)}.playground__toggle input:focus+.playground__toggle_track{outline:2px solid #2458e8;outline-offset:3px}.playground__help{border-top:1px solid var(--line);font-size:11px;margin-top:17px;padding-top:17px}.playground__help summary{cursor:pointer;display:flex;justify-content:space-between;list-style:none}.playground__help summary::-webkit-details-marker{display:none}.playground__help p{color:var(--muted);line-height:1.7}.preview__usage{align-items:center;border-top:1px solid var(--line);display:grid;gap:64px;grid-template-columns:1fr 1.35fr;margin-top:50px;padding:45px 0 55px}.preview__usage .preview__eyebrow{color:var(--ink);font-size:10px}.preview__usage h2{font-size:32px;font-weight:500;letter-spacing:-1px;line-height:1.12;margin:15px 0}.preview__usage .preview__link{margin-top:15px}.preview__code{background:#111b30;border-radius:12px;color:#e9f0ff;margin:0;overflow:hidden}.preview__code_heading{border-bottom:1px solid #2e3e5b;color:#aebbd4;display:flex;font:10px ui-monospace,monospace;justify-content:space-between;padding:18px 24px}.preview__code pre{font:12px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;margin:0;overflow-x:auto;padding:27px 24px 30px}.preview__footer{border-top:1px solid var(--line);display:flex;flex-wrap:wrap;font-size:11px;justify-content:space-between;padding:24px 0 30px;row-gap:14px}.preview__footer>span:nth-child(2),.preview__footer_note{color:var(--muted)}.preview__skip{background:var(--accent);color:#fff;left:20px;padding:12px;position:fixed;top:-80px;z-index:1000}.preview__skip:focus{top:20px}.playground__stage .peek-carousel{--peek-carousel-font-family:inherit;--peek-carousel-card-radius:10px;--peek-carousel-card-shadow:0 12px 25px rgba(23,43,85,.12);--peek-carousel-active-shadow:0 18px 45px rgba(23,43,85,.2);--peek-carousel-image-filter:none;--peek-carousel-text-color:#fff;--peek-carousel-button-background:#2458e8;--peek-carousel-button-hover-background:#2458e8;--peek-carousel-button-active-background:#2458e8;--peek-carousel-button-border-color:transparent;--peek-carousel-button-size:36px;--peek-carousel-button-radius:50%;--peek-carousel-counter-background:#fff;--peek-carousel-indicators-background:#172b55;--peek-carousel-indicator-active-color:#fff;--peek-carousel-indicator-shadow:none;--peek-carousel-focus-color:#2458e8}.playground__stage .peek-carousel__item{margin-top:-18px;width:clamp(200px,25vw,330px)}.playground__stage .peek-carousel__caption{padding:22px;text-align:left}.preview__caption_title{display:block;font-size:20px;font-weight:500;letter-spacing:-.5px}.preview__caption_subtitle{display:block;font-size:12px;margin-top:6px;opacity:.8}.playground__stage .peek-carousel__nav{animation:none;flex-shrink:0;gap:8px;inset:auto;opacity:1;position:static;transform:none}.playground__stage .peek-carousel__counter{border:1px solid var(--line);color:var(--ink);inset:18px 18px auto auto}.playground__stage .peek-carousel__controls{bottom:20px;gap:8px;max-width:calc(100% - 16px)}html:lang(ja){font-family:Inter,Noto Sans JP,sans-serif}html:lang(ko){font-family:Noto Sans KR,sans-serif;word-break:keep-all}html:lang(ja) h1,html:lang(ko) h1{letter-spacing:-1.5px;line-height:1.25}.preview__languages{background:#f7f9fc;border:1px solid var(--line);border-radius:999px;display:flex;flex-shrink:0;font-size:11px;gap:3px;padding:3px}.preview__languages a{align-items:center;border-radius:999px;color:var(--muted);display:inline-flex;justify-content:center;min-height:36px;min-width:40px;padding:7px 10px}.preview__languages [aria-current]{background:#fff;box-shadow:0 1px 4px rgba(23,43,85,.12);color:#1c45b8}.preview__brand_mark,.preview__links a:hover,.preview__nav a:hover,.preview__sources a:hover{color:var(--accent)}@media (max-width:1000px){.preview{padding:0 30px}.playground{gap:24px;grid-template-columns:minmax(0,1fr) 235px}.playground__stage{height:460px}.playground__stage .peek-carousel__item{width:235px}h1{letter-spacing:-2px}.preview__usage{gap:30px}}@media (max-width:720px){.preview{padding:0 20px}.preview__header{flex-wrap:wrap;gap:12px;padding:18px 0}.preview__languages{margin-left:auto}.preview__brand{font-size:17px;gap:6px}.preview__brand_mark{font-size:27px}.preview__nav{font-size:11px;gap:16px}.preview__nav a:first-child{display:none}.preview__hero{padding:40px 0 32px}.preview__hero>.preview__eyebrow{font-size:10px;letter-spacing:1.1px;margin-bottom:22px}h1{font-size:clamp(32px,7vw,50px);letter-spacing:-1.5px}.preview__intro{align-items:flex-start;flex-direction:column;gap:12px}.preview__intro p{font-size:12px}.playground{gap:30px;grid-template-columns:1fr}.playground__stage{height:390px}.playground__stage .peek-carousel__item{width:clamp(165px,53vw,260px)}.playground__stage .peek-carousel__caption{padding:15px}.preview__caption_title{font-size:16px}.preview__caption_subtitle{font-size:11px}.playground__label{inset:18px 18px auto}.playground__hint{display:none}.playground__stage .peek-carousel__controls{gap:6px}.playground__stage .peek-carousel__indicators{gap:6px;padding-left:8px;padding-right:8px}.playground__stage .peek-carousel__counter{border:1px solid var(--line);color:var(--ink);font-size:10px;inset:18px 18px auto auto}.playground__settings h2{margin-top:18px}.playground__layout_picker{grid-template-columns:repeat(4,1fr)}.playground__layout{font-size:10px;padding:10px}.playground__layout_number{font-size:8px;right:8px;top:10px}.playground__toggles{-moz-column-gap:18px;column-gap:18px;display:grid;grid-template-columns:1fr 1fr}.playground__toggle{font-size:11px}.preview__usage{gap:25px;grid-template-columns:1fr;margin-top:35px;padding:30px 0}.preview__code pre{font-size:10px;padding:20px 15px}.preview__code_heading{padding:16px}.preview__footer{font-size:10px;gap:18px;line-height:1.6}.preview__footer_note{display:block}}@media (prefers-reduced-motion:reduce){.playground__stage *,.playground__stage :after,.playground__stage :before{animation-delay:0s;animation-duration:.01ms;transition-duration:.01ms}}.preview__layouts,.preview__questions{border-top:1px solid var(--line);margin-top:48px;padding:40px 0 0}.preview__section_intro{max-width:620px}.preview__section_intro h2{font-size:30px;font-weight:500;letter-spacing:-1px;margin:14px 0}.preview__layout_grid p,.preview__questions dd,.preview__section_intro>p:last-child,.preview__sources{color:var(--muted);font-size:13px;line-height:1.75}.preview__layout_grid{display:grid;gap:24px;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:28px}.preview__layout_grid h3{font-size:16px;font-weight:600;margin:0}.preview__layout_grid code{background:#f4f7fc;border-radius:4px;display:inline-block;font-size:11px;max-width:100%;overflow-wrap:anywhere;padding:6px 9px}.preview__questions{margin:0 0 45px}.preview__questions dl{margin:24px 0}.preview__questions dl>div{border-bottom:1px solid var(--line);display:grid;gap:40px;grid-template-columns:1fr 1.5fr;padding:20px 0}.preview__questions dt{font-size:14px;font-weight:600;line-height:1.6}.preview__questions dd{margin:0}.preview__questions a{text-decoration:underline;text-underline-offset:3px}@media (max-width:720px){.preview__layouts{margin-top:30px;padding-top:28px}.preview__section_intro h2{font-size:25px}.preview__layout_grid{gap:24px 18px;grid-template-columns:repeat(2,minmax(0,1fr))}.preview__questions dl>div{gap:10px;grid-template-columns:1fr}}.preview__links{color:var(--muted);display:flex;flex-wrap:wrap;font-size:12px;gap:12px 20px;margin-top:24px}.preview__links a{text-decoration:underline;text-underline-offset:4px}.preview__copyright{color:var(--muted);flex-basis:100%;font-size:10px;line-height:1.7}.preview__copyright a{text-decoration:underline;text-underline-offset:3px}@media (max-width:360px){.playground__toggles{grid-template-columns:1fr}}@media (forced-colors:active){.playground__toggle_track{background:Canvas;border-color:ButtonText}.playground__toggle_track:before{background:ButtonText}.playground__toggle input:checked+.playground__toggle_track{background:Highlight;border-color:Highlight}.playground__toggle input:checked+.playground__toggle_track:before{background:HighlightText}.playground__toggle input:focus+.playground__toggle_track{outline-color:Highlight}.playground__layout[aria-pressed=true]{outline:2px solid Highlight;outline-offset:-3px}.playground__stage .peek-carousel__btn,.playground__stage .peek-carousel__indicators{border:1px solid ButtonText}}.playground__stage [role=region]:focus-visible{outline-offset:-3px}.playground__stage .peek-carousel__indicators{gap:6px;max-width:190px;min-width:0;overflow-x:auto;padding:0 8px;scrollbar-width:thin}.playground__stage .peek-carousel__indicator{flex:0 0 24px;height:36px;width:24px}.playground__stage .peek-carousel__indicator--active{flex-basis:42px;width:42px}.playground__stage .peek-carousel__indicator--active:after,.playground__stage .peek-carousel__indicator--active:before{max-width:100%;width:100%}.playground__stage .peek-carousel__indicator:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.playground__stage .peek-carousel__btn--auto-rotate{flex-shrink:0}@supports not selector(:focus-visible){.preview [tabindex]:focus,.preview a:focus,.preview button:focus,.preview input:focus,.preview pre:focus,.preview summary:focus{outline:2px solid #2458e8;outline-offset:5px}}
@@ -1,6 +1,6 @@
1
- /*! PeekCarousel v1.1.1
1
+ /*! PeekCarousel v2.0.0
2
2
  * Copyright (c) 2025 PeekCarousel
3
3
  * Copyright (c) 2026 PeekCarousel contributors
4
- * @license MIT — see LICENSE and THIRD_PARTY_NOTICES.md.
4
+ * @license See LICENSE, LICENSE-MIT and THIRD_PARTY_NOTICES.md.
5
5
  */
6
- var PeekCarouselDemo=function(e){"use strict";const t=[{value:"stack",name:"Stack",mark:"▱",description:"A familiar stack. A little room for discovery.",summary:"Overlapping cards keep the current image prominent while its neighbors peek out from either side."},{value:"radial",name:"Radial",mark:"◉",description:"A new perspective, with every turn.",summary:"Cards rotate around a three-dimensional ring, bringing the selected image to the front."},{value:"classic",name:"Classic",mark:"▤",description:"A simple rhythm. One frame at a time.",summary:"Images move horizontally in a familiar, continuously wrapping slider."},{value:"fan",name:"Fan shape",mark:"⤴",description:"Spread out the possibilities. Find your next view.",summary:"Up to five cards form a fan. Edge cards recycle behind the foreground cards without a fade-in effect."}];const o=["showNavigation","showCounter","showIndicators","showAutoRotateButton"],r=t.map(e=>e.value);return e.initDemo=function(e){const n=document.querySelector("#demo-carousel"),a=n.innerHTML,i=[];let s,c;function l(e,t,o){e&&(e.addEventListener(t,o),i.push(()=>e.removeEventListener(t,o)))}function u(i=!1){const l=s?.currentIndex??0,u=i&&s?.isAutoRotating||!1;c?.destroy(),s?.destroy(),n.innerHTML=a,n.classList.remove(...r.map(e=>`peek-carousel--${e}`));const d=document.querySelector('[data-layout][aria-pressed="true"]')?.dataset.layout??"stack",m=Object.fromEntries(o.map(e=>[e,document.getElementById(e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`))?.checked??!0]));s=new e(n,{...m,startIndex:l,layoutMode:d,autoRotate:u,autoRotateInterval:3e3,enableKeyboard:!1});const{nav:p}=s.elements;if(p){let{controls:e}=s.elements;e||(e=document.createElement("div"),e.className="peek-carousel__controls",n.appendChild(e),s.elements.controls=e),e.appendChild(p)}c=function(e){const{container:t,items:o,indicators:r}=e,n=[];let a=!1;function i(e,t,o){e&&e.getAttribute(t)!==o&&e.setAttribute(t,o)}function s(e,t,o){e.addEventListener(t,o),n.push(()=>e.removeEventListener(t,o))}function c(){const{currentIndex:n,isAutoRotating:a,counterElement:s}=e;for(let e=0;e<o.length;e++)i(o[e],"role","group"),i(o[e],"aria-roledescription","slide"),i(o[e],"aria-label",`${e+1} of ${o.length}`),i(o[e],"aria-hidden",String(e!==n));for(let e=0;e<r.length;e++){const t=r[e];t.removeAttribute("role"),t.removeAttribute("aria-selected"),i(t,"aria-label",`Show slide ${e+1} of ${o.length}`),i(t,"aria-pressed",String(e===n)),i(t,"tabindex","0")}const c=t.querySelector(".peek-carousel__indicators");i(c,"role","group"),i(c,"aria-label","Choose a slide"),i(s,"aria-live",a?"off":"polite"),i(e.elements.autoRotateBtn,"aria-label",a?"Stop automatic slide rotation":"Start automatic slide rotation")}function l(){e.stopAutoRotate(),c()}s(t,"pointerdown",t=>{a=t.target.closest("button")===e.elements.autoRotateBtn}),s(t,"pointerup",()=>{a=!1}),s(t,"focusin",t=>{t.target===e.elements.autoRotateBtn&&a||l()}),s(t,"pointerenter",l),s(document,"visibilitychange",()=>{document.hidden&&l()}),s(t,"click",c),s(t,"keydown",t=>{const o=r.indexOf(t.target);if(-1===o)return;const n={ArrowLeft:o-1,ArrowRight:o+1,Home:0,End:r.length-1};Object.prototype.hasOwnProperty.call(n,t.key)&&(t.preventDefault(),l(),e.goTo(n[t.key]),c(),r[e.currentIndex].focus())});const u=new MutationObserver(c);return u.observe(t,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["aria-current","aria-selected","aria-pressed"]}),c(),{sync:c,destroy(){u.disconnect();for(const e of n)e()}}}(s);const f=t.find(e=>e.value===d);document.querySelector("[data-layout-label]").textContent=`0${r.indexOf(d)+1} / ${f.name.toUpperCase()}`,document.querySelector("[data-layout-description]").textContent=f.description,document.querySelector("[data-demo-code]").textContent=function(e="stack"){return`import PeekCarousel from 'peek-carousel';\nimport 'peek-carousel/dist/peek-carousel.css';\n\nnew PeekCarousel('#gallery-carousel', {\n layoutMode: '${e}',\n startIndex: 0,\n});`}(d)}for(const e of document.querySelectorAll("[data-layout]"))l(e,"click",()=>{for(const t of document.querySelectorAll("[data-layout]")){const o=e===t;t.setAttribute("aria-pressed",String(o))}u(!0)});for(const e of o)l(document.getElementById(e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)),"change",()=>u(!0));return l(n,"keydown",e=>{if(e.target!==n)return;const t={ArrowLeft:s.currentIndex-1,ArrowRight:s.currentIndex+1,Home:0,End:s.totalItems-1};" "===e.key?(e.preventDefault(),s.toggleAutoRotate(),c.sync()):Object.prototype.hasOwnProperty.call(t,e.key)&&(e.preventDefault(),s.stopAutoRotate(),s.goTo(t[e.key]),c.sync())}),u(),{get carousel(){return s},destroy(){c.destroy();for(const e of i)e();s.destroy()}}},Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({});PeekCarouselDemo.initDemo(PeekCarousel);
6
+ var PeekCarouselDemo=function(e){"use strict";const t=[{value:"stack",name:"Stack",mark:"▱"},{value:"radial",name:"Radial",mark:"◉"},{value:"classic",name:"Classic",mark:"▤"},{value:"fan",name:"Fan shape",mark:"⤴"}];const o=["showNavigation","showCounter","showIndicators","showAutoRotateButton"],r=t.map(e=>e.value);return e.initDemo=function(e){const n=document.querySelector("#demo-carousel"),a=n.innerHTML,s=[];let c,l;function u(e,t,o){e&&(e.addEventListener(t,o),s.push(()=>e.removeEventListener(t,o)))}function i(s=!1){const u=c?.currentIndex??0,i=s&&c?.isAutoRotating||!1;l?.destroy(),c?.destroy(),n.innerHTML=a,n.classList.remove(...r.map(e=>`peek-carousel--${e}`));const d=document.querySelector('[data-layout][aria-pressed="true"]')?.dataset.layout??"stack",m=Object.fromEntries(o.map(e=>[e,document.getElementById(e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`))?.checked??!0]));c=new e(n,{...m,startIndex:u,layoutMode:d,autoRotate:i,autoRotateInterval:3e3,enableKeyboard:!1});const{nav:p}=c.elements;if(p){let{controls:e}=c.elements;e||(e=document.createElement("div"),e.className="peek-carousel__controls",n.appendChild(e),c.elements.controls=e),e.appendChild(p)}l=function(e){const{container:t,items:o,indicators:r}=e,n=JSON.parse(t.dataset.demoA11y),a=[];let s=!1;function c(e,t){return e.replace("{current}",t+1).replace("{total}",o.length)}function l(e,t,o){e&&e.getAttribute(t)!==o&&e.setAttribute(t,o)}function u(e,t,o){e.addEventListener(t,o),a.push(()=>e.removeEventListener(t,o))}function i(){const{currentIndex:a,isAutoRotating:s,counterElement:u}=e;for(let e=0;e<o.length;e++)l(o[e],"role","group"),l(o[e],"aria-roledescription",n.slide),l(o[e],"aria-label",c(n.position,e)),l(o[e],"aria-hidden",String(e!==a));for(let e=0;e<r.length;e++){const t=r[e];t.removeAttribute("role"),t.removeAttribute("aria-selected"),l(t,"aria-label",c(n.show,e)),l(t,"aria-pressed",String(e===a)),l(t,"tabindex","0")}const i=t.querySelector(".peek-carousel__indicators");l(i,"role","group"),l(i,"aria-label",n.choose),l(e.elements.prevBtn,"aria-label",n.previous),l(e.elements.nextBtn,"aria-label",n.next),l(u,"aria-live",s?"off":"polite"),l(e.elements.autoRotateBtn,"aria-label",s?n.stop:n.start)}function d(){e.stopAutoRotate(),i()}u(t,"pointerdown",t=>{s=t.target.closest("button")===e.elements.autoRotateBtn}),u(t,"pointerup",()=>{s=!1}),u(t,"focusin",t=>{t.target===e.elements.autoRotateBtn&&s||d()}),u(t,"pointerenter",d),u(document,"visibilitychange",()=>{document.hidden&&d()}),u(t,"click",i),u(t,"keydown",t=>{const o=r.indexOf(t.target);if(-1===o)return;const n={ArrowLeft:o-1,ArrowRight:o+1,Home:0,End:r.length-1};Object.prototype.hasOwnProperty.call(n,t.key)&&(t.preventDefault(),d(),e.goTo(n[t.key]),i(),r[e.currentIndex].focus())});const m=new MutationObserver(i);return m.observe(t,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["aria-current","aria-selected","aria-pressed"]}),i(),{sync:i,destroy(){m.disconnect();for(const e of a)e()}}}(c);const y=t.find(e=>e.value===d);document.querySelector("[data-layout-label]").textContent=`0${r.indexOf(d)+1} / ${y.name.toUpperCase()}`,document.querySelector("[data-layout-description]").textContent=document.querySelector(`[data-layout="${d}"]`).dataset.description,document.querySelector("[data-demo-code]").textContent=function(e="stack"){return`import PeekCarousel from 'peek-carousel';\nimport 'peek-carousel/dist/peek-carousel.css';\n\nnew PeekCarousel('#gallery-carousel', {\n layoutMode: '${e}',\n startIndex: 0,\n});`}(d)}for(const e of document.querySelectorAll("[data-layout]"))u(e,"click",()=>{for(const t of document.querySelectorAll("[data-layout]")){const o=e===t;t.setAttribute("aria-pressed",String(o))}i(!0)});for(const e of o)u(document.getElementById(e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)),"change",()=>i(!0));return u(n,"keydown",e=>{if(e.target!==n)return;const t={ArrowLeft:c.currentIndex-1,ArrowRight:c.currentIndex+1,Home:0,End:c.totalItems-1};" "===e.key?(e.preventDefault(),c.toggleAutoRotate(),l.sync()):Object.prototype.hasOwnProperty.call(t,e.key)&&(e.preventDefault(),c.stopAutoRotate(),c.goTo(t[e.key]),l.sync())}),i(),{get carousel(){return c},destroy(){l.destroy();for(const e of s)e();c.destroy()}}},Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({});PeekCarouselDemo.initDemo(PeekCarousel);
package/package.json CHANGED
@@ -1,11 +1,8 @@
1
1
  {
2
2
  "name": "peek-carousel",
3
- "version": "1.1.1",
3
+ "version": "2.0.0",
4
4
  "description": "A modular carousel library with four layout modes (Stack, Radial, Classic, Fan shape) featuring peek effect, touch/drag input, keyboard controls, and ARIA states - inspired by iPhone 17 Pro",
5
5
  "type": "module",
6
- "publishConfig": {
7
- "access": "public"
8
- },
9
6
  "main": "dist/peek-carousel.cjs",
10
7
  "module": "dist/peek-carousel.esm.js",
11
8
  "types": "types/index.d.ts",
@@ -35,9 +32,13 @@
35
32
  "types/index.d.cts",
36
33
  "types/options.d.cts",
37
34
  "examples/example-built.html",
35
+ "examples/example-built.ja.html",
36
+ "examples/example-built.ko.html",
38
37
  "examples/example.min.js",
39
38
  "examples/example.min.css",
40
39
  "examples/custom-theme.html",
40
+ "examples/custom-theme.ja.html",
41
+ "examples/custom-theme.ko.html",
41
42
  "examples/custom-theme.js",
42
43
  "examples/custom-theme.css",
43
44
  "README.md",
@@ -47,11 +48,17 @@
47
48
  "docs/integrations.md",
48
49
  "THIRD_PARTY_NOTICES.md",
49
50
  "LICENSE",
51
+ "LICENSE-MIT",
50
52
  "COPYRIGHT.md",
51
53
  "schemas/peek-carousel.schema.json",
52
54
  "public/fonts/inter-latin.css",
53
55
  "public/fonts/inter-latin.woff2",
54
- "public/fonts/OFL.txt"
56
+ "public/fonts/OFL.txt",
57
+ "public/fonts/noto-sans-ja.css",
58
+ "public/fonts/noto-sans-ja.woff2",
59
+ "public/fonts/noto-sans-ko.css",
60
+ "public/fonts/noto-sans-ko.woff2",
61
+ "public/fonts/OFL-noto.txt"
55
62
  ],
56
63
  "scripts": {
57
64
  "dev": "vite",
@@ -120,7 +127,7 @@
120
127
  "mobile"
121
128
  ],
122
129
  "author": "PeekCarousel contributors",
123
- "license": "MIT",
130
+ "license": "SEE LICENSE IN LICENSE",
124
131
  "bugs": {
125
132
  "url": "https://github.com/lledellebell/peek-carousel/issues"
126
133
  },
@@ -158,5 +165,8 @@
158
165
  "micromark-extension-math": {
159
166
  "katex": "0.18.2"
160
167
  }
168
+ },
169
+ "publishConfig": {
170
+ "access": "public"
161
171
  }
162
172
  }
@@ -0,0 +1,93 @@
1
+ Copyright 2014-2021 Adobe (http://www.adobe.com/), with Reserved Font Name 'Source'
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,46 @@
1
+ /* Noto Sans JP; SIL OFL 1.1. See OFL-noto.txt. */
2
+ @font-face {
3
+ font-family: 'Noto Sans JP';
4
+ font-style: normal;
5
+ font-weight: 500;
6
+ font-display: swap;
7
+ src: url('./noto-sans-ja.woff2') format('woff2');
8
+ unicode-range:
9
+ U+a9, U+b7, U+2014, U+2190, U+2192, U+2197, U+25a4, U+25b1, U+25c9, U+27f7,
10
+ U+2934, U+3001, U+3002, U+3042, U+3044, U+3046, U+3048, U+304b, U+304c,
11
+ U+304d, U+304f, U+3050, U+3051, U+3052, U+3053, U+3054, U+3055, U+3057,
12
+ U+3058, U+3059, U+305a, U+305b, U+305d, U+305e, U+305f, U+3060, U+3061,
13
+ U+3063, U+3064, U+3066, U+3067, U+3068, U+3069, U+306a, U+306b, U+306e,
14
+ U+306f, U+3070, U+3072, U+3073, U+3078, U+3079, U+307e, U+307f, U+3080,
15
+ U+3081, U+3082, U+3084, U+3086, U+3087, U+3088, U+3089, U+308a, U+308b,
16
+ U+308c, U+308d, U+3092, U+3093, U+30a2, U+30a3, U+30a4, U+30a6, U+30a7,
17
+ U+30a8, U+30a9, U+30aa, U+30ab, U+30ac, U+30ad, U+30ae, U+30af, U+30b0,
18
+ U+30b1, U+30b2, U+30b3, U+30b5, U+30b6, U+30b7, U+30b8, U+30b9, U+30ba,
19
+ U+30bb, U+30bd, U+30bf, U+30c0, U+30c1, U+30c3, U+30c4, U+30c6, U+30c7,
20
+ U+30c8, U+30c9, U+30ca, U+30d0, U+30d1, U+30d3, U+30d4, U+30d5, U+30d6,
21
+ U+30d7, U+30db, U+30dc, U+30dd, U+30de, U+30e0, U+30e1, U+30e2, U+30e3,
22
+ U+30e5, U+30e7, U+30e8, U+30e9, U+30ea, U+30eb, U+30ec, U+30ed, U+30ef,
23
+ U+30f3, U+30fb, U+30fc, U+4e00, U+4e0a, U+4e0b, U+4e0d, U+4e26, U+4e2d,
24
+ U+4e38, U+4ed5, U+4ed6, U+4ef6, U+4f53, U+4f59, U+4f5c, U+4f7f, U+4f8b,
25
+ U+4f9b, U+4f9d, U+4fdd, U+4fe1, U+500b, U+505c, U+5099, U+50cf, U+5148,
26
+ U+5165, U+5168, U+518d, U+5199, U+51fa, U+5206, U+5207, U+521d, U+5229,
27
+ U+524d, U+52a0, U+52b9, U+52d5, U+5305, U+5316, U+5370, U+53cb, U+53ef,
28
+ U+53f3, U+5404, U+540c, U+5411, U+5546, U+554f, U+56de, U+56f2, U+5728,
29
+ U+5730, U+578b, U+5909, U+591a, U+5927, U+592b, U+59cb, U+5b58, U+5b9a,
30
+ U+5bc4, U+5bfe, U+5c02, U+5c0f, U+5c11, U+5c71, U+5ca9, U+5cb8, U+5d16,
31
+ U+5de5, U+5de6, U+5e03, U+5e38, U+5e83, U+5f15, U+5f71, U+5f8c, U+5faa,
32
+ U+5fc3, U+5fc5, U+5fdc, U+6027, U+60c5, U+6210, U+623b, U+6240, U+6247,
33
+ U+624b, U+629e, U+6301, U+63a2, U+63d0, U+64cd, U+6570, U+6574, U+6599,
34
+ U+65b0, U+65b9, U+65e2, U+65e5, U+660e, U+666f, U+66c7, U+66f4, U+66ff,
35
+ U+6700, U+671f, U+672c, U+6761, U+679a, U+68b1, U+697d, U+6a29, U+6a2a,
36
+ U+6b21, U+6b62, U+6bd4, U+6bdb, U+6c34, U+6d41, U+6d77, U+6e96, U+70b9,
37
+ U+7121, U+7136, U+72b6, U+73fe, U+74b0, U+751f, U+7528, U+753b, U+767a,
38
+ U+767d, U+7684, U+76ee, U+771f, U+77ac, U+77e2, U+793a, U+79fb, U+7a7a,
39
+ U+7acb, U+7aef, U+7b54, U+7d22, U+7d30, U+7d44, U+7dad, U+7dd1, U+7dda,
40
+ U+7f6e, U+7fa9, U+80cc, U+80fd, U+81ea, U+8272, U+8457, U+884c, U+8868,
41
+ U+8981, U+898b, U+898f, U+8996, U+89d2, U+8a00, U+8a2d, U+8a31, U+8a66,
42
+ U+8a9e, U+8aac, U+8aad, U+8abf, U+8c37, U+8cc7, U+8cea, U+8eab, U+8f03,
43
+ U+8fbc, U+8ffd, U+9032, U+9053, U+9060, U+9078, U+90e8, U+914d, U+91cd,
44
+ U+958b, U+9593, U+96a3, U+96e2, U+9727, U+9752, U+9759, U+98a8, U+9a13,
45
+ U+ad6d, U+c5b4, U+d55c, U+ff1f;
46
+ }
Binary file
@@ -0,0 +1,53 @@
1
+ /* Noto Sans KR; SIL OFL 1.1. See OFL-noto.txt. */
2
+ @font-face {
3
+ font-family: 'Noto Sans KR';
4
+ font-style: normal;
5
+ font-weight: 400 650;
6
+ font-display: swap;
7
+ src: url('./noto-sans-ko.woff2') format('woff2');
8
+ unicode-range:
9
+ U+20, U+21, U+22, U+23, U+24, U+25, U+26, U+27, U+28, U+29, U+2a, U+2b,
10
+ U+2c, U+2d, U+2e, U+2f, U+30, U+31, U+32, U+33, U+34, U+35, U+36, U+37,
11
+ U+38, U+39, U+3a, U+3b, U+3c, U+3d, U+3e, U+3f, U+40, U+41, U+42, U+43,
12
+ U+44, U+45, U+46, U+47, U+48, U+49, U+4a, U+4b, U+4c, U+4d, U+4e, U+4f,
13
+ U+50, U+51, U+52, U+53, U+54, U+55, U+56, U+57, U+58, U+59, U+5a, U+5b,
14
+ U+5c, U+5d, U+5e, U+5f, U+60, U+61, U+62, U+63, U+64, U+65, U+66, U+67,
15
+ U+68, U+69, U+6a, U+6b, U+6c, U+6d, U+6e, U+6f, U+70, U+71, U+72, U+73,
16
+ U+74, U+75, U+76, U+77, U+78, U+79, U+7a, U+7b, U+7c, U+7d, U+7e, U+a9,
17
+ U+b7, U+2014, U+2190, U+2192, U+2197, U+25a4, U+25b1, U+25c9, U+27f7,
18
+ U+2934, U+65e5, U+672c, U+8a9e, U+ac00, U+ac04, U+ac15, U+ac19, U+ac1c,
19
+ U+ac24, U+ac70, U+ac74, U+ac78, U+ac8c, U+acac, U+acb9, U+acbd, U+acc4,
20
+ U+ace0, U+ace1, U+acf3, U+acf5, U+acfc, U+ad50, U+ad6d, U+ad8c, U+addc,
21
+ U+adf8, U+ae08, U+ae30, U+ae38, U+ae4c, U+aed8, U+aef4, U+afc0, U+b04c,
22
+ U+b05d, U+b080, U+b098, U+b0b4, U+b108, U+b113, U+b124, U+b290, U+b294,
23
+ U+b298, U+b2a5, U+b2c8, U+b2d0, U+b2d9, U+b2e4, U+b2f4, U+b2f5, U+b300,
24
+ U+b354, U+b370, U+b3c4, U+b3cc, U+b3d9, U+b41c, U+b429, U+b450, U+b454,
25
+ U+b458, U+b4a4, U+b4dc, U+b4e0, U+b4e4, U+b4ec, U+b514, U+b530, U+b54c,
26
+ U+b5a4, U+b6f0, U+b77c, U+b780, U+b798, U+b7ab, U+b7ec, U+b7f0, U+b7fc,
27
+ U+b808, U+b824, U+b85c, U+b85d, U+b864, U+b8cc, U+b974, U+b978, U+b97c,
28
+ U+b984, U+b9ac, U+b9b0, U+b9b4, U+b9bc, U+b9bf, U+b9c1, U+b9c8, U+b9c9,
29
+ U+b9cc, U+b9ce, U+ba38, U+ba40, U+ba48, U+ba70, U+ba74, U+ba85, U+ba87,
30
+ U+baa8, U+bb38, U+bb3b, U+bb3c, U+bbf8, U+bc14, U+bc1c, U+bc29, U+bc30,
31
+ U+bc31, U+bc84, U+bc88, U+bcbd, U+bcc0, U+bccd, U+bcf4, U+bcf5, U+bcf8,
32
+ U+bcfc, U+bd80, U+bd84, U+bd88, U+be0c, U+be44, U+be4c, U+be5b, U+c0ac,
33
+ U+c0b0, U+c0b4, U+c0c1, U+c0c8, U+c0c9, U+c0dd, U+c11c, U+c120, U+c124,
34
+ U+c12f, U+c131, U+c138, U+c140, U+c14b, U+c18c, U+c19f, U+c218, U+c219,
35
+ U+c21c, U+c2a4, U+c2ac, U+c2b5, U+c2dc, U+c2dd, U+c2e0, U+c2e4, U+c2f8,
36
+ U+c2fc, U+c4f8, U+c529, U+c544, U+c548, U+c54c, U+c55e, U+c571, U+c57c,
37
+ U+c591, U+c5b4, U+c5b8, U+c5c5, U+c5c6, U+c5d0, U+c5ec, U+c5f0, U+c606,
38
+ U+c608, U+c624, U+c635, U+c640, U+c694, U+c6a9, U+c6b0, U+c6b4, U+c6c0,
39
+ U+c6c3, U+c6cc, U+c6d0, U+c6f9, U+c704, U+c720, U+c73c, U+c740, U+c744,
40
+ U+c74c, U+c758, U+c774, U+c775, U+c778, U+c77c, U+c77d, U+c784, U+c785,
41
+ U+c788, U+c790, U+c791, U+c7a5, U+c7ac, U+c800, U+c801, U+c804, U+c808,
42
+ U+c810, U+c811, U+c815, U+c81c, U+c81d, U+c838, U+c870, U+c874, U+c88b,
43
+ U+c88c, U+c8fc, U+c900, U+c904, U+c90d, U+c911, U+c990, U+c9c0, U+c9c1,
44
+ U+c9c4, U+c9c8, U+c9d1, U+c9f8, U+cabd, U+cc3e, U+cc44, U+cc98, U+ccb4,
45
+ U+ccd0, U+cd08, U+cd5c, U+cd94, U+cd9c, U+cda5, U+cde8, U+ce20, U+ce58,
46
+ U+ce59, U+ce5c, U+ce68, U+ce74, U+ce90, U+cee4, U+cee8, U+cf1c, U+cf54,
47
+ U+cf58, U+d06c, U+d0a4, U+d0c0, U+d0c1, U+d0d0, U+d0dd, U+d130, U+d14c,
48
+ U+d150, U+d15c, U+d1b5, U+d2b8, U+d2bc, U+d30c, U+d37c, U+d398, U+d3b4,
49
+ U+d3b8, U+d3bc, U+d3ec, U+d45c, U+d478, U+d48d, U+d504, U+d50c, U+d53c,
50
+ U+d544, U+d558, U+d55c, U+d560, U+d568, U+d569, U+d574, U+d589, U+d5a5,
51
+ U+d5c8, U+d5d8, U+d604, U+d615, U+d654, U+d658, U+d68c, U+d720, U+d750,
52
+ U+d770;
53
+ }
Binary file