peek-carousel 2.0.0 → 2.0.1
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/README.en.md +39 -21
- package/README.md +35 -21
- package/THIRD_PARTY_NOTICES.md +33 -23
- package/dist/peek-carousel.cjs +1 -1
- package/dist/peek-carousel.css +1 -1
- package/dist/peek-carousel.esm.js +1 -1
- package/dist/peek-carousel.js +1 -1
- package/dist/peek-carousel.min.css +1 -1
- package/docs/en/reference.md +14 -16
- package/docs/integrations.md +114 -26
- package/docs/ko/reference.md +11 -12
- package/examples/custom-theme.css +140 -58
- package/examples/custom-theme.html +27 -15
- package/examples/custom-theme.ja.html +27 -15
- package/examples/custom-theme.js +2 -2
- package/examples/custom-theme.ko.html +29 -17
- package/examples/example-built.html +61 -57
- package/examples/example-built.ja.html +61 -57
- package/examples/example-built.ko.html +63 -59
- package/examples/example.min.css +2 -2
- package/examples/example.min.js +2 -2
- package/package.json +12 -6
- package/public/favicon-16x16.png +0 -0
- package/public/favicon-32x32.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/fonts/OFL-pretendard.txt +94 -0
- package/public/fonts/inter-latin.css +1 -1
- package/public/fonts/noto-sans-ja-bold.woff2 +0 -0
- package/public/fonts/noto-sans-ja.css +26 -2
- package/public/fonts/noto-sans-ja.woff2 +0 -0
- package/public/fonts/{noto-sans-ko.css → peek-preview-kr.css} +4 -4
- package/public/fonts/peek-preview-kr.woff2 +0 -0
- package/public/peek-mark.svg +5 -0
- package/public/fonts/noto-sans-ko.woff2 +0 -0
package/examples/example.min.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! PeekCarousel v2.0.
|
|
1
|
+
/*! PeekCarousel v2.0.1
|
|
2
2
|
* Copyright (c) 2025 PeekCarousel
|
|
3
3
|
* Copyright (c) 2026 PeekCarousel contributors
|
|
4
4
|
* @license See LICENSE, LICENSE-MIT and THIRD_PARTY_NOTICES.md.
|
|
5
5
|
*/
|
|
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}}
|
|
6
|
+
:root{background:#fff;color:var(--preview-color-text);color-scheme:light;font-family:Inter,Helvetica Neue,Arial,sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased;--preview-color-text:#141b2e;--preview-color-muted:#536178;--preview-color-subtle:#647189;--preview-color-divider:#e4e8f0;--preview-color-control-border:#8492aa;--preview-color-border-hover:#2458e8;--preview-color-surface:#fff;--preview-color-surface-subtle:#f5f6f8;--preview-canvas-background:#121a2a;--preview-canvas-text:#b7c5dd;--preview-code-accent:#b9ceff;--preview-color-primary:#2458e8;--preview-color-primary-hover:#1c45b8;--preview-color-primary-pressed:#173994;--preview-color-on-primary:#fff;--preview-color-selected-surface:#eef3ff;--preview-color-selected-text:#1c45b8;--preview-color-focus:#2458e8;--preview-color-success:#176843;--preview-color-fallback:#805400;--preview-color-fallback-surface:#fff4d6;--preview-code-background:#111b30;--preview-code-surface:#0c1629;--preview-code-border:#2e3e5b;--preview-code-text:#e9f0ff;--preview-code-muted:#aebbd4;--preview-code-control:#1a2a46;--preview-code-hover:#263d62;--preview-code-success:#a7e7c7;--preview-code-fallback:#ffd38c;--preview-space-1:4px;--preview-space-2:8px;--preview-space-3:12px;--preview-space-4:16px;--preview-space-5:24px;--preview-space-6:32px;--preview-space-7:48px;--preview-radius-small:8px;--preview-radius-control:12px;--preview-radius-surface:24px;--preview-radius-round:999px;--preview-control-min:44px;--preview-control-height:48px;--preview-control-primary:52px;--preview-focus-width:2px;--preview-focus-offset:3px;--ink:var(--preview-color-text);--muted:var(--preview-color-muted);--subtle:var(--preview-color-subtle);--line:var(--preview-color-divider);--accent:var(--preview-color-primary);--preview-body-leading:1.7;--preview-body-weight:400;--preview-body-tracking:0;--preview-heading-leading:1.2;--preview-heading-tracking:-0.035em;--preview-title-leading:1.08;--preview-title-tracking:-0.045em;--preview-label-tracking:0.08em;--preview-heading-size:clamp(30px,3.2vw,40px);--preview-body-size:15px;--preview-small-size:12px;--preview-heading-weight:700;--preview-label-weight:600;--preview-button-weight:650;--preview-secondary-weight:550;--preview-section-space:96px}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit;line-height:1.5}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:var(--preview-focus-width) solid var(--preview-color-focus);outline-offset:var(--preview-focus-offset)}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button[data-copy-state=pending]{cursor:progress}.preview{font-weight:var(--preview-body-weight);letter-spacing:var(--preview-body-tracking);line-height:var(--preview-body-leading);margin:auto;max-width:1440px;padding:0 var(--preview-space-7)}.preview section[id]{scroll-margin-top:32px}.playground__stage,.playground__stage [role=region]{scroll-margin-top:72px}.playground__mode_bar{scroll-margin-top:24px}.playground__mode_bar:focus-visible{border-radius:var(--preview-radius-control);outline:var(--preview-focus-width) solid var(--preview-color-focus);outline-offset:var(--preview-focus-offset)}.preview__header{align-items:center;border-bottom:1px solid var(--line);display:flex;gap:var(--preview-space-5);justify-content:space-between;min-height:80px}.preview__brand{align-items:center;display:flex;font-size:20px;font-weight:650;gap:10px;letter-spacing:-.8px;margin-right:auto}.preview__brand_mark{display:block;flex-shrink:0;height:32px;width:32px}.preview__nav{align-items:center;display:flex;font-size:13px;gap:var(--preview-space-2)}.preview__nav>a{align-items:center;background:transparent;border:1px solid transparent;border-radius:var(--preview-radius-control);color:var(--muted);display:inline-flex;font-weight:var(--preview-secondary-weight);gap:6px;justify-content:center;line-height:1.5;min-height:var(--preview-control-min);padding:10px var(--preview-space-3);text-decoration:none;transition:background-color .16s,border-color .16s,color .16s}.preview__nav>a:focus-visible,.preview__nav>a:hover{background:var(--preview-color-surface-subtle);color:var(--preview-color-primary-hover)}.preview__nav>a:active{background:var(--preview-color-selected-surface)}.preview__nav>a[aria-current]{background:var(--preview-color-surface);border-color:var(--preview-color-divider);color:var(--ink);font-weight:var(--preview-button-weight)}.preview__nav span{color:currentcolor;margin-left:0}.preview__hero{align-items:center;display:grid;gap:var(--preview-space-5);grid-template-columns:minmax(0,1fr);padding:var(--preview-space-7) 0 40px;text-align:center}.preview__hero_copy{min-width:0;padding:0}.preview__hero h1{color:var(--ink);font-size:clamp(40px,5vw,72px);margin:auto;max-width:1100px}.preview__hero_summary{min-width:0}.preview__hero_summary .preview__intro{margin:0 auto}.preview__hero h1>span{display:inline}.preview__hero_accent{color:var(--ink)}.preview__hero_actions{align-items:center;display:flex;flex-wrap:wrap;gap:var(--preview-space-3) var(--preview-space-4);justify-content:center;margin-top:20px}.preview__hero_action{align-items:center;background:var(--accent);border:1px solid var(--accent);border-radius:var(--preview-radius-control);color:var(--preview-color-on-primary);display:inline-flex;font-size:14px;font-weight:var(--preview-button-weight);gap:var(--preview-space-4);justify-content:space-between;line-height:1.5;min-height:var(--preview-control-primary);padding:11px 14px 11px 20px;transition:background-color .16s,border-color .16s}.preview__hero_action>svg{background:hsla(0,0%,100%,.18);border-radius:50%;flex-shrink:0;height:28px;padding:6px;transition:transform .16s;width:28px}.preview__hero_action:focus-visible>svg,.preview__hero_action:hover>svg{transform:translateY(2px)}.preview__hero_actions .preview__link{min-height:var(--preview-control-primary);padding-bottom:11px;padding-top:11px}.preview__hero_action:hover{background:var(--preview-color-primary-hover);border-color:var(--preview-color-primary-hover)}.preview__hero_action:active{background:var(--preview-color-primary-pressed);border-color:var(--preview-color-primary-pressed)}.preview__install_wrapper{margin:var(--preview-space-4) auto 0;max-width:400px;text-align:left}.preview__install{align-items:center;background:var(--preview-color-surface-subtle);border:1px solid var(--line);border-radius:var(--preview-radius-control);display:flex;justify-content:space-between;min-width:0}.preview__install code{color:var(--ink);font:12px/1.5 ui-monospace,monospace;letter-spacing:normal;min-width:0;overflow:auto;padding:var(--preview-space-3) 14px;white-space:nowrap}.preview__install_copy{align-items:center;background:transparent;border:0;border-left:1px solid var(--line);border-radius:0 var(--preview-radius-control) var(--preview-radius-control) 0;color:var(--muted);display:inline-flex;flex-shrink:0;justify-content:center;min-height:var(--preview-control-min);min-width:44px;padding:10px}.preview__install_copy:hover{background:#eaf0ff;color:var(--preview-color-primary-hover)}.preview__install code:focus-visible{border-radius:var(--preview-radius-control);outline:var(--preview-focus-width) solid var(--preview-color-focus);outline-offset:-3px}.preview__eyebrow{align-items:center;display:flex;font-size:11px;font-weight:var(--preview-label-weight,650);gap:10px;letter-spacing:var(--preview-label-tracking);margin:0}.preview__section_number{align-items:center;background:#eaf0ff;border-radius:var(--preview-radius-control);color:var(--preview-color-primary-hover);display:inline-flex;flex-shrink:0;font-size:10px;height:28px;justify-content:center;letter-spacing:normal;width:28px}.preview__hero_copy>.preview__eyebrow{align-items:center;display:flex;gap:9px;justify-content:center;margin:0 0 var(--preview-space-5)}.preview__hero_tagline{color:var(--muted)}@media (forced-colors:active),print{.preview__hero_tagline{background:none;color:CanvasText;-webkit-text-fill-color:currentcolor}}.playground__live_icon,.preview__tagline_icon{color:var(--accent);display:block;flex-shrink:0;height:18px;width:18px}h1{font-size:clamp(42px,5.4vw,76px);font-weight:var(--preview-heading-weight);letter-spacing:var(--preview-title-tracking);line-height:var(--preview-title-leading);margin:0}.preview__intro{margin-top:var(--preview-space-5)}.preview__intro p,.preview__usage p{color:var(--muted);font-size:var(--preview-body-size);line-height:var(--preview-body-leading);margin:0}.preview__intro p{font-size:17px;margin:auto;max-width:32em}.preview__link{align-items:center;background:var(--preview-color-surface);border:1px solid var(--preview-color-control-border);border-radius:var(--preview-radius-control);color:var(--ink);display:inline-flex;font-size:13px;font-weight:var(--preview-secondary-weight);gap:var(--preview-space-3);justify-content:space-between;line-height:1.5;min-height:var(--preview-control-height);padding:9px 14px 9px 18px;text-decoration:none;transition:background-color .16s,border-color .16s,color .16s}.preview__layout_try>span,.preview__link>span{align-items:center;color:currentcolor;display:inline-flex;flex-shrink:0;font-size:14px;height:20px;justify-content:center;line-height:1;transition:transform .16s;width:20px}.preview__link:focus-visible,.preview__link:hover{background:var(--preview-color-selected-surface);border-color:var(--preview-color-border-hover);color:var(--preview-color-primary-hover)}.preview__link:active{background:var(--preview-color-surface-subtle);border-color:var(--preview-color-primary-pressed);color:var(--preview-color-primary-pressed)}.preview__link:focus-visible>span,.preview__link:hover>span{transform:translate(2px,-2px)}.playground{align-items:start;display:grid;gap:var(--preview-space-4);grid-template-columns:minmax(0,1fr);padding:0}.playground__preview{min-width:0}.playground__gallery{background:transparent;border:0;padding:0}.playground__gallery .playground__toolbar{border-bottom:0;padding-bottom:0}.playground__gallery .playground__stage{background:var(--preview-canvas-background);border:0}.playground__gallery .playground__layout:not([aria-pressed=true]){background:var(--preview-color-surface);border-color:var(--preview-color-divider)}.playground__gallery .playground__layout:hover{border-color:var(--accent)}.playground__toolbar{align-items:center;display:flex;justify-content:space-between;margin-bottom:var(--preview-space-4)}.playground__toolbar .preview__eyebrow{margin:0}.playground__live{align-items:center;color:var(--subtle);display:flex;font-size:var(--preview-small-size);gap:7px}.playground__stage{--preview-stage-height:clamp(400px,50vh,460px);--preview-color-focus:var(--preview-code-accent);background:var(--preview-canvas-background);border:0;border-radius:var(--preview-radius-surface);height:var(--preview-stage-height);isolation:isolate;overflow:hidden;position:relative}.playground__label{color:var(--preview-canvas-text);display:flex;font-size:10px;inset:22px 24px auto;justify-content:space-between;letter-spacing:var(--preview-label-tracking);margin:0;pointer-events:none;position:absolute;z-index:1}.playground__description{color:var(--muted);font-size:var(--preview-small-size);margin:var(--preview-space-4) 0 0}.playground__settings{border-top:1px solid var(--line);min-width:0;padding:var(--preview-space-5) 0}.playground__gallery .playground__settings{border:0;padding:0}.playground__mode_bar{align-items:center;display:grid;gap:var(--preview-space-4);grid-template-columns:140px minmax(0,1fr)}.playground__mode_bar h3{color:var(--muted);font-size:12px;font-weight:600;margin:0}.playground__quick_help{color:var(--muted);font-size:12px;line-height:1.6;margin:var(--preview-space-2) 0 var(--preview-space-3)}.playground__settings h2{font-size:25px;font-weight:var(--preview-heading-weight);letter-spacing:var(--preview-heading-tracking);line-height:var(--preview-heading-leading);margin:var(--preview-space-3) 0}.playground__layout_picker{display:grid;gap:var(--preview-space-2);grid-template-columns:repeat(4,minmax(0,1fr))}.playground__layout{align-items:center;background:transparent;border:1px solid var(--preview-color-control-border);border-radius:var(--preview-radius-control);color:var(--ink);display:flex;font-size:13px;font-weight:var(--preview-secondary-weight);gap:var(--preview-space-2);justify-content:center;min-height:var(--preview-control-height);padding:10px var(--preview-space-3);position:relative;transition:background .2s,border-color .2s}.playground__layout:not(:disabled):hover{border-color:var(--accent)}.playground__layout[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--preview-color-on-primary);font-weight:var(--preview-button-weight)}.playground__layout_check{position:absolute;right:6px;top:6px;visibility:hidden}.playground__layout[aria-pressed=true] .playground__layout_check{visibility:visible}.playground__toggles{border:0;display:grid;gap:0 var(--preview-space-5);grid-template-columns:repeat(2,minmax(0,1fr));margin:0;min-width:0;padding:0}.playground__toggles legend{color:var(--muted);font-size:11px;letter-spacing:var(--preview-label-tracking);padding:0 0 var(--preview-space-3)}.playground__toggle{align-items:center;cursor:pointer;display:flex;font-size:var(--preview-small-size);gap:10px;justify-content:space-between;min-height:var(--preview-control-min);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:var(--preview-radius-round);flex-shrink:0;height:22px;pointer-events:none;position:relative;transition:background-color .18s,border-color .18s;width:36px}.playground__toggle_track:before{background:var(--preview-color-surface);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:var(--accent);border-color:var(--accent)}.playground__toggle input:checked+.playground__toggle_track:before{transform:translateX(14px)}.playground__toggle input:focus+.playground__toggle_track{outline:var(--preview-focus-width) solid var(--preview-color-focus);outline-offset:3px}.playground__help{font-size:12px}.playground__help h3{font-size:13px;font-weight:600;margin:0}.playground__options{border-bottom:1px solid var(--line);margin-top:var(--preview-space-4)}.playground__options>summary{align-items:center;color:var(--muted);cursor:pointer;display:flex;font-size:12px;gap:var(--preview-space-4);justify-content:space-between;list-style:none;min-height:var(--preview-control-height);padding:var(--preview-space-3) 0}.playground__options>summary::-webkit-details-marker{display:none}.playground__options[open]>summary svg{transform:rotate(180deg)}.playground__options_content{display:grid;gap:40px;grid-template-columns:repeat(2,minmax(0,1fr));padding:var(--preview-space-4) 0 var(--preview-space-5)}.playground__help p{color:var(--muted);line-height:var(--preview-body-leading);margin:var(--preview-space-2) 0 0}.preview__usage{align-items:start;display:grid;gap:var(--preview-space-7);grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);margin:var(--preview-section-space) 0;padding:0}.preview__usage .preview__eyebrow{color:var(--ink);font-size:10px}.preview__usage h2{font-size:var(--preview-heading-size);font-weight:var(--preview-heading-weight);letter-spacing:var(--preview-heading-tracking);line-height:var(--preview-heading-leading);margin:var(--preview-space-4) 0}.preview__usage .preview__link{margin-top:var(--preview-space-5)}.preview__code{background:var(--preview-code-background);border:1px solid var(--preview-code-border);border-radius:var(--preview-radius-surface);color:var(--preview-code-text);margin:0;overflow:hidden}.preview__code_heading{align-items:center;border-bottom:1px solid var(--preview-code-border);color:var(--preview-code-muted);display:flex;font:11px ui-monospace,monospace;gap:var(--preview-space-2);justify-content:space-between;padding:var(--preview-space-3) var(--preview-space-4)}.preview__code_heading [data-code-filename]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview__code_copy{background:var(--preview-code-control);border:1px solid #8da2c4;border-radius:var(--preview-radius-small);color:var(--preview-code-text);flex-shrink:0;font-size:11px;line-height:1.5;min-height:var(--preview-control-min);padding:var(--preview-space-2) 10px}.preview__code_copy:enabled:hover{background:var(--preview-code-hover)}.preview__code_tabs{border-bottom:1px solid var(--preview-code-border);display:flex;gap:var(--preview-space-1);padding:var(--preview-space-2) var(--preview-space-3)}.preview__code_tabs button{background:transparent;border:0;border-radius:var(--preview-radius-small);color:var(--preview-code-muted);font-size:12px;line-height:1.5;min-height:var(--preview-control-min);padding:var(--preview-space-2) 10px}.preview__code_tabs [aria-selected=true]{background:var(--preview-color-selected-surface);color:var(--ink);font-weight:600}.preview__code_tabs button:not([aria-selected=true]):enabled:hover{background:var(--preview-code-hover);color:var(--preview-color-on-primary)}.preview__code_tabs [aria-selected=true]:enabled:hover{background:var(--preview-color-surface)}.preview__code_tabs [aria-selected=true]:enabled:active{background:var(--preview-code-accent)}.preview__code_copy:focus-visible,.preview__code_tabs button:focus-visible{outline-color:#a8c3ff;outline-offset:2px}.preview__code pre:focus-visible{outline-color:#a8c3ff;outline-offset:-3px}.preview__code pre{background:var(--preview-code-surface);border:0;border-radius:0;color:var(--preview-code-text);font:13px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;height:320px;letter-spacing:normal;margin:0;min-width:0;overflow:auto;padding:var(--preview-space-5);scrollbar-color:#6b7e9f var(--preview-code-surface);scrollbar-width:thin;-moz-tab-size:2;-o-tab-size:2;tab-size:2}.preview__code pre>code{font:inherit}.preview__code pre code::-moz-selection,.preview__code pre::-moz-selection{background:#34548a;color:var(--preview-color-on-primary)}.preview__code pre code::selection,.preview__code pre::selection{background:#34548a;color:var(--preview-color-on-primary)}.preview__footer{border-top:1px solid var(--line);display:flex;flex-wrap:wrap;font-size:var(--preview-small-size);gap:14px var(--preview-space-5);justify-content:space-between;padding:40px 0 36px}.preview__footer>span:nth-child(2),.preview__footer_note{color:var(--muted)}.preview__footer_brand{display:block;font-size:22px;font-weight:600;letter-spacing:-.04em;margin-bottom:6px}.preview__skip{background:var(--accent);color:var(--preview-color-on-primary);left:20px;padding:var(--preview-space-3);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:var(--preview-color-on-primary);--peek-carousel-button-background:var(--accent);--peek-carousel-button-hover-background:var(--accent);--peek-carousel-button-active-background:var(--accent);--peek-carousel-button-border-color:transparent;--peek-carousel-button-size:36px;--peek-carousel-button-radius:50%;--peek-carousel-counter-background:var(--preview-color-surface);--peek-carousel-indicators-background:#172b55;--peek-carousel-indicator-active-color:var(--preview-color-on-primary);--peek-carousel-indicator-shadow:none;--peek-carousel-focus-color:var(--preview-code-accent)}.playground__stage .peek-carousel__item{margin-top:-18px;width:min(72%,(var(--preview-stage-height) - 120px) * 1.15)}.playground__stage .peek-carousel--radial .peek-carousel__item{width:min(60%,(var(--preview-stage-height) - 120px) * .88)}.playground__stage .peek-carousel--classic .peek-carousel__item{width:min(72%,(var(--preview-stage-height) - 120px) * 1.32)}.playground__stage .peek-carousel--fan .peek-carousel__item{margin-top:calc(16px - var(--preview-stage-height)*.2);width:min(64%,(var(--preview-stage-height) - 160px) * 1.02)}.playground__stage .peek-carousel__caption{padding:22px;text-align:left}.preview__caption_title{display:block;font-size:20px;font-weight:var(--preview-heading-weight);letter-spacing:-.5px}.preview__caption_subtitle{display:block;font-size:var(--preview-small-size);margin-top:6px;opacity:.8}.playground__stage .peek-carousel__nav{animation:none;flex-shrink:0;gap:var(--preview-space-2);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:var(--preview-space-2);max-width:calc(100% - 16px)}html:lang(ja){font-family:Inter,Noto Sans JP,sans-serif;--preview-body-leading:1.85;--preview-body-tracking:0.015em;--preview-heading-leading:1.4;--preview-heading-tracking:-0.015em;--preview-title-leading:1.3;--preview-title-tracking:-0.02em;--preview-label-tracking:0.04em;--preview-secondary-weight:400;--preview-button-weight:700;--preview-label-weight:400}html:lang(ko){font-family:Peek Preview KR,sans-serif;word-break:keep-all;--preview-body-leading:1.75;--preview-body-weight:400;--preview-body-tracking:0;--preview-heading-leading:1.4;--preview-heading-weight:700;--preview-heading-tracking:-0.02em;--preview-title-leading:1.24;--preview-title-tracking:-0.02em;--preview-label-tracking:0.035em;--preview-label-weight:600}html:lang(ko) .playground__preset,html:lang(ko) .playground__theme_settings label,html:lang(ko) .playground__toggle,html:lang(ko) .preview__nav{font-weight:500;line-height:1.65}html:lang(ko) .playground__theme_settings>button{font-weight:600}html:lang(ko) .preview__hero h1,html:lang(ko) .preview__usage h2{font-weight:750}.preview__language_menu{flex-shrink:0;position:relative;z-index:5}.preview__language_menu>summary{align-items:center;background:var(--preview-color-surface);border:1px solid var(--preview-color-control-border);border-radius:var(--preview-radius-control);color:var(--ink);cursor:pointer;display:flex;font-size:12px;gap:var(--preview-space-2);justify-content:center;list-style:none;min-height:var(--preview-control-min);padding:10px var(--preview-space-3)}.preview__language_menu>summary::-webkit-details-marker{display:none}.preview__language_menu[open]>summary{background:var(--preview-color-selected-surface);border-color:var(--accent)}.preview__languages{background:var(--preview-color-surface);border:1px solid var(--preview-color-control-border);border-radius:var(--preview-radius-control);box-shadow:0 8px 24px rgba(23,43,85,.12);display:flex;flex-direction:column;font-size:12px;gap:var(--preview-space-1);padding:var(--preview-space-1);position:absolute;right:0;top:calc(100% + 8px);width:176px}.preview__languages a{align-items:center;border-radius:var(--preview-radius-small);color:var(--muted);display:flex;line-height:1.5;min-height:var(--preview-control-min);padding:10px var(--preview-space-3)}.preview__languages a:hover{background:var(--preview-color-surface-subtle)}.preview__languages [aria-current]{background:var(--preview-color-selected-surface);color:var(--preview-color-selected-text);font-weight:600}.preview__nav a:hover,.preview__sources a:hover{color:var(--accent)}@media (max-width:1000px){:root{--preview-section-space:64px}.preview{padding:0 30px}.playground{gap:var(--preview-space-5);grid-template-columns:minmax(0,1fr)}.preview__usage{gap:30px}.preview__hero{gap:var(--preview-space-6)}.playground__mode_bar{gap:var(--preview-space-3);grid-template-columns:minmax(0,1fr)}}@media (max-width:720px){:root{--preview-section-space:56px;--preview-body-size:14px}.preview{padding:0 20px}.preview__header{display:grid;gap:var(--preview-space-1) var(--preview-space-3);grid-template-columns:minmax(0,1fr) auto;padding:var(--preview-space-2) 0}.preview__language_menu{grid-column:2;grid-row:1}.preview__brand{font-size:17px;gap:6px}.preview__brand_mark{height:28px;width:28px}.preview__nav{font-size:12px;gap:var(--preview-space-2);grid-column:1/-1;grid-row:2}.preview__nav>a{gap:var(--preview-space-1);padding-left:var(--preview-space-2);padding-right:var(--preview-space-2)}.preview__hero{gap:var(--preview-space-5);grid-template-columns:minmax(0,1fr);padding:var(--preview-space-6) 0 var(--preview-space-5)}.preview__hero_copy>.preview__eyebrow{font-size:10px;margin-bottom:20px}.preview__hero h1{font-size:clamp(30px,8.2vw,40px)}.preview__hero h1>span{display:block}.preview__hero_actions{gap:var(--preview-space-3);margin-top:20px}.preview__hero_action{font-size:12px;gap:var(--preview-space-3);min-height:var(--preview-control-height);padding:9px 10px 9px var(--preview-space-4)}.preview__hero_action>svg{height:24px;padding:var(--preview-space-1);width:24px}.preview__hero_actions .preview__link{font-size:12px;gap:var(--preview-space-2);min-height:var(--preview-control-height);padding:var(--preview-space-2) var(--preview-space-3)}.preview__hero_actions .preview__link>span{background:transparent;height:20px;width:20px}.preview__intro p{font-size:14px}.playground{background:transparent;border:0;gap:var(--preview-space-5);grid-template-columns:minmax(0,1fr);padding:0}.playground__stage{--preview-stage-height:clamp(300px,42vh,360px)}.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__stage .peek-carousel__controls{gap:6px}.playground__stage .peek-carousel__indicators{gap:6px;padding-left:var(--preview-space-2);padding-right:var(--preview-space-2)}.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:var(--preview-space-3)}.playground__layout_picker{grid-template-columns:repeat(4,minmax(0,1fr))}.playground__layout{font-size:12px;padding:10px}.playground__toggles{-moz-column-gap:18px;column-gap:18px;display:grid;grid-template-columns:minmax(0,1fr)}.playground__toggle{font-size:11px}.playground__options_content{gap:var(--preview-space-5);grid-template-columns:minmax(0,1fr)}.preview__usage{gap:var(--preview-space-6);grid-template-columns:1fr}.preview__code pre{font-size:12px;height:300px;padding:20px var(--preview-space-4)}.preview__code_heading{padding:var(--preview-space-4)}.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:0;margin-top:var(--preview-section-space);padding:0}.preview__section_intro{max-width:640px}.preview__section_intro h2{font-size:var(--preview-heading-size);font-weight:var(--preview-heading-weight);letter-spacing:var(--preview-heading-tracking);line-height:var(--preview-heading-leading);margin:var(--preview-space-4) 0}.preview__faq_answer,.preview__layout_grid p,.preview__section_intro>p:last-child,.preview__sources{color:var(--muted);font-size:var(--preview-body-size);line-height:var(--preview-body-leading)}.preview__section_intro>p:last-child{margin:0}.preview__layout_grid{display:grid;gap:var(--preview-space-5);grid-template-columns:repeat(4,minmax(0,1fr));margin-top:var(--preview-space-6)}.preview__layout_grid article{background:var(--preview-color-surface-subtle);border:1px solid transparent;border-radius:var(--preview-radius-surface);display:flex;flex-direction:column;min-width:0;padding:20px;transition:border-color .16s,background-color .16s}.preview__layout_grid article[data-current=true]{background:var(--preview-color-surface);border-color:var(--preview-color-control-border)}.preview__layouts>.preview__section_intro{align-items:end;display:grid;gap:var(--preview-space-3) var(--preview-space-7);grid-template-columns:minmax(0,1fr) minmax(0,.8fr);max-width:none}.preview__layouts>.preview__section_intro>.preview__eyebrow{grid-column:1/-1;margin:0}.preview__layouts>.preview__section_intro h2{margin:0;max-width:20ch}.preview__layouts>.preview__section_intro>p:last-child{max-width:48ch}.preview__layout_grid p{flex:1;margin:var(--preview-space-2) 0 var(--preview-space-3)}.preview__layout_art{align-items:center;background:#e4e8ef;border-radius:var(--preview-radius-control);display:flex;gap:var(--preview-space-1);justify-content:center;min-height:140px;position:relative;width:100%}.preview__layout_check{background:var(--accent);border-radius:50%;color:var(--preview-color-on-primary);height:22px;padding:var(--preview-space-1);position:absolute;right:10px;top:10px;visibility:hidden;width:22px}.preview__layout_grid [data-current=true] .preview__layout_check{visibility:visible}.preview__layout_art span{background:#cad9f9;border:2px solid #fff;border-radius:7px;box-shadow:0 4px 12px rgba(23,43,85,.08);flex-shrink:0;height:44px;width:28px}.preview__layout_art span:nth-child(2){background:var(--accent);z-index:1}.preview__layout_art[data-layout-art=stack] span:first-child{transform:translate(14px,5px) rotate(-12deg)}.preview__layout_art[data-layout-art=stack] span:last-child{transform:translate(-14px,5px) rotate(12deg)}.preview__layout_art[data-layout-art=radial] span:first-child{transform:perspective(140px) rotateY(-35deg) scale(.85)}.preview__layout_art[data-layout-art=radial] span:last-child{transform:perspective(140px) rotateY(35deg) scale(.85)}.preview__layout_art[data-layout-art=fan] span:first-child{transform:translateX(12px) rotate(-24deg);transform-origin:bottom right}.preview__layout_art[data-layout-art=fan] span:last-child{transform:translateX(-12px) rotate(24deg);transform-origin:bottom left}@media (max-width:1000px){.preview__layout_grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.preview__layout_grid h3{font-size:18px;font-weight:var(--preview-heading-weight);line-height:var(--preview-heading-leading);margin:var(--preview-space-5) 0 0}.preview__layout_grid code{align-self:flex-start;display:inline-block;font-size:11px;letter-spacing:normal;margin:0;max-width:100%;overflow-wrap:anywhere;padding:0}.preview__layout_try{align-items:center;align-self:stretch;background:var(--preview-color-surface);border:1px solid var(--preview-color-control-border);border-radius:var(--preview-radius-control);color:var(--ink);display:flex;font-size:13px;font-weight:600;gap:var(--preview-space-2);justify-content:space-between;line-height:1.5;margin-top:var(--preview-space-2);min-height:var(--preview-control-height);padding:var(--preview-space-3) var(--preview-space-4);text-decoration:none;transition:background-color .16s,border-color .16s,color .16s;width:100%}.preview__layout_try:focus-visible,.preview__layout_try:hover{background:var(--ink);border-color:var(--ink);color:var(--preview-color-on-primary)}.preview__layout_try[aria-current=true]{border-color:var(--ink)}.preview__layout_try[aria-current=true]:not(:hover):not(:focus-visible){background:var(--preview-color-surface-subtle)}.preview__layout_try:active{background:#2b3449;border-color:#2b3449;color:var(--preview-color-on-primary)}.preview__layout_try:focus-visible>span,.preview__layout_try:hover>span{transform:translateY(-2px)}.preview__sources a{align-items:center;color:var(--preview-color-selected-text);display:inline-flex;gap:var(--preview-space-2);min-height:var(--preview-control-min)}.preview__questions{align-items:start;display:grid;gap:0 64px;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);margin:var(--preview-section-space) 0}.preview__faq_list{margin:0}.preview__questions .preview__section_intro{position:sticky;top:24px}.preview__questions .preview__sources{grid-column:2;margin:var(--preview-space-5) 0 0}.preview__faq_list>details{background:var(--preview-color-surface);border:1px solid var(--preview-color-divider);border-radius:var(--preview-radius-surface);margin-bottom:var(--preview-space-3);padding:0 20px}.preview__faq_list summary{align-items:center;cursor:pointer;display:flex;font-size:15px;font-weight:600;gap:var(--preview-space-5);justify-content:space-between;line-height:1.6;list-style:none;min-height:var(--preview-control-primary);padding:var(--preview-space-4) 0}.preview__faq_answer{padding:0 0 var(--preview-space-5)}.preview__faq_list [open]>summary{padding-bottom:var(--preview-space-2)}.preview__faq_answer p{margin:0;max-width:62ch}.preview__faq_list summary::-webkit-details-marker{display:none}.preview__faq_list summary svg{color:var(--accent);flex-shrink:0}.preview__faq_list [open] summary svg{transform:rotate(45deg)}.preview__faq_list summary:hover{color:var(--accent)}.preview__questions a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.3em;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto}@media (max-width:720px){.preview__layouts{padding-top:0}.preview__layouts>.preview__section_intro{gap:var(--preview-space-4);grid-template-columns:minmax(0,1fr)}.preview__section_intro h2{font-size:28px}.preview__layout_grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preview__questions{gap:var(--preview-space-5);grid-template-columns:minmax(0,1fr);margin:var(--preview-section-space) 0}.preview__questions .preview__section_intro{position:static}.preview__questions .preview__sources{grid-column:1;margin-top:0}}@media (max-width:479px){.preview__layout_grid{grid-template-columns:minmax(0,1fr)}.playground__layout{font-size:12px;padding:10px var(--preview-space-1)}.preview__layout_grid article{padding:var(--preview-space-5)}.preview__layout_art span{height:36px;width:22px}}@media (max-width:359px){.playground__layout{font-size:11px}}@media (min-width:480px) and (max-width:1000px){.playground__layout_picker{grid-template-columns:repeat(4,minmax(0,1fr))}.playground__toggles{-moz-column-gap:var(--preview-space-5);column-gap:var(--preview-space-5);display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}.preview__copyright{color:var(--subtle);flex-basis:100%;font-size:11px;line-height:1.7}.preview__copyright a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.3em;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto}@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 var(--preview-space-2);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:var(--preview-focus-width) solid var(--preview-color-focus);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:var(--preview-focus-width) solid var(--preview-color-focus);outline-offset:var(--preview-focus-offset)}.preview .preview__code pre:focus{outline-color:#a8c3ff;outline-offset:-3px}.preview .preview__code_copy:focus,.preview .preview__code_tabs button:focus{outline-color:#a8c3ff;outline-offset:2px}}.preview button[data-copy-state=success]:enabled{background:var(--preview-color-selected-surface);border-color:#c4d0e7;color:var(--preview-color-selected-text)}.preview button[data-copy-state=fallback]:enabled{background:var(--preview-color-fallback-surface);border-color:var(--preview-color-fallback);color:var(--preview-color-fallback)}.preview__install_copy[data-copy-state=success]>svg{display:none}.preview__install_copy[data-copy-state=success]:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231c45b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7' viewBox='0 0 24 24'%3E%3Crect width='12' height='12' x='8' y='8' rx='2.5'/%3E%3Cpath d='M16 4H6a2 2 0 0 0-2 2v10m7-2 2 2 4-4'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:20px;content:"";height:20px;width:20px}.preview .preview__toast{align-items:center;background:var(--ink);border:1px solid #33425a;border-radius:var(--preview-radius-round);bottom:calc(24px + env(safe-area-inset-bottom, 0px));box-shadow:0 12px 36px rgba(12,20,36,.25);color:#f1f5ff;display:flex;font-size:13px;font-weight:var(--preview-secondary-weight);gap:var(--preview-space-3);justify-content:center;left:50%;line-height:1.6;margin:0;max-width:calc(100vw - 32px);min-height:56px;padding:14px 20px;pointer-events:none;position:fixed;text-align:left;transform:translateX(-50%);width:-moz-max-content;width:max-content;z-index:1000}.preview__toast_timer{display:block;fill:none;flex-shrink:0;height:24px;stroke-width:2;width:24px}.preview__toast_track{stroke:#445169}.preview__toast_progress{animation:preview-toast-countdown var(--preview-toast-duration) linear forwards;stroke:#c7d8ff;stroke-dasharray:56.55;stroke-dashoffset:0;stroke-linecap:round;transform:rotate(-90deg);transform-origin:center}.preview__toast[data-copy-state=pending] .preview__toast_timer{animation:preview-toast-waiting 1s linear infinite}.preview__toast[data-copy-state=pending] .preview__toast_progress{animation:none;stroke-dasharray:14 42.55}.preview__toast[data-copy-state=success] .preview__toast_progress{stroke:#97e3b9}.preview__toast[data-copy-state=fallback] .preview__toast_progress{stroke:#ffe0a8}.preview__toast_message{min-width:0}@keyframes preview-toast-countdown{to{stroke-dashoffset:56.55}}@keyframes preview-toast-waiting{to{transform:rotate(1turn)}}.preview .preview__toast:empty{border:0;box-shadow:none;min-height:0;padding:0}@media (prefers-reduced-motion:reduce){.preview .preview__toast_progress,.preview .preview__toast_timer,.preview__toast[data-copy-state=pending] .preview__toast_timer{animation:none}.preview a,.preview button,.preview summary,.preview__hero_action>svg,.preview__layout_try>span,.preview__link>span{transition:none}.preview a:focus-visible>span,.preview a:focus-visible>svg,.preview a:hover>span,.preview a:hover>svg{transform:none}}
|
package/examples/example.min.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! PeekCarousel v2.0.
|
|
1
|
+
/*! PeekCarousel v2.0.1
|
|
2
2
|
* Copyright (c) 2025 PeekCarousel
|
|
3
3
|
* Copyright (c) 2026 PeekCarousel contributors
|
|
4
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:"▱"},{value:"radial",name:"Radial",mark:"◉"},{value:"classic",name:"Classic",mark:"▤"},{value:"fan",name:"Fan shape",mark:"⤴"}];const o=["showNavigation","showCounter","showIndicators","showAutoRotateButton"],
|
|
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:"⤴"}];let r=null,o=0;function a(e){r?.status===e&&(window.clearTimeout(r.timer),r=null),e.textContent="",e.style.removeProperty("--preview-toast-duration")}function n(e,t,n,s){if(s!==o)return;r&&a(r.status);const l="pending"===n?0:"fallback"===n?8e3:4e3,c=document.createElement("span");c.className="preview__toast_message",c.textContent=t,e.style.setProperty("--preview-toast-duration",`${l}ms`),e.replaceChildren(function(){const e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.classList.add("preview__toast_timer"),t.setAttribute("viewBox","0 0 24 24"),t.setAttribute("width","24"),t.setAttribute("height","24"),t.setAttribute("aria-hidden","true"),t.setAttribute("focusable","false");for(const r of["preview__toast_track","preview__toast_progress"]){const o=document.createElementNS(e,"circle");o.setAttribute("class",r),o.setAttribute("cx","12"),o.setAttribute("cy","12"),o.setAttribute("r","9"),t.appendChild(o)}return t}(),c);const i={status:e,timer:0};r=i,"pending"!==n&&(i.timer=window.setTimeout(()=>{r===i&&a(e)},l))}function s(e,t,r){let s=!1,l=!1;r.classList.add("preview__toast"),r.setAttribute("aria-atomic","true"),e.disabled=!1;const c=t=>{e.dataset.copyState=t,r.dataset.copyState=t};c("idle");const i=()=>t instanceof HTMLTextAreaElement?t.value:t.textContent??"",u=async()=>{if(e.disabled)return;const u=i(),d=++o;l=!0,e.disabled=!0,e.setAttribute("aria-busy","true"),c("pending"),n(r,e.dataset.pending??"","pending",d);try{if(!navigator.clipboard?.writeText)throw new Error("Clipboard access is unavailable");await navigator.clipboard.writeText(u),s||u!==i()||(c("success"),n(r,e.dataset.success,"success",d))}catch{if(!s&&u===i()){if(c("fallback"),t.focus(),t instanceof HTMLTextAreaElement)t.select();else{const e=window.getSelection();if(e){const r=document.createRange();r.selectNodeContents(t),e.removeAllRanges(),e.addRange(r)}}n(r,e.dataset.fallback,"fallback",d)}}finally{l=!1,s||(e.disabled=!1,e.setAttribute("aria-busy","false"),"pending"===e.dataset.copyState&&(a(r),c("idle")))}};return e.addEventListener("click",u),{clear(){a(r),c(l?"pending":"idle")},destroy(){s=!0,e.disabled=!1,e.setAttribute("aria-busy","false"),c("idle"),a(r),e.removeEventListener("click",u)}}}const l=["showNavigation","showCounter","showIndicators","showAutoRotateButton"],c=t.map(e=>e.value);return e.initDemo=function(e){const r=function(){const e=document.getElementById("language-menu"),t=e.querySelector("summary"),r=r=>{e.open&&"Escape"===r.key&&(r.preventDefault(),e.open=!1,t.focus())},o=t=>{e.open&&!e.contains(t.target)&&(e.open=!1)};return e.addEventListener("keydown",r),document.addEventListener("pointerdown",o),{destroy(){e.removeEventListener("keydown",r),document.removeEventListener("pointerdown",o),e.open=!1}}}(),o=document.querySelector("#demo-carousel"),a=o.innerHTML,n=[],i=document.getElementById("starter-panel"),u=[...document.querySelectorAll("[data-code-format]")],d=s(document.getElementById("starter-copy"),i,document.getElementById("starter-copy-status")),m=s(document.getElementById("install-copy"),document.getElementById("install-command"),document.getElementById("install-copy-status"));let p,y,f="vanilla";function g(e,t,r){e&&(e.addEventListener(t,r),n.push(()=>e.removeEventListener(t,r)))}function v(r=!1){const n=p?.currentIndex??0,s=r&&p?.isAutoRotating||!1;y?.destroy(),p?.destroy(),o.innerHTML=a,o.classList.remove(...c.map(e=>`peek-carousel--${e}`));const i=document.querySelector('[data-layout][aria-pressed="true"]')?.dataset.layout??"stack",u=Object.fromEntries(l.map(e=>[e,document.getElementById(e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`))?.checked??!0]));p=new e(o,{...u,startIndex:n,layoutMode:i,autoRotate:s,autoRotateInterval:3e3,enableKeyboard:!1});const{nav:d}=p.elements;if(d){let{controls:e}=p.elements;e||(e=document.createElement("div"),e.className="peek-carousel__controls",o.appendChild(e),p.elements.controls=e),e.appendChild(d)}y=function(e){const{container:t,items:r,indicators:o}=e,a=JSON.parse(t.dataset.demoA11y),n=[];let s=!1;function l(e,t){return e.replace("{current}",t+1).replace("{total}",r.length)}function c(e,t,r){e&&e.getAttribute(t)!==r&&e.setAttribute(t,r)}function i(e,t,r){e.addEventListener(t,r),n.push(()=>e.removeEventListener(t,r))}function u(){const{currentIndex:n,isAutoRotating:s,counterElement:i}=e;for(let e=0;e<r.length;e++)c(r[e],"role","group"),c(r[e],"aria-roledescription",a.slide),c(r[e],"aria-label",l(a.position,e)),c(r[e],"aria-hidden",String(e!==n));for(let e=0;e<o.length;e++){const t=o[e];t.removeAttribute("role"),t.removeAttribute("aria-selected"),c(t,"aria-label",l(a.show,e)),c(t,"aria-pressed",String(e===n)),c(t,"tabindex","0")}const u=t.querySelector(".peek-carousel__indicators");c(u,"role","group"),c(u,"aria-label",a.choose),c(e.elements.prevBtn,"aria-label",a.previous),c(e.elements.nextBtn,"aria-label",a.next),c(i,"aria-live",s?"off":"polite"),c(e.elements.autoRotateBtn,"aria-label",s?a.stop:a.start)}function d(){e.stopAutoRotate(),u()}i(t,"pointerdown",t=>{s=t.target.closest("button")===e.elements.autoRotateBtn}),i(t,"pointerup",()=>{s=!1}),i(t,"focusin",t=>{t.target===e.elements.autoRotateBtn&&s||d()}),i(t,"pointerenter",d),i(document,"visibilitychange",()=>{document.hidden&&d()}),i(t,"click",u),i(t,"keydown",t=>{const r=o.indexOf(t.target);if(-1===r)return;const a={ArrowLeft:r-1,ArrowRight:r+1,Home:0,End:o.length-1};Object.prototype.hasOwnProperty.call(a,t.key)&&(t.preventDefault(),d(),e.goTo(a[t.key]),u(),o[e.currentIndex].focus())});const m=new MutationObserver(u);return m.observe(t,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["aria-current","aria-selected","aria-pressed"]}),u(),{sync:u,destroy(){m.disconnect();for(const e of n)e()}}}(p);const m=t.find(e=>e.value===i);document.querySelector("[data-layout-label]").textContent=`0${c.indexOf(i)+1} / ${m.name.toUpperCase()}`,document.querySelector("[data-layout-description]").textContent=document.querySelector(`[data-layout="${i}"]`).dataset.description,b(i);for(const e of document.querySelectorAll("[data-try-layout]")){const t=String(e.dataset.tryLayout===i);e.setAttribute("aria-current",t),e.closest("[data-layout-card]").dataset.current=t}}function b(e){document.querySelector("[data-demo-code]").textContent=function(e="stack",t="vanilla"){return"react"===t?["import {useEffect, useRef} from 'react';","import PeekCarousel from 'peek-carousel';","import 'peek-carousel/dist/peek-carousel.css';","","export function Gallery({images}) {"," const host = useRef(null);"," useEffect(() => {"," if (!host.current || images.length === 0) return;"," const carousel = new PeekCarousel(host.current, {",` layoutMode: '${e}',`," startIndex: 0,"," });"," return () => carousel.destroy();"," }, [images]);",""," // Set a height for .gallery-carousel in your stylesheet."," return (",' <div ref={host} className="peek-carousel gallery-carousel">',' <div className="peek-carousel__track">'," {images.map(({src, alt}) => (",' <div key={src} className="peek-carousel__item">',' <figure className="peek-carousel__figure">',' <img className="peek-carousel__image" src={src} alt={alt} />'," </figure>"," </div>"," ))}"," </div>"," </div>"," );","}"].join("\n"):"cdn"===t?["\x3c!-- Add the gallery markup and its height from the docs. --\x3e",'<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/peek-carousel@2.0.0/dist/peek-carousel.min.css">','<script src="https://cdn.jsdelivr.net/npm/peek-carousel@2.0.0/dist/peek-carousel.js"><\/script>',"<script>"," new PeekCarousel('#gallery-carousel', {",` layoutMode: '${e}',`," startIndex: 0,"," });","<\/script>"].join("\n"):`import PeekCarousel from 'peek-carousel';\nimport 'peek-carousel/dist/peek-carousel.css';\n\nnew PeekCarousel('#gallery-carousel', {\n layoutMode: '${e}',\n startIndex: 0,\n});`}(e,f),document.querySelector("[data-code-filename]").textContent={vanilla:"gallery.js",react:"gallery.jsx",cdn:"index.html"}[f],d.clear()}for(const e of u)e.disabled=!1,g(e,"click",()=>{f=e.dataset.codeFormat;for(const t of u){const r=t===e;t.setAttribute("aria-selected",String(r)),t.tabIndex=r?0:-1}i.setAttribute("aria-labelledby",e.id);b(document.querySelector('[data-layout][aria-pressed="true"]').dataset.layout)}),g(e,"keydown",t=>{const r=u.indexOf(e),o={ArrowRight:(r+1)%u.length,ArrowLeft:(r+u.length-1)%u.length,Home:0,End:u.length-1};if(!Object.prototype.hasOwnProperty.call(o,t.key))return;t.preventDefault();const a=u[o[t.key]];a.click(),a.focus({preventScroll:!0})});for(const e of document.querySelectorAll("[data-layout]"))e.disabled=!1,g(e,"click",()=>{for(const t of document.querySelectorAll("[data-layout]")){const r=e===t;t.setAttribute("aria-pressed",String(r))}v(!0)});for(const e of l)g(document.getElementById(e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)),"change",()=>v(!0));for(const e of document.querySelectorAll("[data-try-layout]"))g(e,"click",t=>{t.preventDefault(),document.querySelector(`[data-layout="${e.dataset.tryLayout}"]`).click(),document.getElementById("playground-stage").scrollIntoView({block:"start"}),o.focus({preventScroll:!0})});return g(o,"keydown",e=>{if(e.target!==o)return;const t={ArrowLeft:p.currentIndex-1,ArrowRight:p.currentIndex+1,Home:0,End:p.totalItems-1};" "===e.key?(e.preventDefault(),p.toggleAutoRotate(),y.sync()):Object.prototype.hasOwnProperty.call(t,e.key)&&(e.preventDefault(),p.stopAutoRotate(),p.goTo(t[e.key]),y.sync())}),v(),{get carousel(){return p},destroy(){r.destroy(),d.destroy(),m.destroy(),y.destroy();for(const e of n)e();p.destroy()}}},Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),e}({});PeekCarouselDemo.initDemo(PeekCarousel);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "peek-carousel",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
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
6
|
"main": "dist/peek-carousel.cjs",
|
|
@@ -52,13 +52,19 @@
|
|
|
52
52
|
"COPYRIGHT.md",
|
|
53
53
|
"schemas/peek-carousel.schema.json",
|
|
54
54
|
"public/fonts/inter-latin.css",
|
|
55
|
+
"public/peek-mark.svg",
|
|
56
|
+
"public/favicon.ico",
|
|
57
|
+
"public/favicon-16x16.png",
|
|
58
|
+
"public/favicon-32x32.png",
|
|
55
59
|
"public/fonts/inter-latin.woff2",
|
|
56
60
|
"public/fonts/OFL.txt",
|
|
57
61
|
"public/fonts/noto-sans-ja.css",
|
|
58
62
|
"public/fonts/noto-sans-ja.woff2",
|
|
59
|
-
"public/fonts/noto-sans-
|
|
60
|
-
"public/fonts/
|
|
61
|
-
"public/fonts/
|
|
63
|
+
"public/fonts/noto-sans-ja-bold.woff2",
|
|
64
|
+
"public/fonts/peek-preview-kr.css",
|
|
65
|
+
"public/fonts/peek-preview-kr.woff2",
|
|
66
|
+
"public/fonts/OFL-noto.txt",
|
|
67
|
+
"public/fonts/OFL-pretendard.txt"
|
|
62
68
|
],
|
|
63
69
|
"scripts": {
|
|
64
70
|
"dev": "vite",
|
|
@@ -129,9 +135,9 @@
|
|
|
129
135
|
"author": "PeekCarousel contributors",
|
|
130
136
|
"license": "SEE LICENSE IN LICENSE",
|
|
131
137
|
"bugs": {
|
|
132
|
-
"url": "https://github.com/lledellebell/peek-carousel/issues"
|
|
138
|
+
"url": "https://github.com/lledellebell/peek-carousel-docs/issues"
|
|
133
139
|
},
|
|
134
|
-
"homepage": "https://github.com/lledellebell/peek-carousel#readme",
|
|
140
|
+
"homepage": "https://github.com/lledellebell/peek-carousel-docs#readme",
|
|
135
141
|
"engines": {
|
|
136
142
|
"node": "^22.23.5 || ^24.22.3 || ^26.13.1"
|
|
137
143
|
},
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
Copyright (c) 2021, Kil Hyung-jin (https://github.com/orioncactus/pretendard),
|
|
2
|
+
with Reserved Font Name Pretendard.
|
|
3
|
+
|
|
4
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
5
|
+
This license is copied below, and is also available with a FAQ at:
|
|
6
|
+
https://scripts.sil.org/OFL
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
-----------------------------------------------------------
|
|
10
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
11
|
+
-----------------------------------------------------------
|
|
12
|
+
|
|
13
|
+
PREAMBLE
|
|
14
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
15
|
+
development of collaborative font projects, to support the font creation
|
|
16
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
17
|
+
open framework in which fonts may be shared and improved in partnership
|
|
18
|
+
with others.
|
|
19
|
+
|
|
20
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
21
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
22
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
23
|
+
redistributed and/or sold with any software provided that any reserved
|
|
24
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
25
|
+
however, cannot be released under any other type of license. The
|
|
26
|
+
requirement for fonts to remain under this license does not apply
|
|
27
|
+
to any document created using the fonts or their derivatives.
|
|
28
|
+
|
|
29
|
+
DEFINITIONS
|
|
30
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
31
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
32
|
+
include source files, build scripts and documentation.
|
|
33
|
+
|
|
34
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
35
|
+
copyright statement(s).
|
|
36
|
+
|
|
37
|
+
"Original Version" refers to the collection of Font Software components as
|
|
38
|
+
distributed by the Copyright Holder(s).
|
|
39
|
+
|
|
40
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
41
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
42
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
43
|
+
new environment.
|
|
44
|
+
|
|
45
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
46
|
+
writer or other person who contributed to the Font Software.
|
|
47
|
+
|
|
48
|
+
PERMISSION & CONDITIONS
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
50
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
51
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
52
|
+
Software, subject to the following conditions:
|
|
53
|
+
|
|
54
|
+
1) Neither the Font Software nor any of its individual components,
|
|
55
|
+
in Original or Modified Versions, may be sold by itself.
|
|
56
|
+
|
|
57
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
58
|
+
redistributed and/or sold with any software, provided that each copy
|
|
59
|
+
contains the above copyright notice and this license. These can be
|
|
60
|
+
included either as stand-alone text files, human-readable headers or
|
|
61
|
+
in the appropriate machine-readable metadata fields within text or
|
|
62
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
63
|
+
|
|
64
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
65
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
66
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
67
|
+
presented to the users.
|
|
68
|
+
|
|
69
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
70
|
+
Software shall not be used to promote, endorse or advertise any
|
|
71
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
72
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
73
|
+
permission.
|
|
74
|
+
|
|
75
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
76
|
+
must be distributed entirely under this license, and must not be
|
|
77
|
+
distributed under any other license. The requirement for fonts to
|
|
78
|
+
remain under this license does not apply to any document created
|
|
79
|
+
using the Font Software.
|
|
80
|
+
|
|
81
|
+
TERMINATION
|
|
82
|
+
This license becomes null and void if any of the above conditions are
|
|
83
|
+
not met.
|
|
84
|
+
|
|
85
|
+
DISCLAIMER
|
|
86
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
87
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
88
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
89
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
90
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
91
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
92
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
93
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
94
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* Noto Sans JP; SIL OFL 1.1. See OFL-noto.txt. */
|
|
1
|
+
/* Noto Sans JP horizontal text subsets; SIL OFL 1.1. See OFL-noto.txt. */
|
|
2
2
|
@font-face {
|
|
3
3
|
font-family: 'Noto Sans JP';
|
|
4
4
|
font-style: normal;
|
|
5
|
-
font-weight:
|
|
5
|
+
font-weight: 400;
|
|
6
6
|
font-display: swap;
|
|
7
7
|
src: url('./noto-sans-ja.woff2') format('woff2');
|
|
8
8
|
unicode-range:
|
|
@@ -44,3 +44,27 @@
|
|
|
44
44
|
U+958b, U+9593, U+96a3, U+96e2, U+9727, U+9752, U+9759, U+98a8, U+9a13,
|
|
45
45
|
U+ad6d, U+c5b4, U+d55c, U+ff1f;
|
|
46
46
|
}
|
|
47
|
+
|
|
48
|
+
@font-face {
|
|
49
|
+
font-family: 'Noto Sans JP';
|
|
50
|
+
font-style: normal;
|
|
51
|
+
font-weight: 700;
|
|
52
|
+
font-display: swap;
|
|
53
|
+
src: url('./noto-sans-ja-bold.woff2') format('woff2');
|
|
54
|
+
unicode-range:
|
|
55
|
+
U+2197, U+3001, U+3002, U+3042, U+3044, U+3046, U+3048, U+304b, U+304c,
|
|
56
|
+
U+304d, U+304f, U+3050, U+3051, U+3053, U+3055, U+3057, U+3059, U+305b,
|
|
57
|
+
U+305f, U+3060, U+3061, U+3063, U+3064, U+3066, U+3067, U+3068, U+3069,
|
|
58
|
+
U+306a, U+306b, U+306e, U+306f, U+3072, U+3078, U+307e, U+3081, U+3082,
|
|
59
|
+
U+3084, U+3086, U+3088, U+3089, U+308a, U+308b, U+308c, U+308d, U+3092,
|
|
60
|
+
U+3093, U+30a2, U+30a4, U+30a6, U+30a7, U+30ab, U+30ad, U+30af, U+30b3,
|
|
61
|
+
U+30b8, U+30b9, U+30ba, U+30bb, U+30bf, U+30c6, U+30c7, U+30c8, U+30c9,
|
|
62
|
+
U+30d3, U+30d4, U+30d5, U+30d7, U+30de, U+30e0, U+30e1, U+30e2, U+30e5,
|
|
63
|
+
U+30eb, U+30ec, U+30ed, U+30ef, U+30f3, U+30fb, U+30fc, U+4f53, U+4f5c,
|
|
64
|
+
U+4f7f, U+518d, U+5206, U+5207, U+5229, U+52b9, U+53cb, U+53ef, U+5411,
|
|
65
|
+
U+5546, U+554f, U+5927, U+5b9a, U+5bfe, U+5e83, U+5fc5, U+5fdc, U+6027,
|
|
66
|
+
U+60c5, U+629e, U+64cd, U+6570, U+65e5, U+672c, U+6b21, U+6d41, U+7121,
|
|
67
|
+
U+751f, U+7528, U+76ee, U+80fd, U+81ea, U+884c, U+8868, U+8981, U+898b,
|
|
68
|
+
U+8a2d, U+8a66, U+8a9e, U+8aad, U+8cea, U+9060, U+9078, U+9752, U+9759,
|
|
69
|
+
U+9a13, U+ad6d, U+c5b4, U+d55c, U+ff1f;
|
|
70
|
+
}
|
|
Binary file
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*
|
|
1
|
+
/* Pretendard-derived Korean subset, renamed under OFL 1.1. */
|
|
2
2
|
@font-face {
|
|
3
|
-
font-family: '
|
|
3
|
+
font-family: 'Peek Preview KR';
|
|
4
4
|
font-style: normal;
|
|
5
|
-
font-weight: 400
|
|
5
|
+
font-weight: 400 750;
|
|
6
6
|
font-display: swap;
|
|
7
|
-
src: url('./
|
|
7
|
+
src: url('./peek-preview-kr.woff2') format('woff2');
|
|
8
8
|
unicode-range:
|
|
9
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
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,
|
|
Binary file
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none" color="#2458e8">
|
|
2
|
+
<rect x="6" y="15" width="32" height="40" rx="7" transform="rotate(-12 22 35)" stroke="currentColor" stroke-width="3"/>
|
|
3
|
+
<rect x="24" y="7" width="32" height="44" rx="7" fill="currentColor"/>
|
|
4
|
+
<path d="M47 17v24" stroke="white" stroke-width="3" stroke-linecap="round"/>
|
|
5
|
+
</svg>
|
|
Binary file
|