@editora/ui-react 0.1.26 → 0.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui-react.css +1 -1
- package/package.json +2 -2
package/dist/ui-react.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--et-bg: #FFFFFF;--et-bg-subtle: #FAFAF9;--et-border: rgba(0,0,0,.08);--et-border-strong: rgba(0,0,0,.14);--et-text: #1C1917;--et-text-muted: #78716C;--et-text-inverse: #FAFAF9;--et-info: #2563EB;--et-success: #16A34A;--et-error: #DC2626;--et-warning: #D97706;--et-loading: #6366F1;--et-promise: #7C3AED;--et-info-tint: rgba(37,99,235,.06);--et-info-ring: rgba(37,99,235,.18);--et-success-tint: rgba(22,163,74,.06);--et-success-ring: rgba(22,163,74,.18);--et-error-tint: rgba(220,38,38,.06);--et-error-ring: rgba(220,38,38,.18);--et-warning-tint: rgba(217,119,6,.06);--et-warning-ring: rgba(217,119,6,.18);--et-loading-tint: rgba(99,102,241,.06);--et-loading-ring: rgba(99,102,241,.18);--et-promise-tint: rgba(124,58,237,.06);--et-promise-ring: rgba(124,58,237,.18);--et-radius: 12px;--et-radius-sm: 7px;--et-width: 360px;--et-offset: 20px;--et-gap: 8px;--et-z: 2147483647;--et-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.06);--et-dur-enter: .28s;--et-dur-exit: .2s;--et-ease-enter: cubic-bezier(.16,1,.3,1);--et-ease-exit: cubic-bezier(.4,0,1,1);--et-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--et-font-size-title: 13.5px;--et-font-size-body: 13px;--et-font-size-desc: 12px;--et-font-size-action: 12px;--editora-toast-bg: var(--et-bg);--editora-toast-color: var(--et-text);--editora-toast-muted-color: var(--et-text-muted);--editora-toast-border: var(--et-border);--editora-toast-shadow: var(--et-shadow);--editora-toast-border-radius: var(--et-radius);--editora-toast-font-family: var(--et-font);--editora-toast-font-size: var(--et-font-size-body);--editora-toast-padding: 14px 16px;--editora-toast-gap: var(--et-gap);--editora-toast-z-index: var(--et-z);--editora-toast-width: var(--et-width);--editora-toast-offset: var(--et-offset);--editora-toast-mobile-offset: 12px}@media(prefers-color-scheme:dark){:root{--et-bg: #1C1917;--et-bg-subtle: #292524;--et-border: rgba(255,255,255,.08);--et-border-strong: rgba(255,255,255,.14);--et-text: #F5F5F4;--et-text-muted: #A8A29E;--et-shadow: 0 1px 3px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06);--et-info-tint: rgba(59,130,246,.12);--et-info-ring: rgba(59,130,246,.25);--et-success-tint: rgba(34,197,94,.1);--et-success-ring: rgba(34,197,94,.22);--et-error-tint: rgba(248,113,113,.1);--et-error-ring: rgba(248,113,113,.22);--et-warning-tint: rgba(251,191,36,.1);--et-warning-ring: rgba(251,191,36,.2);--et-loading-tint: rgba(129,140,248,.1);--et-loading-ring: rgba(129,140,248,.22);--et-promise-tint: rgba(167,139,250,.1);--et-promise-ring: rgba(167,139,250,.22);--editora-toast-bg: var(--et-bg);--editora-toast-color: var(--et-text);--editora-toast-muted-color: var(--et-text-muted);--editora-toast-border: var(--et-border);--editora-toast-shadow: var(--et-shadow)}}.editora-toast-container{position:fixed;z-index:var(--et-z);display:flex;flex-direction:column;gap:var(--et-gap);pointer-events:none;max-width:100%;box-sizing:border-box}.editora-toast-top-left{top:var(--et-offset);left:var(--et-offset)}.editora-toast-top-center{top:var(--et-offset);left:50%;transform:translate(-50%)}.editora-toast-top-right{top:var(--et-offset);right:var(--et-offset)}.editora-toast-bottom-left{bottom:var(--et-offset);left:var(--et-offset)}.editora-toast-bottom-center{bottom:var(--et-offset);left:50%;transform:translate(-50%)}.editora-toast-bottom-right{bottom:var(--et-offset);right:var(--et-offset)}.editora-toast-center{top:50%;left:50%;transform:translate(-50%,-50%);align-items:center}[dir=rtl] .editora-toast-container,.editora-toast-container[data-rtl=true]{direction:rtl}[dir=rtl] .editora-toast,.editora-toast[data-rtl=true]{direction:rtl;text-align:right}[dir=rtl] .editora-toast-actions,.editora-toast-actions[data-rtl=true]{direction:rtl;flex-direction:row-reverse}.editora-toast{position:relative;width:var(--et-width);min-width:240px;max-width:calc(100vw - 32px);background:var(--et-bg);color:var(--et-text);padding:14px 44px 14px 16px;border-radius:var(--et-radius);box-shadow:var(--et-shadow);font-family:var(--et-font);font-size:var(--et-font-size-body);line-height:1.45;pointer-events:auto;touch-action:none;overflow:hidden;outline:none;box-sizing:border-box;opacity:0;transform:translateY(6px) scale(.97);transition:opacity var(--et-dur-exit) var(--et-ease-exit),transform var(--et-dur-exit) var(--et-ease-exit),box-shadow .2s ease}.editora-toast.show{opacity:1;transform:translateY(0) scale(1);transition:opacity var(--et-dur-enter) var(--et-ease-enter),transform var(--et-dur-enter) var(--et-ease-enter);animation:et-enter var(--et-dur-enter) var(--et-ease-enter) both}.editora-toast.hiding{opacity:0;transform:translateY(-6px) scale(.96);transition:opacity var(--et-dur-exit) var(--et-ease-exit),transform var(--et-dur-exit) var(--et-ease-exit)}.editora-toast:hover{box-shadow:0 2px 4px #0000000f,0 8px 20px #0000001f,0 0 0 1px #0000000f}.editora-toast.spring-animation{transition:none!important;animation:none!important}.editora-toast-info{background:var(--et-info-tint);border:1px solid var(--et-info-ring);box-shadow:0 0 0 4px var(--et-info-tint),var(--et-shadow);color:var(--et-text)}.editora-toast-info:before{background:var(--et-info)}.editora-toast-success{background:var(--et-success-tint);border:1px solid var(--et-success-ring);box-shadow:0 0 0 4px var(--et-success-tint),var(--et-shadow);color:var(--et-text)}.editora-toast-success:before{background:var(--et-success)}.editora-toast-error{background:var(--et-error-tint);border:1px solid var(--et-error-ring);box-shadow:0 0 0 4px var(--et-error-tint),var(--et-shadow);color:var(--et-text)}.editora-toast-error:before{background:var(--et-error)}.editora-toast-warning{background:var(--et-warning-tint);border:1px solid var(--et-warning-ring);box-shadow:0 0 0 4px var(--et-warning-tint),var(--et-shadow);color:var(--et-text)}.editora-toast-warning:before{background:var(--et-warning)}.editora-toast-loading,.editora-toast-promise{background:var(--et-loading-tint);border:1px solid var(--et-loading-ring);box-shadow:0 0 0 4px var(--et-loading-tint),var(--et-shadow);color:var(--et-text)}.editora-toast-loading:before,.editora-toast-promise:before{background:var(--et-loading)}.editora-toast-info:before,.editora-toast-success:before,.editora-toast-error:before,.editora-toast-warning:before,.editora-toast-loading:before,.editora-toast-promise:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;border-radius:var(--et-radius) 0 0 var(--et-radius)}.editora-toast-content{display:flex;align-items:flex-start;gap:10px;min-height:20px}.editora-toast-icon{flex-shrink:0;font-size:15px;line-height:1;margin-top:1px;display:flex;align-items:center;justify-content:center;width:18px;height:18px}.editora-toast-body{flex:1;min-width:0}.editora-toast-title{font-size:var(--et-font-size-title);font-weight:600;letter-spacing:-.01em;line-height:1.3;margin:0;color:var(--et-text)!important}.editora-toast-message{flex:1;line-height:1.45;word-wrap:break-word;overflow-wrap:anywhere;color:var(--et-text)!important}.editora-toast-title+.editora-toast-message,.editora-toast-title+.editora-toast-description,.editora-toast-message+.editora-toast-description{margin-top:2px}.editora-toast-description{color:var(--et-text-muted)!important;font-size:var(--et-font-size-desc);line-height:1.45;overflow-wrap:anywhere;margin-top:2px}.editora-toast-actions{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap;justify-content:flex-end}.editora-toast-action{height:28px;padding:0 11px;border:1px solid var(--et-border-strong);background:var(--et-bg);color:var(--et-text);border-radius:var(--et-radius-sm);font-size:var(--et-font-size-action);font-weight:500;font-family:var(--et-font);cursor:pointer;letter-spacing:.01em;transition:background .15s ease,border-color .15s ease,transform .1s ease,box-shadow .15s ease;white-space:nowrap;display:inline-flex;align-items:center;line-height:1}.editora-toast-action:hover{background:var(--et-bg-subtle);border-color:var(--et-border-strong);box-shadow:0 1px 3px #0000000f}.editora-toast-action:active{transform:scale(.97)}.editora-toast-action.primary{background:var(--et-text);border-color:var(--et-text);color:var(--et-text-inverse)}.editora-toast-action.primary:hover{opacity:.88;background:var(--et-text)}.editora-toast-close{position:absolute;top:10px;right:10px;width:22px;height:22px;border:1px solid transparent;background:transparent;color:var(--et-text-muted);cursor:pointer;font-size:14px;line-height:1;opacity:0;transform:scale(.85);transition:opacity .18s ease,transform .18s var(--et-ease-enter),background .15s ease,border-color .15s ease,color .15s ease;display:flex;align-items:center;justify-content:center;border-radius:6px;z-index:1}.editora-toast:hover .editora-toast-close,.editora-toast:focus-within .editora-toast-close,.editora-toast-close:focus{opacity:1;transform:scale(1)}@media(hover:none){.editora-toast-close{opacity:1;transform:scale(1)}}.editora-toast-close:hover{background:var(--et-border);border-color:var(--et-border-strong);color:var(--et-text)}.editora-toast-close:active{transform:scale(.92)}.editora-toast-progress{position:absolute;bottom:0;left:0;right:0;height:2px;background:transparent;overflow:hidden;border-radius:0 0 var(--et-radius) var(--et-radius)}.editora-toast-progress-bar{height:100%;background:currentColor;opacity:.35;transition:width .25s linear;position:relative}.editora-toast-progress-bar:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.5) 50%,transparent 100%);animation:et-sheen 1.8s ease-in-out infinite}.editora-toast-progress-text{position:absolute;top:-16px;right:4px;font-size:11px;color:inherit;opacity:.7;font-variant-numeric:tabular-nums}.editora-toast-spinner{display:inline-block;width:14px;height:14px;border:1.5px solid var(--et-border-strong);border-radius:50%;border-top-color:var(--et-loading);animation:et-spin .7s linear infinite;flex-shrink:0}.editora-toast-group{margin-bottom:4px}.editora-toast-group-header{font-size:10px;font-weight:600;opacity:.55;margin-bottom:4px;text-transform:uppercase;letter-spacing:.06em}.editora-toast-group-collapsed{max-height:40px;overflow:hidden}.editora-toast-container[data-stack=true][data-expand=false]{gap:0}.editora-toast-container[data-stack=true][data-expand=false] .editora-toast:not([data-front=true]){margin-top:calc(var(--et-gap) * -1);transform:translateY(calc(var(--editora-toast-before, 0) * -7px)) scale(calc(1 - (var(--editora-toast-before, 0) * .04)));box-shadow:0 1px 2px #0000000a,0 3px 10px #00000012,0 0 0 1px #0000000d;filter:brightness(.97);transition:transform .25s var(--et-ease-enter),filter .25s ease}.editora-toast-container[data-stack=true][data-expand=false]:hover,.editora-toast-container[data-stack=true][data-expand=false]:focus-within,.editora-toast-container[data-expand=true]{gap:var(--et-gap)}.editora-toast-container[data-stack=true][data-expand=false]:hover .editora-toast,.editora-toast-container[data-stack=true][data-expand=false]:focus-within .editora-toast,.editora-toast-container[data-expand=true] .editora-toast{margin-top:0;transform:translateY(0) scale(1);filter:none}@keyframes et-enter{0%{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes et-spin{to{transform:rotate(360deg)}}@keyframes et-sheen{0%{transform:translate(-100%)}to{transform:translate(400%)}}.editora-toast[data-theme=light]{--et-bg: #FFFFFF;--et-bg-subtle: #FAFAF9;--et-text: #1C1917;--et-text-muted: #78716C;--et-text-inverse: #FAFAF9;--et-border: rgba(0,0,0,.08);--et-border-strong: rgba(0,0,0,.14);--et-shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.06);--et-info-tint: rgba(37,99,235,.06);--et-info-ring: rgba(37,99,235,.18);--et-success-tint: rgba(22,163,74,.06);--et-success-ring: rgba(22,163,74,.18);--et-error-tint: rgba(220,38,38,.06);--et-error-ring: rgba(220,38,38,.18);--et-warning-tint: rgba(217,119,6,.06);--et-warning-ring: rgba(217,119,6,.18);--et-loading-tint: rgba(99,102,241,.06);--et-loading-ring: rgba(99,102,241,.18)}.editora-toast[data-theme=dark]{--et-bg: #FFFFFF;--et-bg-subtle: #FAFAF9;--et-text: #1C1917;--et-text-muted: #78716C;--et-text-inverse: #FAFAF9;--et-border: rgba(255,255,255,.08);--et-border-strong: rgba(255,255,255,.14);--et-shadow: 0 1px 3px rgba(0,0,0,.3), 0 6px 20px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06);--et-info-tint: rgba(59,130,246,.14);--et-info-ring: rgba(59,130,246,.3);--et-success-tint: rgba(34,197,94,.12);--et-success-ring: rgba(34,197,94,.28);--et-error-tint: rgba(248,113,113,.12);--et-error-ring: rgba(248,113,113,.28);--et-warning-tint: rgba(251,191,36,.12);--et-warning-ring: rgba(251,191,36,.26);--et-loading-tint: rgba(129,140,248,.12);--et-loading-ring: rgba(129,140,248,.28);--et-promise-tint: rgba(167,139,250,.12);--et-promise-ring: rgba(167,139,250,.28)}.editora-toast[data-theme=minimal]{--et-bg: #FFFFFF;--et-bg-subtle: #F9F9F8;--et-text: #1C1917;--et-text-muted: #78716C;--et-text-inverse: #FAFAF9;--et-border: rgba(0,0,0,.1);--et-border-strong: rgba(0,0,0,.18);background:var(--et-bg)!important;border:1px solid var(--et-border-strong)!important;box-shadow:0 1px 4px #0000000f!important;border-radius:6px!important}.editora-toast[data-theme=minimal]:before{display:none!important}.editora-toast[data-theme=minimal].editora-toast-info{background:#fff!important;border-left:3px solid var(--et-info)!important}.editora-toast[data-theme=minimal].editora-toast-success{background:#fff!important;border-left:3px solid var(--et-success)!important}.editora-toast[data-theme=minimal].editora-toast-error{background:#fff!important;border-left:3px solid var(--et-error)!important}.editora-toast[data-theme=minimal].editora-toast-warning{background:#fff!important;border-left:3px solid var(--et-warning)!important}.editora-toast[data-theme=minimal].editora-toast-loading,.editora-toast[data-theme=minimal].editora-toast-promise{background:#fff!important;border-left:3px solid var(--et-loading)!important}.editora-toast[data-theme=colored]{--et-text: #FFFFFF;--et-text-muted: rgba(255,255,255,.8);--et-text-inverse: #1C1917;--et-bg: rgba(255,255,255,.15);--et-bg-subtle: rgba(255,255,255,.22);--et-border: rgba(255,255,255,.2);--et-border-strong: rgba(255,255,255,.32)}.editora-toast[data-theme=colored]:before{display:none!important}.editora-toast[data-theme=colored].editora-toast-info{background:var(--et-info)!important;border:none!important;box-shadow:0 4px 14px #2563eb66!important;color:#fff!important}.editora-toast[data-theme=colored].editora-toast-success{background:var(--et-success)!important;border:none!important;box-shadow:0 4px 14px #16a34a66!important}.editora-toast[data-theme=colored].editora-toast-error{background:var(--et-error)!important;border:none!important;box-shadow:0 4px 14px #dc262666!important;color:#fff!important}.editora-toast[data-theme=colored].editora-toast-warning{background:var(--et-warning)!important;border:none!important;box-shadow:0 4px 14px #d9770666!important;color:#fff!important}.editora-toast[data-theme=colored].editora-toast-loading,.editora-toast[data-theme=colored].editora-toast-promise{background:var(--et-loading)!important;border:none!important;box-shadow:0 4px 14px #6366f166!important;color:#fff!important}.editora-toast[data-theme=glass]{--et-text: #1C1917;--et-text-muted: rgba(255,255,255,.72);--et-text-inverse: #1C1917;--et-bg: rgba(255,255,255,.15);--et-bg-subtle: rgba(255,255,255,.22);--et-border: rgba(255,255,255,.2);--et-border-strong: rgba(255,255,255,.32);background:#ffffff1f!important;backdrop-filter:blur(24px) saturate(180%)!important;-webkit-backdrop-filter:blur(24px) saturate(180%)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;box-shadow:0 8px 32px #00000040,inset 0 1px #ffffff2e!important;--et-info-tint: rgba(255,255,255,.04);--et-info-ring: rgba(255,255,255,.18);--et-success-tint: rgba(255,255,255,.04);--et-success-ring: rgba(255,255,255,.18);--et-error-tint: rgba(255,255,255,.04);--et-error-ring: rgba(255,255,255,.18);--et-warning-tint: rgba(255,255,255,.04);--et-warning-ring: rgba(255,255,255,.18);--et-loading-tint: rgba(255,255,255,.04);--et-loading-ring: rgba(255,255,255,.18)}.editora-toast[data-theme=glass].editora-toast-info,.editora-toast[data-theme=glass].editora-toast-success,.editora-toast[data-theme=glass].editora-toast-error,.editora-toast[data-theme=glass].editora-toast-warning,.editora-toast[data-theme=glass].editora-toast-loading,.editora-toast[data-theme=glass].editora-toast-promise{background:#ffffff1f!important;border:1px solid rgba(255,255,255,.22)!important}.editora-toast[data-theme=glass].editora-toast-info:before{background:#60a5fa}.editora-toast[data-theme=glass].editora-toast-success:before{background:#4ade80}.editora-toast[data-theme=glass].editora-toast-error:before{background:#f87171}.editora-toast[data-theme=glass].editora-toast-warning:before{background:#fbbf24}.editora-toast[data-theme=glass].editora-toast-loading:before,.editora-toast[data-theme=glass].editora-toast-promise:before{background:#818cf8}.editora-toast[data-theme=neon]{--et-text: #09090B;--et-text-muted: #A1A1AA;--et-text-inverse: #09090B;--et-bg: #09090B;--et-bg-subtle: #18181B;--et-border: rgba(255,255,255,.06);--et-border-strong: rgba(255,255,255,.16);background:#09090b!important;color:#e4e4e7!important;border:1px solid rgba(255,255,255,.06)!important;--et-info-tint: rgba(56,189,248,.08);--et-info-ring: rgba(56,189,248,.22);--et-success-tint: rgba(74,222,128,.08);--et-success-ring: rgba(74,222,128,.22);--et-error-tint: rgba(248,113,113,.08);--et-error-ring: rgba(248,113,113,.22);--et-warning-tint: rgba(251,191,36,.08);--et-warning-ring: rgba(251,191,36,.2);--et-loading-tint: rgba(129,140,248,.08);--et-loading-ring: rgba(129,140,248,.22)}.editora-toast[data-theme=neon]:before{display:none!important}.editora-toast[data-theme=neon].editora-toast-info{background:var(--et-info-tint)!important;border:1px solid #38bdf8!important;box-shadow:0 0 18px #38bdf838,0 4px 12px #00000080!important}.editora-toast[data-theme=neon].editora-toast-success{background:var(--et-success-tint)!important;border:1px solid #4ade80!important;box-shadow:0 0 18px #4ade8038,0 4px 12px #00000080!important}.editora-toast[data-theme=neon].editora-toast-error{background:var(--et-error-tint)!important;border:1px solid #f87171!important;box-shadow:0 0 18px #f8717138,0 4px 12px #00000080!important}.editora-toast[data-theme=neon].editora-toast-warning{background:var(--et-warning-tint)!important;border:1px solid #fbbf24!important;box-shadow:0 0 18px #fbbf2438,0 4px 12px #00000080!important}.editora-toast[data-theme=neon].editora-toast-loading,.editora-toast[data-theme=neon].editora-toast-promise{background:var(--et-loading-tint)!important;border:1px solid #818cf8!important;box-shadow:0 0 18px #818cf838,0 4px 12px #00000080!important}.editora-toast[data-theme=ocean]{--et-text: #E0F2FE;--et-text-muted: rgba(224,242,254,.72);--et-text-inverse: #0f2942;--et-bg: #0f2942;--et-bg-subtle: #1a3d5c;--et-border: rgba(186,230,253,.18);--et-border-strong: rgba(186,230,253,.3);--et-info-tint: rgba(56,189,248,.12);--et-info-ring: rgba(56,189,248,.3);--et-success-tint: rgba(52,211,153,.12);--et-success-ring: rgba(52,211,153,.3);--et-error-tint: rgba(251,113,133,.12);--et-error-ring: rgba(251,113,133,.28);--et-warning-tint: rgba(251,191,36,.1);--et-warning-ring: rgba(251,191,36,.26);--et-loading-tint: rgba(129,140,248,.12);--et-loading-ring: rgba(129,140,248,.28);background:linear-gradient(135deg,#0f2942,#1a3d5c)!important;color:#e0f2fe!important;border:1px solid rgba(186,230,253,.15)!important;box-shadow:0 8px 28px #0f294266!important}.editora-toast[data-theme=ocean].editora-toast-info:before{background:#38bdf8}.editora-toast[data-theme=ocean].editora-toast-success:before{background:#34d399}.editora-toast[data-theme=ocean].editora-toast-error:before{background:#fb7185}.editora-toast[data-theme=ocean].editora-toast-warning:before{background:#fbbf24}.editora-toast[data-theme=ocean].editora-toast-loading:before,.editora-toast[data-theme=ocean].editora-toast-promise:before{background:#818cf8}.editora-toast[data-theme=forest]{--et-text: #DCFCE7;--et-text-muted: rgba(220,252,231,.72);--et-text-inverse: #052e16;--et-bg: #052e16;--et-bg-subtle: #14532d;--et-border: rgba(220,252,231,.14);--et-border-strong: rgba(220,252,231,.26);--et-info-tint: rgba(74,222,128,.1);--et-info-ring: rgba(74,222,128,.26);--et-success-tint: rgba(134,239,172,.1);--et-success-ring: rgba(134,239,172,.26);--et-error-tint: rgba(252,165,165,.1);--et-error-ring: rgba(252,165,165,.26);--et-warning-tint: rgba(253,230,138,.1);--et-warning-ring: rgba(253,230,138,.24);--et-loading-tint: rgba(110,231,183,.1);--et-loading-ring: rgba(110,231,183,.26);background:linear-gradient(135deg,#052e16,#14532d)!important;color:#dcfce7!important;border:1px solid rgba(220,252,231,.12)!important;box-shadow:0 8px 28px #052e1666!important}.editora-toast[data-theme=forest].editora-toast-info:before{background:#4ade80}.editora-toast[data-theme=forest].editora-toast-success:before{background:#86efac}.editora-toast[data-theme=forest].editora-toast-error:before{background:#fca5a5}.editora-toast[data-theme=forest].editora-toast-warning:before{background:#fde68a}.editora-toast[data-theme=forest].editora-toast-loading:before,.editora-toast[data-theme=forest].editora-toast-promise:before{background:#6ee7b7}.editora-toast[data-theme=sunset]{--et-text: #FED7AA;--et-text-muted: rgba(254,215,170,.72);--et-text-inverse: #431407;--et-bg: #431407;--et-bg-subtle: #7c2d12;--et-border: rgba(254,215,170,.14);--et-border-strong: rgba(254,215,170,.26);--et-info-tint: rgba(251,146,60,.1);--et-info-ring: rgba(251,146,60,.26);--et-success-tint: rgba(251,191,36,.1);--et-success-ring: rgba(251,191,36,.26);--et-error-tint: rgba(248,113,113,.1);--et-error-ring: rgba(248,113,113,.24);--et-warning-tint: rgba(253,230,138,.1);--et-warning-ring: rgba(253,230,138,.24);--et-loading-tint: rgba(192,132,252,.1);--et-loading-ring: rgba(192,132,252,.26);background:linear-gradient(135deg,#431407,#7c2d12)!important;color:#fed7aa!important;border:1px solid rgba(254,215,170,.12)!important;box-shadow:0 8px 28px #43140766!important}.editora-toast[data-theme=sunset].editora-toast-info:before{background:#fb923c}.editora-toast[data-theme=sunset].editora-toast-success:before{background:#fbbf24}.editora-toast[data-theme=sunset].editora-toast-error:before{background:#f87171}.editora-toast[data-theme=sunset].editora-toast-warning:before{background:#fde68a}.editora-toast[data-theme=sunset].editora-toast-loading:before,.editora-toast[data-theme=sunset].editora-toast-promise:before{background:#c084fc}.editora-toast[data-theme=midnight]{--et-text: #E2E8F0;--et-text-muted: rgba(226,232,240,.68);--et-text-inverse: #0a0a0f;--et-bg: #0a0a0f;--et-bg-subtle: #0f0f1a;--et-border: rgba(226,232,240,.07);--et-border-strong: rgba(226,232,240,.18);--et-info-tint: rgba(96,165,250,.1);--et-info-ring: rgba(96,165,250,.26);--et-success-tint: rgba(52,211,153,.1);--et-success-ring: rgba(52,211,153,.26);--et-error-tint: rgba(248,113,113,.1);--et-error-ring: rgba(248,113,113,.24);--et-warning-tint: rgba(251,191,36,.1);--et-warning-ring: rgba(251,191,36,.24);--et-loading-tint: rgba(129,140,248,.1);--et-loading-ring: rgba(129,140,248,.26);background:#0a0a0f!important;color:#e2e8f0!important;border:1px solid rgba(226,232,240,.07)!important;box-shadow:0 8px 28px #0009,inset 0 1px #ffffff0a!important}.editora-toast[data-theme=midnight].editora-toast-info:before{background:#60a5fa}.editora-toast[data-theme=midnight].editora-toast-success:before{background:#34d399}.editora-toast[data-theme=midnight].editora-toast-error:before{background:#f87171}.editora-toast[data-theme=midnight].editora-toast-warning:before{background:#fbbf24}.editora-toast[data-theme=midnight].editora-toast-loading:before,.editora-toast[data-theme=midnight].editora-toast-promise:before{background:#818cf8}.editora-toast[data-theme=retro]{--et-text: #1C1917;--et-text-muted: #57534E;--et-text-inverse: #FEFCE8;--et-bg: #FEFCE8;--et-bg-subtle: #FEF9C3;--et-border: #1C1917;--et-border-strong: #1C1917;--et-info-tint: transparent;--et-info-ring: transparent;--et-success-tint: transparent;--et-success-ring: transparent;--et-error-tint: transparent;--et-error-ring: transparent;--et-warning-tint: transparent;--et-warning-ring: transparent;--et-loading-tint: transparent;--et-loading-ring: transparent;background:#fefce8!important;color:#1c1917!important;border:2px solid #1C1917!important;border-radius:6px!important;box-shadow:4px 4px #1c1917!important;font-family:Courier New,Courier,monospace!important}.editora-toast[data-theme=retro]:before{display:none!important}.editora-toast[data-theme=retro].editora-toast-info{background:#fefce8!important;border-color:#2563eb!important;box-shadow:4px 4px #2563eb!important}.editora-toast[data-theme=retro].editora-toast-success{background:#fefce8!important;border-color:#16a34a!important;box-shadow:4px 4px #16a34a!important}.editora-toast[data-theme=retro].editora-toast-error{background:#fefce8!important;border-color:#dc2626!important;box-shadow:4px 4px #dc2626!important}.editora-toast[data-theme=retro].editora-toast-warning{background:#fefce8!important;border-color:#d97706!important;box-shadow:4px 4px #d97706!important}.editora-toast[data-theme=retro].editora-toast-loading,.editora-toast[data-theme=retro].editora-toast-promise{background:#fefce8!important;border-color:#6366f1!important;box-shadow:4px 4px #6366f1!important}.editora-toast:focus-visible{outline:2px solid var(--et-info);outline-offset:2px}.editora-toast-action:focus-visible,.editora-toast-close:focus-visible{outline:2px solid var(--et-info);outline-offset:2px}@media(prefers-reduced-motion:reduce){.editora-toast,.editora-toast.show,.editora-toast.hiding{transition:opacity .1s ease!important;animation:none!important;transform:none!important}.editora-toast-progress-bar:after{animation:none!important}.editora-toast-spinner{animation:et-spin 1.2s linear infinite}}@media(max-width:480px){.editora-toast-container{left:max(12px,env(safe-area-inset-left))!important;right:max(12px,env(safe-area-inset-right))!important;width:auto!important;transform:none!important}.editora-toast{min-width:auto;width:100%;max-width:none;border-radius:10px}.editora-toast-center{top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));transform:none;align-items:stretch}.editora-toast-actions{justify-content:stretch}.editora-toast-action{flex:1;justify-content:center}}.editora-toast .close{position:absolute;top:10px;right:10px;background:none;border:none;color:inherit;cursor:pointer;font-size:16px;opacity:.5;transition:opacity .2s ease}.editora-toast .close:hover{opacity:1}
|
|
1
|
+
:root{--et-bg: #ffffff;--et-bg-subtle: #f6f6f5;--et-border: rgba(0,0,0,.09);--et-border-strong: rgba(0,0,0,.16);--et-text: #1c1917;--et-text-muted: #6b6560;--et-text-inverse: #fafaf9;--et-info: #2563eb;--et-success: #15803d;--et-error: #dc2626;--et-warning: #b45309;--et-loading: #4f46e5;--et-promise: #4f46e5;--et-info-tint: rgba(37,99,235,.08);--et-info-ring: rgba(37,99,235,.28);--et-success-tint: rgba(21,128,61,.08);--et-success-ring: rgba(21,128,61,.28);--et-error-tint: rgba(220,38,38,.07);--et-error-ring: rgba(220,38,38,.28);--et-warning-tint: rgba(180,83,9,.08);--et-warning-ring: rgba(180,83,9,.3);--et-loading-tint: rgba(79,70,229,.07);--et-loading-ring: rgba(79,70,229,.26);--et-promise-tint: var(--et-loading-tint);--et-promise-ring: var(--et-loading-ring);--et-radius: 12px;--et-radius-sm: 8px;--et-width: 356px;--et-offset: 20px;--et-gap: 8px;--et-z: 2147483647;--et-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 2px 4px rgba(0,0,0,.04), 0 10px 28px rgba(0,0,0,.1);--et-dur-enter: .3s;--et-dur-exit: .2s;--et-ease-enter: cubic-bezier(.16,1,.3,1);--et-ease-exit: cubic-bezier(.4,0,1,1);--et-ease-move: cubic-bezier(.32,.72,0,1);--et-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--et-font-size-title: 13.5px;--et-font-size-body: 13px;--et-font-size-desc: 12.5px;--et-font-size-action: 12.5px;--editora-toast-bg: var(--et-bg);--editora-toast-color: var(--et-text);--editora-toast-muted-color: var(--et-text-muted);--editora-toast-border: var(--et-border);--editora-toast-shadow: var(--et-shadow);--editora-toast-border-radius: var(--et-radius);--editora-toast-font-family: var(--et-font);--editora-toast-font-size: var(--et-font-size-body);--editora-toast-gap: var(--et-gap);--editora-toast-z-index: var(--et-z);--editora-toast-width: var(--et-width);--editora-toast-offset: var(--et-offset);--editora-toast-mobile-offset: 12px}@media(prefers-color-scheme:dark){:root{--et-bg: #19181a;--et-bg-subtle: #232225;--et-border: rgba(255,255,255,.1);--et-border-strong: rgba(255,255,255,.18);--et-text: #f5f5f4;--et-text-muted: #a8a29e;--et-text-inverse: #19181a;--et-info: #60a5fa;--et-success: #4ade80;--et-error: #f87171;--et-warning: #fbbf24;--et-loading: #a5b4fc;--et-promise: #a5b4fc;--et-info-tint: rgba(96,165,250,.13);--et-info-ring: rgba(96,165,250,.32);--et-success-tint: rgba(74,222,128,.11);--et-success-ring: rgba(74,222,128,.3);--et-error-tint: rgba(248,113,113,.12);--et-error-ring: rgba(248,113,113,.32);--et-warning-tint: rgba(251,191,36,.11);--et-warning-ring: rgba(251,191,36,.3);--et-loading-tint: rgba(165,180,252,.12);--et-loading-ring: rgba(165,180,252,.3);--et-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 2px 6px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.45)}}:root.dark,:root[data-theme=dark],:root[data-bs-theme=dark],:root[data-color-scheme=dark],:root[data-mantine-color-scheme=dark]{--et-bg: #19181a;--et-bg-subtle: #232225;--et-border: rgba(255,255,255,.1);--et-border-strong: rgba(255,255,255,.18);--et-text: #f5f5f4;--et-text-muted: #a8a29e;--et-text-inverse: #19181a;--et-info: #60a5fa;--et-success: #4ade80;--et-error: #f87171;--et-warning: #fbbf24;--et-loading: #a5b4fc;--et-promise: #a5b4fc;--et-info-tint: rgba(96,165,250,.13);--et-info-ring: rgba(96,165,250,.32);--et-success-tint: rgba(74,222,128,.11);--et-success-ring: rgba(74,222,128,.3);--et-error-tint: rgba(248,113,113,.12);--et-error-ring: rgba(248,113,113,.32);--et-warning-tint: rgba(251,191,36,.11);--et-warning-ring: rgba(251,191,36,.3);--et-loading-tint: rgba(165,180,252,.12);--et-loading-ring: rgba(165,180,252,.3);--et-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 2px 6px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.45)}:root.light,:root[data-theme=light],:root[data-bs-theme=light],:root[data-color-scheme=light],:root[data-mantine-color-scheme=light]{--et-bg: #ffffff;--et-bg-subtle: #f6f6f5;--et-border: rgba(0,0,0,.09);--et-border-strong: rgba(0,0,0,.16);--et-text: #1c1917;--et-text-muted: #6b6560;--et-text-inverse: #fafaf9;--et-info: #2563eb;--et-success: #15803d;--et-error: #dc2626;--et-warning: #b45309;--et-loading: #4f46e5;--et-promise: #4f46e5;--et-info-tint: rgba(37,99,235,.08);--et-info-ring: rgba(37,99,235,.28);--et-success-tint: rgba(21,128,61,.08);--et-success-ring: rgba(21,128,61,.28);--et-error-tint: rgba(220,38,38,.07);--et-error-ring: rgba(220,38,38,.28);--et-warning-tint: rgba(180,83,9,.08);--et-warning-ring: rgba(180,83,9,.3);--et-loading-tint: rgba(79,70,229,.07);--et-loading-ring: rgba(79,70,229,.26);--et-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 2px 4px rgba(0,0,0,.04), 0 10px 28px rgba(0,0,0,.1)}.editora-toast-container{position:fixed;z-index:var(--et-z);width:var(--et-width);max-width:calc(100vw - 2 * var(--et-offset));box-sizing:border-box;pointer-events:auto}.editora-toast-container[data-count="0"]{pointer-events:none}[dir=rtl] .editora-toast-container,.editora-toast-container[data-rtl=true]{direction:rtl}[dir=rtl] .editora-toast,.editora-toast[data-rtl=true]{direction:rtl;text-align:right}.editora-toast[data-rtl=true] .editora-toast-close,[dir=rtl] .editora-toast .editora-toast-close{right:auto;left:8px}.editora-toast[data-rtl=true][data-closable=true],[dir=rtl] .editora-toast[data-closable=true]{padding-right:14px;padding-left:40px}.editora-toast[data-rtl=true]:has(.editora-toast-icon) .editora-toast-actions,[dir=rtl] .editora-toast:has(.editora-toast-icon) .editora-toast-actions{margin-left:0;margin-right:28px}.editora-toast{--et-accent: var(--et-info);position:absolute;left:0;width:100%;box-sizing:border-box;padding:12px 14px;background:var(--et-bg);color:var(--et-text);border:1px solid var(--et-border);border-radius:var(--et-radius);box-shadow:var(--et-shadow);font-family:var(--et-font);font-size:var(--et-font-size-body);line-height:1.45;pointer-events:auto;touch-action:none;overflow:hidden;outline:none;-webkit-font-smoothing:antialiased;translate:0 var(--et-y, 0px);scale:var(--et-s, 1);opacity:0;transform:translateY(calc(var(--et-edge, 1) * 18px)) scale(.97);transition:opacity var(--et-dur-exit) var(--et-ease-exit),transform var(--et-dur-exit) var(--et-ease-exit),translate .38s var(--et-ease-move),scale .38s var(--et-ease-move),height .38s var(--et-ease-move),box-shadow .2s ease}.editora-toast-container[data-edge=bottom] .editora-toast{bottom:0;transform-origin:50% 100%}.editora-toast-container[data-edge=top] .editora-toast{top:0;transform-origin:50% 0}.editora-toast.show{opacity:1;transform:none;transition:opacity var(--et-dur-enter) var(--et-ease-enter),transform var(--et-dur-enter) var(--et-ease-enter),translate .38s var(--et-ease-move),scale .38s var(--et-ease-move),height .38s var(--et-ease-move),box-shadow .2s ease}.editora-toast.hiding{opacity:0;transform:translateY(calc(var(--et-edge, 1) * 12px)) scale(.96);pointer-events:none}.editora-toast.spring-animation{transition:none!important;animation:none!important}.editora-toast[data-collapsed=true]{pointer-events:none}.editora-toast[data-collapsed=true]>*{opacity:0;transition:opacity .2s ease}.editora-toast[data-hidden=true]{opacity:0!important;pointer-events:none}.editora-toast-info{--et-accent: var(--et-info)}.editora-toast-success{--et-accent: var(--et-success)}.editora-toast-error{--et-accent: var(--et-error)}.editora-toast-warning{--et-accent: var(--et-warning)}.editora-toast-loading,.editora-toast-progress,.editora-toast-promise{--et-accent: var(--et-loading)}.editora-toast[data-rich-colors=true]:not([data-theme=colored]).editora-toast-info{background:linear-gradient(var(--et-info-tint),var(--et-info-tint)),var(--et-bg);border-color:var(--et-info-ring)}.editora-toast[data-rich-colors=true]:not([data-theme=colored]).editora-toast-success{background:linear-gradient(var(--et-success-tint),var(--et-success-tint)),var(--et-bg);border-color:var(--et-success-ring)}.editora-toast[data-rich-colors=true]:not([data-theme=colored]).editora-toast-error{background:linear-gradient(var(--et-error-tint),var(--et-error-tint)),var(--et-bg);border-color:var(--et-error-ring)}.editora-toast[data-rich-colors=true]:not([data-theme=colored]).editora-toast-warning{background:linear-gradient(var(--et-warning-tint),var(--et-warning-tint)),var(--et-bg);border-color:var(--et-warning-ring)}.editora-toast[data-rich-colors=true]:not([data-theme=colored]).editora-toast-loading,.editora-toast[data-rich-colors=true]:not([data-theme=colored]).editora-toast-promise{background:linear-gradient(var(--et-loading-tint),var(--et-loading-tint)),var(--et-bg);border-color:var(--et-loading-ring)}.editora-toast[data-closable=true]{padding-right:40px}.editora-toast-content{display:flex;align-items:flex-start;gap:10px;min-height:20px}.editora-toast-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:18px;height:18px;margin-top:1px;color:var(--et-accent);font-size:15px;line-height:1}.editora-toast-icon svg{display:block}.editora-toast-icon[data-spin=true] svg{animation:et-spin .8s linear infinite}.editora-toast-body{flex:1;min-width:0}.editora-toast-title{font-size:var(--et-font-size-title);font-weight:600;letter-spacing:-.01em;line-height:1.35;margin:0;color:var(--et-text)}.editora-toast-message{line-height:1.45;overflow-wrap:anywhere;color:var(--et-text)}.editora-toast-body>.editora-toast-message:only-child{font-weight:500}.editora-toast-title+.editora-toast-message,.editora-toast-title+.editora-toast-description,.editora-toast-message+.editora-toast-description{margin-top:2px}.editora-toast-description{color:var(--et-text-muted);font-size:var(--et-font-size-desc);line-height:1.45;overflow-wrap:anywhere}.editora-toast-actions{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap;justify-content:flex-start}.editora-toast:has(.editora-toast-icon) .editora-toast-actions{margin-left:28px}.editora-toast-action{height:28px;padding:0 12px;border:1px solid var(--et-border-strong);background:transparent;color:var(--et-text);border-radius:var(--et-radius-sm);font-size:var(--et-font-size-action);font-weight:500;font-family:var(--et-font);line-height:1;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;transition:background .15s ease,border-color .15s ease,transform .1s ease,opacity .15s ease}.editora-toast-action:hover{background:var(--et-bg-subtle)}.editora-toast-action:active{transform:scale(.97)}.editora-toast-action.primary{background:var(--et-action-bg, var(--et-text));border-color:var(--et-action-bg, var(--et-text));color:var(--et-action-ink, var(--et-bg))}.editora-toast-action.primary:hover{background:var(--et-action-bg, var(--et-text));opacity:.88}.editora-toast-close{position:absolute;top:8px;right:8px;width:24px;height:24px;padding:0;display:grid;place-items:center;border:0;background:transparent;color:var(--et-text-muted);border-radius:7px;cursor:pointer;opacity:0;transition:opacity .16s ease,background .15s ease,color .15s ease;z-index:1}.editora-toast-close svg{display:block}.editora-toast:hover .editora-toast-close,.editora-toast:focus-within .editora-toast-close,.editora-toast-close:focus-visible{opacity:1}@media(hover:none){.editora-toast-close{opacity:1}}.editora-toast-close:hover{background:var(--et-bg-subtle);color:var(--et-text)}.editora-toast-close:active{transform:scale(.92)}.editora-toast-progress-track{position:relative;height:4px;margin-top:10px;border-radius:99px;background:var(--et-border)}.editora-toast-progress-bar{height:100%;border-radius:inherit;background:var(--et-accent);transition:width .25s ease}.editora-toast-progress-text{position:absolute;top:-17px;right:0;font-size:11px;font-variant-numeric:tabular-nums;color:var(--et-text-muted)}.editora-toast-group{margin-bottom:4px}.editora-toast-group-header{font-size:10px;font-weight:600;opacity:.55;margin-bottom:4px;text-transform:uppercase;letter-spacing:.06em}.editora-toast-group-collapsed{max-height:40px;overflow:hidden}@keyframes et-spin{to{transform:rotate(360deg)}}.editora-toast[data-theme=light]{--et-bg: #ffffff;--et-bg-subtle: #f6f6f5;--et-border: rgba(0,0,0,.09);--et-border-strong: rgba(0,0,0,.16);--et-text: #1c1917;--et-text-muted: #6b6560;--et-info: #2563eb;--et-success: #15803d;--et-error: #dc2626;--et-warning: #b45309;--et-loading: #4f46e5;--et-promise: #4f46e5;--et-info-tint: rgba(37,99,235,.08);--et-info-ring: rgba(37,99,235,.28);--et-success-tint: rgba(21,128,61,.08);--et-success-ring: rgba(21,128,61,.28);--et-error-tint: rgba(220,38,38,.07);--et-error-ring: rgba(220,38,38,.28);--et-warning-tint: rgba(180,83,9,.08);--et-warning-ring: rgba(180,83,9,.3);--et-loading-tint: rgba(79,70,229,.07);--et-loading-ring: rgba(79,70,229,.26);--et-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 2px 4px rgba(0,0,0,.04), 0 10px 28px rgba(0,0,0,.1)}.editora-toast[data-theme=dark]{--et-bg: #19181a;--et-bg-subtle: #232225;--et-border: rgba(255,255,255,.1);--et-border-strong: rgba(255,255,255,.18);--et-text: #f5f5f4;--et-text-muted: #a8a29e;--et-info: #60a5fa;--et-success: #4ade80;--et-error: #f87171;--et-warning: #fbbf24;--et-loading: #a5b4fc;--et-promise: #a5b4fc;--et-info-tint: rgba(96,165,250,.13);--et-info-ring: rgba(96,165,250,.32);--et-success-tint: rgba(74,222,128,.11);--et-success-ring: rgba(74,222,128,.3);--et-error-tint: rgba(248,113,113,.12);--et-error-ring: rgba(248,113,113,.32);--et-warning-tint: rgba(251,191,36,.11);--et-warning-ring: rgba(251,191,36,.3);--et-loading-tint: rgba(165,180,252,.12);--et-loading-ring: rgba(165,180,252,.3);--et-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 2px 6px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.45)}.editora-toast[data-theme=minimal]{--et-bg: #ffffff;--et-bg-subtle: #f6f6f5;--et-text: #1c1917;--et-text-muted: #6b6560;--et-border: rgba(0,0,0,.14);--et-border-strong: rgba(0,0,0,.22);--et-info: #2563eb;--et-success: #15803d;--et-error: #dc2626;--et-warning: #b45309;--et-loading: #4f46e5;border-radius:6px;box-shadow:0 1px 3px #00000014;border-left:3px solid var(--et-accent)}.editora-toast[data-theme=colored]{--et-info: #2563eb;--et-success: #15803d;--et-error: #c81e1e;--et-warning: #b45309;--et-loading: #4f46e5;--et-text: #ffffff;--et-text-muted: rgba(255,255,255,.95);--et-bg-subtle: rgba(255,255,255,.16);--et-border: rgba(255,255,255,.22);--et-border-strong: rgba(255,255,255,.38);--et-action-bg: #ffffff;--et-action-ink: var(--et-accent);background:var(--et-accent);border-color:transparent;box-shadow:0 8px 22px #00000038}.editora-toast[data-theme=colored] .editora-toast-icon{color:#fff}.editora-toast[data-theme=colored] .editora-toast-progress-bar{background:#fff}.editora-toast[data-theme=glass]{--et-bg: rgba(24,24,27,.72);--et-bg-subtle: rgba(255,255,255,.1);--et-text: #ffffff;--et-text-muted: rgba(255,255,255,.86);--et-border: rgba(255,255,255,.16);--et-border-strong: rgba(255,255,255,.3);--et-info: #7dd3fc;--et-success: #86efac;--et-error: #fca5a5;--et-warning: #fcd34d;--et-loading: #c4b5fd;--et-action-bg: #ffffff;--et-action-ink: #18181b;-webkit-backdrop-filter:blur(22px) saturate(170%);backdrop-filter:blur(22px) saturate(170%);box-shadow:0 10px 34px #00000047,inset 0 1px #ffffff24}.editora-toast[data-theme=neon]{--et-bg: #09090b;--et-bg-subtle: #18181b;--et-text: #e4e4e7;--et-text-muted: #a1a1aa;--et-border: rgba(255,255,255,.08);--et-border-strong: rgba(255,255,255,.2);--et-info: #38bdf8;--et-success: #4ade80;--et-error: #f87171;--et-warning: #fbbf24;--et-loading: #a5b4fc;border-color:var(--et-accent);box-shadow:0 0 18px color-mix(in srgb,var(--et-accent) 28%,transparent),0 4px 12px #00000080}.editora-toast[data-theme=ocean]{--et-bg: #0f2942;--et-bg-subtle: #1a3d5c;--et-text: #e0f2fe;--et-text-muted: rgba(224,242,254,.76);--et-border: rgba(186,230,253,.18);--et-border-strong: rgba(186,230,253,.32);--et-info: #38bdf8;--et-success: #34d399;--et-error: #fb7185;--et-warning: #fbbf24;--et-loading: #a5b4fc;background:linear-gradient(135deg,#0f2942,#1a3d5c);box-shadow:0 8px 28px #0f294266}.editora-toast[data-theme=forest]{--et-bg: #052e16;--et-bg-subtle: #14532d;--et-text: #dcfce7;--et-text-muted: rgba(220,252,231,.76);--et-border: rgba(220,252,231,.16);--et-border-strong: rgba(220,252,231,.3);--et-info: #4ade80;--et-success: #86efac;--et-error: #fca5a5;--et-warning: #fde68a;--et-loading: #6ee7b7;background:linear-gradient(135deg,#052e16,#14532d);box-shadow:0 8px 28px #052e1666}.editora-toast[data-theme=sunset]{--et-bg: #431407;--et-bg-subtle: #7c2d12;--et-text: #fed7aa;--et-text-muted: rgba(254,215,170,.78);--et-border: rgba(254,215,170,.16);--et-border-strong: rgba(254,215,170,.3);--et-info: #fb923c;--et-success: #fbbf24;--et-error: #fca5a5;--et-warning: #fde68a;--et-loading: #d8b4fe;background:linear-gradient(135deg,#431407,#7c2d12);box-shadow:0 8px 28px #43140766}.editora-toast[data-theme=midnight]{--et-bg: #0a0a0f;--et-bg-subtle: #14141f;--et-text: #e2e8f0;--et-text-muted: rgba(226,232,240,.72);--et-border: rgba(226,232,240,.1);--et-border-strong: rgba(226,232,240,.22);--et-info: #60a5fa;--et-success: #34d399;--et-error: #f87171;--et-warning: #fbbf24;--et-loading: #a5b4fc;box-shadow:0 8px 28px #0009,inset 0 1px #ffffff0a}.editora-toast[data-theme=retro]{--et-bg: #fefce8;--et-bg-subtle: #fef9c3;--et-text: #1c1917;--et-text-muted: #57534e;--et-border: #1c1917;--et-border-strong: #1c1917;--et-info: #1d4ed8;--et-success: #15803d;--et-error: #b91c1c;--et-warning: #b45309;--et-loading: #4338ca;border:2px solid var(--et-accent);border-radius:6px;box-shadow:4px 4px 0 var(--et-accent);font-family:Courier New,Courier,monospace}.editora-toast:focus-visible,.editora-toast-action:focus-visible,.editora-toast-close:focus-visible{outline:2px solid var(--et-focus, var(--et-info));outline-offset:2px}@media(prefers-reduced-motion:reduce){.editora-toast,.editora-toast.show,.editora-toast.hiding{transition:opacity .1s ease!important;transform:none!important}.editora-toast-icon[data-spin=true] svg{animation-duration:1.6s}}@media(max-width:480px){.editora-toast-container{left:max(12px,env(safe-area-inset-left))!important;right:max(12px,env(safe-area-inset-right))!important;width:auto!important;max-width:none!important;transform:none!important}.editora-toast-container[data-position=center]{top:max(12px,env(safe-area-inset-top))!important}.editora-toast-action{flex:1;justify-content:center}}.editora-toast .close{position:absolute;top:10px;right:10px;background:none;border:none;color:inherit;cursor:pointer;font-size:16px;opacity:.5;transition:opacity .2s ease}.editora-toast .close:hover{opacity:1}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@editora/ui-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.27",
|
|
4
4
|
"description": "Enterprise React component library with SaaS UI components, modern design system patterns, and wrappers for Editora UI Core.",
|
|
5
5
|
"homepage": "https://editora-ecosystem.netlify.app/docs/ui-react",
|
|
6
6
|
"bugs": {
|
|
@@ -854,7 +854,7 @@
|
|
|
854
854
|
},
|
|
855
855
|
"dependencies": {
|
|
856
856
|
"@editora/toast": "^2.0.10",
|
|
857
|
-
"@editora/ui-core": "^0.
|
|
857
|
+
"@editora/ui-core": "^0.2.0"
|
|
858
858
|
},
|
|
859
859
|
"keywords": [
|
|
860
860
|
"editora",
|