@pubwave/editor 0.5.2 → 0.5.3
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/index.cjs +6 -6
- package/dist/index.css +1 -1
- package/dist/index.js +673 -665
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--pubwave-bg: #ffffff;--pubwave-surface: #ffffff;--pubwave-text: #37352f;--pubwave-text-muted: #9b9a97;--pubwave-border: #e3e2e0;--pubwave-border-light: #f3f4f6;--pubwave-hover: #f7f6f3;--pubwave-focus: rgba(0, 0, 0, .05);--pubwave-selection: #3b82f6;--pubwave-selection-bg: rgba(35, 131, 226, .15);--pubwave-primary: #2383e2;--pubwave-primary-hover: #2563eb;--pubwave-handle-color: #9b9a97;--pubwave-primary-faded: rgba(59, 130, 246, .1);--pubwave-drop-indicator: #3b82f6;--pubwave-drop-target: rgba(59, 130, 246, .05);--pubwave-error: #ef4444;--pubwave-success: #10b981;--pubwave-warning: #f59e0b;--pubwave-text-secondary: #374151;--pubwave-text-tertiary: #4b5563;--pubwave-hover-bg: #f3f4f6;--pubwave-hover-task: rgba(0, 0, 0, .05);--pubwave-checked-text: #9ca3af;--pubwave-spacing-xs: .25rem;--pubwave-spacing-sm: .5rem;--pubwave-spacing-md: 1rem;--pubwave-spacing-lg: 1.5rem;--pubwave-spacing-xl: 2rem;--pubwave-spacing-1: 4px;--pubwave-spacing-2: 8px;--pubwave-spacing-3: 12px;--pubwave-spacing-4: 16px;--pubwave-spacing-7: 28px;--pubwave-font-family: inherit;--pubwave-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--pubwave-font-size-xs: .75rem;--pubwave-font-size-sm: .875rem;--pubwave-font-size-base: 1rem;--pubwave-font-size-md: 1.125rem;--pubwave-font-size-lg: 1.25rem;--pubwave-font-size-xl: 1.4rem;--pubwave-font-size-2xl: 1.775rem;--pubwave-font-size-3xl: 2.1rem;--pubwave-line-height: 1.625;--pubwave-line-height-heading: 1.25;--pubwave-button-width: 28px;--pubwave-button-height: 28px;--pubwave-icon-size: 20px;--pubwave-checkbox-size: 20px;--pubwave-checkbox-input-size: 16px;--pubwave-divider-width: 1px;--pubwave-divider-height: 20px;--pubwave-drop-indicator-width: 2px;--pubwave-drop-indicator-height: 2px;--pubwave-task-item-height: 30px;--pubwave-radius-xs: 3px;--pubwave-radius-sm: 4px;--pubwave-radius: 6px;--pubwave-radius-md: 6px;--pubwave-radius-lg: 8px;--pubwave-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--pubwave-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--pubwave-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05)}[data-theme=dark]{--pubwave-hover-task: rgba(255, 255, 255, .12)}.pubwave-editor{position:relative;width:var(--pubwave-container-width, 100%);max-width:var(--pubwave-container-max-width, none);font-family:var(--pubwave-font-family);color:var(--pubwave-text);background:var(--pubwave-bg, #ffffff);border-radius:var(--pubwave-container-border-radius, 16px);padding:var(--pubwave-container-padding-y, 96px) var(--pubwave-container-padding-x, 120px);padding-left:var(--pubwave-container-padding-left, 140px);box-shadow:0 0 0 1px #0000000a,0 20px 25px -5px #0000000d,0 10px 10px -5px #00000005}.pubwave-editor:not(.pubwave-editor--fixed-height){min-height:var(--pubwave-container-min-height, 700px)}@media(max-width:768px){.pubwave-editor{padding:var(--pubwave-container-padding-y-mobile, 20px) var(--pubwave-container-padding-x-mobile, 16px);padding-left:var(--pubwave-container-padding-left-mobile, 16px);border-radius:var(--pubwave-container-border-radius-mobile, 12px)}.pubwave-editor:not(.pubwave-editor--fixed-height){min-height:var(--pubwave-container-min-height-mobile, 400px)}}.pubwave-editor,.pubwave-editor *,.pubwave-editor *:before,.pubwave-editor *:after{box-sizing:border-box}.pubwave-editor__content{outline:none;min-height:1em;display:flex;flex-direction:column;flex:1;overflow-y:auto;overflow-x:hidden}.pubwave-editor--fixed-height .pubwave-editor__content{padding-bottom:2rem}.pubwave-editor__content p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--pubwave-text-muted);pointer-events:none;height:0}.pubwave-editor__content p.pubwave-editor__node--empty:before,.ProseMirror p.pubwave-editor__node--empty:before{content:attr(data-placeholder);float:left;color:var(--pubwave-text-muted);pointer-events:none;height:0}.pubwave-editor__content>*+*{margin-top:.75em!important}.pubwave-editor__content>*+*{margin-top:.35em!important}.pubwave-editor .pubwave-editor__content>*+*{margin-top:1rem!important;margin-bottom:1rem!important}.pubwave-editor__content{font-size:var(--pubwave-font-size-base, 15px)}.pubwave-editor__content h1{font-size:var(--pubwave-font-size-3xl, 1.75rem)}.pubwave-editor__content h2{font-size:var(--pubwave-font-size-2xl, 1.375rem)}.pubwave-editor__content h3{font-size:var(--pubwave-font-size-xl, 1.125rem)}.pubwave-editor__content p{margin:0;line-height:var(--pubwave-line-height);margin-block-start:1em;margin-block-end:1em;margin-inline-start:0px;margin-inline-end:0px;unicode-bidi:isolate}.pubwave-editor__content h1,.pubwave-editor__content h2,.pubwave-editor__content h3{line-height:var(--pubwave-line-height-heading);font-weight:600}.pubwave-editor__content ul:not([data-type=taskList]),.pubwave-editor__content ol{margin:0;padding-left:1.5em}.pubwave-editor__content .pubwave-editor__ordered-list{margin:0;padding-left:2em!important;display:block;list-style-type:decimal;margin-block-start:1em;unicode-bidi:isolate}.pubwave-editor__content .pubwave-editor__bullet-list{display:block;list-style-type:disc;margin-block-start:1em;margin-block-end:1em;padding-inline-start:40px;unicode-bidi:isolate}.pubwave-editor__content .pubwave-editor__bullet-list,.pubwave-editor__content .pubwave-editor__ordered-list{padding-left:1.3em!important}.pubwave-editor__content li:not([data-type=taskItem]):not(.pubwave-editor__task-item){margin:.25em 0}.pubwave-editor__content li>p{margin:0}.pubwave-editor__content blockquote,.pubwave-editor__content.ProseMirror blockquote{padding-left:1em;border-left:3px solid var(--pubwave-text, #1a1a1a)!important;font-style:italic;margin:.5em 0}.pubwave-editor__content .tableWrapper{overflow-x:auto;margin:.75em 0}.pubwave-editor__content table,.pubwave-editor__content .pubwave-editor__table{width:100%;border-collapse:collapse;table-layout:fixed}.pubwave-editor__content th,.pubwave-editor__content td,.pubwave-editor__content .pubwave-editor__table-header,.pubwave-editor__content .pubwave-editor__table-cell{border:1px solid var(--pubwave-border, #e5e7eb);padding:.5em .75em;vertical-align:top}.pubwave-editor__content th,.pubwave-editor__content .pubwave-editor__table-header{background:var(--pubwave-hover);font-weight:600}.pubwave-editor__content td p,.pubwave-editor__content th p{margin:0}.pubwave-editor__content pre{margin:.5em 0;padding:.5em .75em;background:var(--pubwave-border-light, #f3f4f6)!important;border-radius:var(--pubwave-radius-md, 6px)!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important;font-size:var(--pubwave-font-size-sm, 13px)!important;line-height:1.5;overflow-x:auto;color:#1a1a1a!important}.pubwave-editor__content pre code{background:none!important;padding:0!important;border-radius:0!important;font-size:inherit!important;color:inherit!important;font-family:inherit!important}.pubwave-editor__content hr,.pubwave-editor__content .pubwave-editor__divider{border:none;border-top:1px solid var(--pubwave-border, #e5e7eb)!important;height:0!important;background:none!important}.pubwave-editor__content img,.pubwave-editor__content .pubwave-editor__image{display:block;max-width:100%;height:auto;margin-top:1em;border-radius:var(--pubwave-radius-md, 6px);box-shadow:0 1px 3px #0000001a;cursor:pointer;transition:opacity .2s ease}.pubwave-editor__content img:hover,.pubwave-editor__content .pubwave-editor__image:hover{opacity:.6}.pubwave-editor__content img.ProseMirror-selectednode,.pubwave-editor__content .pubwave-editor__image.ProseMirror-selectednode{outline:2px solid var(--pubwave-primary, #2383e2);outline-offset:2px}.pubwave-editor__content strong{font-weight:600}.pubwave-editor__content em{font-style:italic}.pubwave-editor__content u{text-decoration:underline}.pubwave-editor__content s{text-decoration:line-through}.pubwave-editor__content code{background:var(--pubwave-hover);padding:.15em .35em;border-radius:var(--pubwave-radius-sm);font-family:var(--pubwave-font-mono);font-size:.9em}.pubwave-editor__content a,.pubwave-editor .ProseMirror a{color:var(--pubwave-link-color, #2383e2)!important;text-decoration:underline;cursor:pointer}.pubwave-editor__content a:hover,.pubwave-editor .ProseMirror a:hover{color:var( --pubwave-link-hover-color, var(--pubwave-link-color, #2383e2) )!important;opacity:.8}.pubwave-editor__content ::-moz-selection{background-color:var(--pubwave-selection-bg)}.pubwave-editor__content ::selection{background-color:var(--pubwave-selection-bg)}.pubwave-editor--readonly,.pubwave-editor--readonly .pubwave-editor__content{cursor:default}.pubwave-editor__content ul[data-type=taskList]{list-style:none!important;padding-left:0!important;margin:0!important;padding:var(--pubwave-spacing-4, 16px) 0}.pubwave-editor__content ul[data-type=taskList] li,.pubwave-editor__content ul[data-type=taskList]>li,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem],.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item,.pubwave-editor__content .pubwave-editor__task-item,.pubwave-editor__content.ProseMirror ul[data-type=taskList] li,.ProseMirror.pubwave-editor__content ul[data-type=taskList] li{display:flex!important;align-items:flex-start!important;flex-direction:row!important;gap:.5em!important;border-radius:var(--pubwave-radius-sm, 4px)!important;margin:0!important;list-style:none!important;list-style-type:none!important;list-style-position:outside!important;padding:.25em 0!important;list-style-image:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}.pubwave-editor__task-item{min-height:var(--pubwave-task-item-height, 30px);height:auto!important}.pubwave-editor__content ul[data-type=taskList] li::marker,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]::marker,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item::marker{display:none!important;content:""!important;width:0!important;font-size:0!important}.pubwave-editor__content ul[data-type=taskList] li:before,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]:before,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item:before{display:none!important;content:""!important;width:0!important}.pubwave-editor__content ul[data-type=taskList] li:hover{background-color:var(--pubwave-hover-task);outline:1px solid rgba(255,255,255,.1);transition:background-color .15s ease}.pubwave-editor__content ul[data-type=taskList] li>label,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>label,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item>label{flex-shrink:0!important;margin:.125em 0 0!important;position:relative!important;cursor:pointer!important;width:var(--pubwave-checkbox-size, 20px)!important;height:var(--pubwave-checkbox-size, 20px)!important;min-height:var(--pubwave-checkbox-size, 20px)!important;max-height:var(--pubwave-checkbox-size, 20px)!important;display:block!important;align-self:flex-start!important;line-height:1!important;padding:0!important;overflow:hidden!important}.pubwave-editor__content input[type=checkbox]{background-color:initial;cursor:default;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;box-sizing:border-box;margin:3px 3px 3px 4px;padding:initial;border:initial}.pubwave-editor__content ul[data-type=taskList] li>label:before{content:"";display:block;width:var(--pubwave-checkbox-size, 20px);height:var(--pubwave-checkbox-size, 20px);border:1.5px solid var(--pubwave-text, #1a1a1a);border-radius:var(--pubwave-radius-xs, 3px);background-color:#fff;transition:all .15s ease;box-sizing:border-box;position:absolute;top:0;left:0}.pubwave-editor__content ul[data-type=taskList] li[data-checked=true]>label:before{background-color:var(--pubwave-primary-hover, #2563eb);border-color:var(--pubwave-primary-hover, #2563eb)}.pubwave-editor__content ul[data-type=taskList] li[data-checked=true]>label:after{content:"";position:absolute;left:6px;top:3px;width:5px;height:10px;border:solid var(--pubwave-bg, #ffffff);border-width:0 2px 2px 0;transform:rotate(45deg);box-sizing:border-box;z-index:1}.pubwave-editor__content ul[data-type=taskList] li>div,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>div,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item>div{flex:1!important;min-width:0!important;color:var(--pubwave-text, #1a1a1a)!important;display:block!important;margin:0!important;padding:.1em 0!important}.pubwave-editor__content ul[data-type=taskList] li>div p,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>div p,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item>div p,.pubwave-editor__content ul[data-type=taskList] li>div>p,.pubwave-editor__content ul[data-type=taskList] li>div p.pubwave-editor__paragraph,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>div p.pubwave-editor__paragraph{margin:0!important;padding:0!important;line-height:1.5!important;display:block!important;width:100%!important;min-height:1.5em!important}.pubwave-editor__content.ProseMirror ul[data-type=taskList] li[data-checked=true]>div p,.pubwave-editor__content ul[data-type=taskList] li[data-checked=true]>div p{color:var(--pubwave-checked-text, #9ca3af)!important;text-decoration:line-through!important}.pubwave-block{position:relative;padding-left:2.5em}.pubwave-block-menu{position:absolute;left:.5em;top:50%;transform:translateY(-50%);z-index:2;display:flex;align-items:center;gap:.5em}.pubwave-block--dragging{opacity:.4}.pubwave-block--drag-preview{color:var(--pubwave-text-muted, #9b9a97)!important;opacity:.6!important}.pubwave-block--drag-preview div,.pubwave-block--drag-preview p,.pubwave-block--drag-preview label,.pubwave-block--drag-preview .pubwave-editor__task-item>div{color:var(--pubwave-text-muted, #9b9a97)!important}.pubwave-block--drag-preview label input{display:none!important}.pubwave-block--drag-preview label:before{border-color:var(--pubwave-text-muted, #9b9a97)!important;width:16px!important;height:16px!important}.pubwave-block--drag-preview label:after{border-color:var(--pubwave-bg, #ffffff)!important;left:4px!important;top:2px!important}.ProseMirror .ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.ProseMirror .ProseMirror-gapcursor:after{content:"";display:block;position:absolute;top:-2px;width:20px;border-top:1px solid var(--pubwave-text);animation:pubwave-cursor-blink 1.1s steps(2,start) infinite}@keyframes pubwave-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block}.ProseMirror-dropcursor{border-left:2px solid var(--pubwave-primary);pointer-events:none}.pubwave-block-handle__drag,.pubwave-block-handle__add{color:var(--pubwave-text-muted, #9b9a97)!important}.pubwave-toolbar__button:not(:disabled):hover{background-color:var(--pubwave-hover)!important}.pubwave-toolbar__turn-into-option:not(.pubwave-toolbar__turn-into-option--active):hover{background-color:var(--pubwave-hover)!important}.tippy-box{z-index:var(--pubwave-z-dropdown, 60)!important;background:transparent!important;border:none!important}.tippy-box:has(.pubwave-slash-menu){background:transparent!important;border:none!important}.pubwave-slash-menu{border:1px solid var(--pubwave-border, #e3e2e0)!important}.pubwave-editor .ProseMirror .suggestion{background-color:#fffffff2!important;border:1px solid var(--pubwave-border, #e3e2e0)!important;border-radius:var(--pubwave-radius-md, 6px)!important;padding:2px 4px!important;display:inline-block!important;color:#1f2937!important}.pubwave-editor .ProseMirror .suggestion,.pubwave-editor .ProseMirror .suggestion *,.pubwave-editor .ProseMirror .suggestion span,.pubwave-editor .ProseMirror .suggestion strong,.pubwave-editor .ProseMirror .suggestion em,.pubwave-editor .ProseMirror .suggestion code{color:#1f2937!important}.tippy-box,.tippy-box[data-theme]{z-index:60!important}.tippy-box[data-theme~=pubwave]{background:transparent;box-shadow:none;border:none}.tippy-box[data-theme~=pubwave] .tippy-content{padding:0}.tippy-box[data-theme~=light-border]{background-color:#000!important;color:#fff!important;border:none!important;border-radius:var(--pubwave-radius, 6px);box-shadow:var(--pubwave-shadow-md, 0 4px 6px -1px rgba(0, 0, 0, .1));font-size:16px;padding:4px 8px}.tippy-box[data-theme~=light-border] .tippy-content{color:#fff!important}.pubwave-editor__chart{position:relative;margin:var(--pubwave-spacing-md, 1rem) 0;padding:var(--pubwave-spacing-sm, .5rem);border-radius:var(--pubwave-radius-lg, 8px);transition:background-color .15s ease}.pubwave-editor__chart[data-selected=true]{background-color:var(--pubwave-focus, rgba(0, 0, 0, .05))}.pubwave-chart__container{position:relative;display:flex;justify-content:center;align-items:center;min-height:200px}.pubwave-chart__canvas-wrapper{position:relative;width:100%;height:300px}.pubwave-chart__canvas{width:100%!important;height:100%!important}.pubwave-chart__placeholder{padding:var(--pubwave-spacing-md, 1rem);color:var(--pubwave-text-muted, #9b9a97);font-size:var(--pubwave-font-size-sm, .875rem);text-align:center;background-color:var(--pubwave-hover, #f7f6f3);border-radius:var(--pubwave-radius, 6px)}.pubwave-chart__edit-button{position:absolute;top:var(--pubwave-spacing-sm, .5rem);right:var(--pubwave-spacing-sm, .5rem);display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background-color:var(--pubwave-bg, #ffffff);border:1px solid var(--pubwave-border, #e3e2e0);border-radius:var(--pubwave-radius, 6px);color:var(--pubwave-text, #37352f);cursor:pointer;opacity:0;transform:scale(.9);transition:all .15s ease;box-shadow:var(--pubwave-shadow-sm, 0 1px 2px 0 rgba(0, 0, 0, .05))}.pubwave-chart__edit-button:hover{background-color:var(--pubwave-primary, #2383e2);border-color:var(--pubwave-primary, #2383e2);color:#fff;transform:scale(1);box-shadow:var(--pubwave-shadow, 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06))}.pubwave-chart__edit-button:active{transform:scale(.95)}.pubwave-chart__container:hover .pubwave-chart__edit-button,.pubwave-editor__chart[data-selected=true] .pubwave-chart__edit-button{opacity:1;transform:scale(1)}.pubwave-modal__overlay{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:#00000080;z-index:1000;padding:var(--pubwave-spacing-md, 1rem);animation:pubwave-fade-in .15s ease}@keyframes pubwave-fade-in{0%{opacity:0}to{opacity:1}}.pubwave-modal__container{display:flex;flex-direction:column;width:100%;max-width:600px;max-height:90vh;background-color:var(--pubwave-bg, #ffffff);border-radius:var(--pubwave-radius-lg, 8px);box-shadow:var(--pubwave-shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05));animation:pubwave-slide-up .2s ease}@keyframes pubwave-slide-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.pubwave-modal__header{display:flex;align-items:center;justify-content:space-between;padding:var(--pubwave-spacing-md, 1rem);border-bottom:1px solid var(--pubwave-border, #e3e2e0)}.pubwave-modal__title{margin:0;font-size:var(--pubwave-font-size-lg, 1.125rem);font-weight:600;color:var(--pubwave-text, #37352f)}.pubwave-modal__close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:transparent;border:none;border-radius:var(--pubwave-radius-sm, 4px);color:var(--pubwave-text-muted, #9b9a97);cursor:pointer;transition:all .15s ease}.pubwave-modal__close:hover{background-color:var(--pubwave-hover, #f7f6f3);color:var(--pubwave-text, #37352f)}.pubwave-modal__body{padding:var(--pubwave-spacing-md, 1rem);overflow-y:auto}.pubwave-modal__footer{display:flex;justify-content:flex-end;gap:var(--pubwave-spacing-sm, .5rem);padding:var(--pubwave-spacing-md, 1rem);border-top:1px solid var(--pubwave-border, #e3e2e0)}.pubwave-form__field{margin-bottom:var(--pubwave-spacing-md, 1rem)}.pubwave-form__row{display:flex;gap:var(--pubwave-spacing-md, 1rem);margin-bottom:var(--pubwave-spacing-md, 1rem)}.pubwave-form__row .pubwave-form__field{flex:1;margin-bottom:0}.pubwave-form__label{display:block;margin-bottom:var(--pubwave-spacing-xs, .25rem);font-size:var(--pubwave-font-size-sm, .875rem);font-weight:500;color:var(--pubwave-text, #37352f)}.pubwave-form__input,.pubwave-form__select{width:100%;padding:var(--pubwave-spacing-sm, .5rem) var(--pubwave-spacing-md, 1rem);font-size:var(--pubwave-font-size-base, 1rem);color:var(--pubwave-text, #37352f);background-color:var(--pubwave-surface, #ffffff);border:1px solid var(--pubwave-border, #e3e2e0);border-radius:var(--pubwave-radius, 6px);transition:all .15s ease}.pubwave-form__input:focus,.pubwave-form__select:focus{outline:none;border-color:var(--pubwave-primary, #2383e2);box-shadow:0 0 0 3px var(--pubwave-primary-faded, rgba(59, 130, 246, .1))}.pubwave-form__input::-moz-placeholder{color:var(--pubwave-text-muted, #9b9a97)}.pubwave-form__input::placeholder{color:var(--pubwave-text-muted, #9b9a97)}.pubwave-form__checkbox-label{display:flex;align-items:center;gap:var(--pubwave-spacing-sm, .5rem);font-size:var(--pubwave-font-size-base, 1rem);color:var(--pubwave-text, #37352f);cursor:pointer}.pubwave-form__checkbox{width:16px;height:16px;accent-color:var(--pubwave-primary, #2383e2)}.pubwave-form__section{margin-top:var(--pubwave-spacing-lg, 1.5rem)}.pubwave-form__section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--pubwave-spacing-md, 1rem)}.pubwave-form__section-title{margin:0;font-size:var(--pubwave-font-size-base, 1rem);font-weight:600;color:var(--pubwave-text, #37352f)}.pubwave-form__dataset{padding:var(--pubwave-spacing-md, 1rem);margin-bottom:var(--pubwave-spacing-md, 1rem);background-color:var(--pubwave-hover, #f7f6f3);border:1px solid var(--pubwave-border, #e3e2e0);border-radius:var(--pubwave-radius, 6px)}.pubwave-form__dataset-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--pubwave-spacing-md, 1rem)}.pubwave-form__dataset-title{font-size:var(--pubwave-font-size-sm, .875rem);font-weight:600;color:var(--pubwave-text, #37352f)}.pubwave-button{display:inline-flex;align-items:center;justify-content:center;padding:var(--pubwave-spacing-sm, .5rem) var(--pubwave-spacing-md, 1rem);font-size:var(--pubwave-font-size-base, 1rem);font-weight:500;border:none;border-radius:var(--pubwave-radius, 6px);cursor:pointer;transition:all .15s ease}.pubwave-button--primary{background-color:var(--pubwave-primary, #2383e2);color:#fff}.pubwave-button--primary:hover{background-color:var(--pubwave-primary-hover, #1d6fd9)}.pubwave-button--secondary{background-color:var(--pubwave-hover, #f7f6f3);color:var(--pubwave-text, #37352f);border:1px solid var(--pubwave-border, #e3e2e0)}.pubwave-button--secondary:hover{background-color:var(--pubwave-border-light, #f3f4f6)}.pubwave-button--danger{background-color:var(--pubwave-error, #ef4444);color:#fff}.pubwave-button--danger:hover{background-color:#dc2626}.pubwave-button--small{padding:var(--pubwave-spacing-xs, .25rem) var(--pubwave-spacing-sm, .5rem);font-size:var(--pubwave-font-size-sm, .875rem)}[data-theme=dark] .pubwave-chart__placeholder{background-color:var(--pubwave-hover-task, rgba(255, 255, 255, .05))}[data-theme=dark] .pubwave-modal__container{background-color:var(--pubwave-surface, #1e293b)}[data-theme=dark] .pubwave-form__input,[data-theme=dark] .pubwave-form__select{background-color:var(--pubwave-surface, #0f172a)}[data-theme=dark] .pubwave-form__dataset{background-color:var(--pubwave-hover-task, rgba(255, 255, 255, .05))}.pubwave-editor__layout{display:grid;gap:1rem;margin:1rem 0;width:100%}.pubwave-layout--2-cols{grid-template-columns:repeat(2,1fr)}.pubwave-layout--3-cols{grid-template-columns:repeat(3,1fr)}@media(max-width:768px){.pubwave-layout--2-cols,.pubwave-layout--3-cols{grid-template-columns:1fr}}.pubwave-layout__column{min-height:60px;padding:.5rem}.pubwave-layout__column:focus-within{outline:2px solid var(--pubwave-primary, #0f7ccd);outline-offset:-2px}.pubwave-editor__layout[data-selected=true]{outline:2px solid var(--pubwave-primary, #0f7ccd);outline-offset:2px;border-radius:6px}.pubwave-layout__column-content{min-height:40px}.pubwave-layout__column-content>p:first-child:only-child:before{content:"Type '/' for commands";color:var(--pubwave-text-muted, #9b9a97);font-style:italic;pointer-events:none}.pubwave-layout__column-content .pubwave-editor__paragraph{margin:.25rem 0}.pubwave-layout__column-content .pubwave-editor__heading{margin:.5rem 0}.pubwave-layout__column-content .pubwave-editor__bullet-list,.pubwave-layout__column-content .pubwave-editor__ordered-list,.pubwave-layout__column-content .pubwave-editor__task-list{margin:.25rem 0;padding-left:1.5rem}.pubwave-layout__column-content .pubwave-editor__blockquote{margin:.5rem 0;padding-left:1rem;border-left:3px solid var(--pubwave-border, #e3e2e0)}.pubwave-layout__column-content .pubwave-editor__code-block{margin:.5rem 0}.pubwave-layout__column-content .pubwave-editor__image{margin:.5rem 0;max-width:100%}.pubwave-layout__column-content .pubwave-editor__chart{margin:.5rem 0}.pubwave-layout__column .drag-handle{opacity:0;transition:opacity .15s ease}.pubwave-layout__column:hover .drag-handle{opacity:1}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
|
|
1
|
+
:root{--pubwave-bg: #ffffff;--pubwave-surface: #ffffff;--pubwave-text: #37352f;--pubwave-text-muted: #9b9a97;--pubwave-border: #e3e2e0;--pubwave-border-light: #f3f4f6;--pubwave-hover: #f7f6f3;--pubwave-focus: rgba(0, 0, 0, .05);--pubwave-selection: #3b82f6;--pubwave-selection-bg: rgba(35, 131, 226, .15);--pubwave-primary: #2383e2;--pubwave-primary-hover: #2563eb;--pubwave-handle-color: #9b9a97;--pubwave-primary-faded: rgba(59, 130, 246, .1);--pubwave-drop-indicator: #3b82f6;--pubwave-drop-target: rgba(59, 130, 246, .05);--pubwave-error: #ef4444;--pubwave-success: #10b981;--pubwave-warning: #f59e0b;--pubwave-text-secondary: #374151;--pubwave-text-tertiary: #4b5563;--pubwave-hover-bg: #f3f4f6;--pubwave-hover-task: rgba(0, 0, 0, .05);--pubwave-checked-text: #9ca3af;--pubwave-spacing-xs: .25rem;--pubwave-spacing-sm: .5rem;--pubwave-spacing-md: 1rem;--pubwave-spacing-lg: 1.5rem;--pubwave-spacing-xl: 2rem;--pubwave-spacing-1: 4px;--pubwave-spacing-2: 8px;--pubwave-spacing-3: 12px;--pubwave-spacing-4: 16px;--pubwave-spacing-7: 28px;--pubwave-font-family: inherit;--pubwave-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--pubwave-font-size-xs: .75rem;--pubwave-font-size-sm: .875rem;--pubwave-font-size-base: 1rem;--pubwave-font-size-md: 1.125rem;--pubwave-font-size-lg: 1.25rem;--pubwave-font-size-xl: 1.4rem;--pubwave-font-size-2xl: 1.775rem;--pubwave-font-size-3xl: 2.1rem;--pubwave-line-height: 1.625;--pubwave-line-height-heading: 1.25;--pubwave-button-width: 28px;--pubwave-button-height: 28px;--pubwave-icon-size: 20px;--pubwave-checkbox-size: 20px;--pubwave-checkbox-input-size: 16px;--pubwave-divider-width: 1px;--pubwave-divider-height: 20px;--pubwave-drop-indicator-width: 2px;--pubwave-drop-indicator-height: 2px;--pubwave-task-item-height: 30px;--pubwave-radius-xs: 3px;--pubwave-radius-sm: 4px;--pubwave-radius: 6px;--pubwave-radius-md: 6px;--pubwave-radius-lg: 8px;--pubwave-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--pubwave-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);--pubwave-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05)}[data-theme=dark]{--pubwave-hover-task: rgba(255, 255, 255, .12)}.pubwave-editor{position:relative;width:var(--pubwave-container-width, 100%);max-width:var(--pubwave-container-max-width, none);font-family:var(--pubwave-font-family);color:var(--pubwave-text);background:var(--pubwave-bg, #ffffff);border-radius:var(--pubwave-container-border-radius, 16px);padding:var(--pubwave-container-padding-y, 96px) var(--pubwave-container-padding-x, 120px);padding-left:var(--pubwave-container-padding-left, 140px);box-shadow:0 0 0 1px #0000000a,0 20px 25px -5px #0000000d,0 10px 10px -5px #00000005}.pubwave-editor:not(.pubwave-editor--fixed-height){min-height:var(--pubwave-container-min-height, 700px)}@media(max-width:768px){.pubwave-editor{padding:var(--pubwave-container-padding-y-mobile, 20px) var(--pubwave-container-padding-x-mobile, 16px);padding-left:var(--pubwave-container-padding-left-mobile, 16px);border-radius:var(--pubwave-container-border-radius-mobile, 12px)}.pubwave-editor:not(.pubwave-editor--fixed-height){min-height:var(--pubwave-container-min-height-mobile, 400px)}}.pubwave-editor,.pubwave-editor *,.pubwave-editor *:before,.pubwave-editor *:after{box-sizing:border-box}.pubwave-editor__content{outline:none;min-height:1em;display:flex;flex-direction:column;flex:1;overflow-y:auto;overflow-x:hidden}.pubwave-editor--fixed-height .pubwave-editor__content{padding-bottom:2rem}.pubwave-editor__content p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:var(--pubwave-text-muted);pointer-events:none;height:0}.pubwave-editor__content p.pubwave-editor__node--empty:before,.ProseMirror p.pubwave-editor__node--empty:before{content:attr(data-placeholder);float:left;color:var(--pubwave-text-muted);pointer-events:none;height:0}.pubwave-editor__content>*+*{margin-top:.75em!important}.pubwave-editor__content>*+*{margin-top:.35em!important}.pubwave-editor .pubwave-editor__content>*+*{margin-top:1rem!important;margin-bottom:1rem!important}.pubwave-editor__content{font-size:var(--pubwave-font-size-base, 15px)}.pubwave-editor__content h1{font-size:var(--pubwave-font-size-3xl, 1.75rem)}.pubwave-editor__content h2{font-size:var(--pubwave-font-size-2xl, 1.375rem)}.pubwave-editor__content h3{font-size:var(--pubwave-font-size-xl, 1.125rem)}.pubwave-editor__content p{margin:0;line-height:var(--pubwave-line-height);margin-block-start:1em;margin-block-end:1em;margin-inline-start:0px;margin-inline-end:0px;unicode-bidi:isolate}.pubwave-editor__content h1,.pubwave-editor__content h2,.pubwave-editor__content h3{line-height:var(--pubwave-line-height-heading);font-weight:600}.pubwave-editor__content ul:not([data-type=taskList]),.pubwave-editor__content ol{margin:0;padding-left:1.5em}.pubwave-editor__content .pubwave-editor__ordered-list{margin:0;padding-left:2em!important;display:block;list-style-type:decimal;margin-block-start:1em;unicode-bidi:isolate}.pubwave-editor__content .pubwave-editor__bullet-list{display:block;list-style-type:disc;margin-block-start:1em;margin-block-end:1em;padding-inline-start:40px;unicode-bidi:isolate}.pubwave-editor__content .pubwave-editor__bullet-list,.pubwave-editor__content .pubwave-editor__ordered-list{padding-left:1.3em!important}.pubwave-editor__content li:not([data-type=taskItem]):not(.pubwave-editor__task-item){margin:.25em 0}.pubwave-editor__content li>p{margin:0}.pubwave-editor__content blockquote,.pubwave-editor__content.ProseMirror blockquote{padding-left:1em;border-left:3px solid var(--pubwave-text, #1a1a1a)!important;font-style:italic;margin:.5em 0}.pubwave-editor__content .tableWrapper{overflow-x:auto;margin:.75em 0}.pubwave-editor__content table,.pubwave-editor__content .pubwave-editor__table{width:100%;border-collapse:collapse;table-layout:auto}.pubwave-editor__content th,.pubwave-editor__content td,.pubwave-editor__content .pubwave-editor__table-header,.pubwave-editor__content .pubwave-editor__table-cell{border:1px solid var(--pubwave-border, #e5e7eb);padding:.5em .75em;vertical-align:top}.pubwave-editor__content th,.pubwave-editor__content .pubwave-editor__table-header{background:var(--pubwave-hover);font-weight:600}.pubwave-editor__content td p,.pubwave-editor__content th p{margin:0}.pubwave-editor__content pre{margin:.5em 0;padding:.5em .75em;background:var(--pubwave-border-light, #f3f4f6)!important;border-radius:var(--pubwave-radius-md, 6px)!important;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important;font-size:var(--pubwave-font-size-sm, 13px)!important;line-height:1.5;overflow-x:auto;color:#1a1a1a!important}.pubwave-editor__content pre code{background:none!important;padding:0!important;border-radius:0!important;font-size:inherit!important;color:inherit!important;font-family:inherit!important}.pubwave-editor__content hr,.pubwave-editor__content .pubwave-editor__divider{border:none;border-top:1px solid var(--pubwave-border, #e5e7eb)!important;height:0!important;background:none!important}.pubwave-editor__content img,.pubwave-editor__content .pubwave-editor__image{display:block;max-width:100%;height:auto;margin-top:1em;border-radius:var(--pubwave-radius-md, 6px);box-shadow:0 1px 3px #0000001a;cursor:pointer;transition:opacity .2s ease}.pubwave-editor__content img:hover,.pubwave-editor__content .pubwave-editor__image:hover{opacity:.6}.pubwave-editor__content img.ProseMirror-selectednode,.pubwave-editor__content .pubwave-editor__image.ProseMirror-selectednode{outline:2px solid var(--pubwave-primary, #2383e2);outline-offset:2px}.pubwave-editor__content strong{font-weight:600}.pubwave-editor__content em{font-style:italic}.pubwave-editor__content u{text-decoration:underline}.pubwave-editor__content s{text-decoration:line-through}.pubwave-editor__content code{background:var(--pubwave-hover);padding:.15em .35em;border-radius:var(--pubwave-radius-sm);font-family:var(--pubwave-font-mono);font-size:.9em}.pubwave-editor__content a,.pubwave-editor .ProseMirror a{color:var(--pubwave-link-color, #2383e2)!important;text-decoration:underline;cursor:pointer}.pubwave-editor__content a:hover,.pubwave-editor .ProseMirror a:hover{color:var( --pubwave-link-hover-color, var(--pubwave-link-color, #2383e2) )!important;opacity:.8}.pubwave-editor__content ::-moz-selection{background-color:var(--pubwave-selection-bg)}.pubwave-editor__content ::selection{background-color:var(--pubwave-selection-bg)}.pubwave-editor--readonly,.pubwave-editor--readonly .pubwave-editor__content{cursor:default}.pubwave-editor__content ul[data-type=taskList]{list-style:none!important;padding-left:0!important;margin:0!important;padding:var(--pubwave-spacing-4, 16px) 0}.pubwave-editor__content ul[data-type=taskList] li,.pubwave-editor__content ul[data-type=taskList]>li,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem],.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item,.pubwave-editor__content .pubwave-editor__task-item,.pubwave-editor__content.ProseMirror ul[data-type=taskList] li,.ProseMirror.pubwave-editor__content ul[data-type=taskList] li{display:flex!important;align-items:flex-start!important;flex-direction:row!important;gap:.5em!important;border-radius:var(--pubwave-radius-sm, 4px)!important;margin:0!important;list-style:none!important;list-style-type:none!important;list-style-position:outside!important;padding:.25em 0!important;list-style-image:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important}.pubwave-editor__task-item{min-height:var(--pubwave-task-item-height, 30px);height:auto!important}.pubwave-editor__content ul[data-type=taskList] li::marker,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]::marker,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item::marker{display:none!important;content:""!important;width:0!important;font-size:0!important}.pubwave-editor__content ul[data-type=taskList] li:before,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]:before,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item:before{display:none!important;content:""!important;width:0!important}.pubwave-editor__content ul[data-type=taskList] li:hover{background-color:var(--pubwave-hover-task);outline:1px solid rgba(255,255,255,.1);transition:background-color .15s ease}.pubwave-editor__content ul[data-type=taskList] li>label,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>label,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item>label{flex-shrink:0!important;margin:.125em 0 0!important;position:relative!important;cursor:pointer!important;width:var(--pubwave-checkbox-size, 20px)!important;height:var(--pubwave-checkbox-size, 20px)!important;min-height:var(--pubwave-checkbox-size, 20px)!important;max-height:var(--pubwave-checkbox-size, 20px)!important;display:block!important;align-self:flex-start!important;line-height:1!important;padding:0!important;overflow:hidden!important}.pubwave-editor__content input[type=checkbox]{background-color:initial;cursor:default;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto;box-sizing:border-box;margin:3px 3px 3px 4px;padding:initial;border:initial}.pubwave-editor__content ul[data-type=taskList] li>label:before{content:"";display:block;width:var(--pubwave-checkbox-size, 20px);height:var(--pubwave-checkbox-size, 20px);border:1.5px solid var(--pubwave-text, #1a1a1a);border-radius:var(--pubwave-radius-xs, 3px);background-color:#fff;transition:all .15s ease;box-sizing:border-box;position:absolute;top:0;left:0}.pubwave-editor__content ul[data-type=taskList] li[data-checked=true]>label:before{background-color:var(--pubwave-primary-hover, #2563eb);border-color:var(--pubwave-primary-hover, #2563eb)}.pubwave-editor__content ul[data-type=taskList] li[data-checked=true]>label:after{content:"";position:absolute;left:6px;top:3px;width:5px;height:10px;border:solid var(--pubwave-bg, #ffffff);border-width:0 2px 2px 0;transform:rotate(45deg);box-sizing:border-box;z-index:1}.pubwave-editor__content ul[data-type=taskList] li>div,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>div,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item>div{flex:1!important;min-width:0!important;color:var(--pubwave-text, #1a1a1a)!important;display:block!important;margin:0!important;padding:.1em 0!important}.pubwave-editor__content ul[data-type=taskList] li>div p,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>div p,.pubwave-editor__content ul[data-type=taskList] li.pubwave-editor__task-item>div p,.pubwave-editor__content ul[data-type=taskList] li>div>p,.pubwave-editor__content ul[data-type=taskList] li>div p.pubwave-editor__paragraph,.pubwave-editor__content ul[data-type=taskList] li[data-type=taskItem]>div p.pubwave-editor__paragraph{margin:0!important;padding:0!important;line-height:1.5!important;display:block!important;width:100%!important;min-height:1.5em!important}.pubwave-editor__content.ProseMirror ul[data-type=taskList] li[data-checked=true]>div p,.pubwave-editor__content ul[data-type=taskList] li[data-checked=true]>div p{color:var(--pubwave-checked-text, #9ca3af)!important;text-decoration:line-through!important}.pubwave-block{position:relative;padding-left:2.5em}.pubwave-block-menu{position:absolute;left:.5em;top:50%;transform:translateY(-50%);z-index:2;display:flex;align-items:center;gap:.5em}.pubwave-block--dragging{opacity:.4}.pubwave-block--drag-preview{color:var(--pubwave-text-muted, #9b9a97)!important;opacity:.6!important}.pubwave-block--drag-preview div,.pubwave-block--drag-preview p,.pubwave-block--drag-preview label,.pubwave-block--drag-preview .pubwave-editor__task-item>div{color:var(--pubwave-text-muted, #9b9a97)!important}.pubwave-block--drag-preview label input{display:none!important}.pubwave-block--drag-preview label:before{border-color:var(--pubwave-text-muted, #9b9a97)!important;width:16px!important;height:16px!important}.pubwave-block--drag-preview label:after{border-color:var(--pubwave-bg, #ffffff)!important;left:4px!important;top:2px!important}.ProseMirror .ProseMirror-gapcursor{display:none;pointer-events:none;position:absolute}.ProseMirror .ProseMirror-gapcursor:after{content:"";display:block;position:absolute;top:-2px;width:20px;border-top:1px solid var(--pubwave-text);animation:pubwave-cursor-blink 1.1s steps(2,start) infinite}@keyframes pubwave-cursor-blink{to{visibility:hidden}}.ProseMirror-focused .ProseMirror-gapcursor{display:block}.ProseMirror-dropcursor{border-left:2px solid var(--pubwave-primary);pointer-events:none}.pubwave-block-handle__drag,.pubwave-block-handle__add{color:var(--pubwave-text-muted, #9b9a97)!important}.pubwave-toolbar__button:not(:disabled):hover{background-color:var(--pubwave-hover)!important}.pubwave-toolbar__turn-into-option:not(.pubwave-toolbar__turn-into-option--active):hover{background-color:var(--pubwave-hover)!important}.tippy-box{z-index:var(--pubwave-z-dropdown, 60)!important;background:transparent!important;border:none!important}.tippy-box:has(.pubwave-slash-menu){background:transparent!important;border:none!important}.pubwave-slash-menu{border:1px solid var(--pubwave-border, #e3e2e0)!important}.pubwave-editor .ProseMirror .suggestion{background-color:#fffffff2!important;border:1px solid var(--pubwave-border, #e3e2e0)!important;border-radius:var(--pubwave-radius-md, 6px)!important;padding:2px 4px!important;display:inline-block!important;color:#1f2937!important}.pubwave-editor .ProseMirror .suggestion,.pubwave-editor .ProseMirror .suggestion *,.pubwave-editor .ProseMirror .suggestion span,.pubwave-editor .ProseMirror .suggestion strong,.pubwave-editor .ProseMirror .suggestion em,.pubwave-editor .ProseMirror .suggestion code{color:#1f2937!important}.tippy-box,.tippy-box[data-theme]{z-index:60!important}.tippy-box[data-theme~=pubwave]{background:transparent;box-shadow:none;border:none}.tippy-box[data-theme~=pubwave] .tippy-content{padding:0}.tippy-box[data-theme~=light-border]{background-color:#000!important;color:#fff!important;border:none!important;border-radius:var(--pubwave-radius, 6px);box-shadow:var(--pubwave-shadow-md, 0 4px 6px -1px rgba(0, 0, 0, .1));font-size:16px;padding:4px 8px}.tippy-box[data-theme~=light-border] .tippy-content{color:#fff!important}.pubwave-editor__chart{position:relative;margin:var(--pubwave-spacing-md, 1rem) 0;padding:var(--pubwave-spacing-sm, .5rem);border-radius:var(--pubwave-radius-lg, 8px);transition:background-color .15s ease}.pubwave-editor__chart[data-selected=true]{background-color:var(--pubwave-focus, rgba(0, 0, 0, .05))}.pubwave-chart__container{position:relative;display:flex;justify-content:center;align-items:center;min-height:200px}.pubwave-chart__canvas-wrapper{position:relative;width:100%;height:300px}.pubwave-chart__canvas{width:100%!important;height:100%!important}.pubwave-chart__placeholder{padding:var(--pubwave-spacing-md, 1rem);color:var(--pubwave-text-muted, #9b9a97);font-size:var(--pubwave-font-size-sm, .875rem);text-align:center;background-color:var(--pubwave-hover, #f7f6f3);border-radius:var(--pubwave-radius, 6px)}.pubwave-chart__edit-button{position:absolute;top:var(--pubwave-spacing-sm, .5rem);right:var(--pubwave-spacing-sm, .5rem);display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background-color:var(--pubwave-bg, #ffffff);border:1px solid var(--pubwave-border, #e3e2e0);border-radius:var(--pubwave-radius, 6px);color:var(--pubwave-text, #37352f);cursor:pointer;opacity:0;transform:scale(.9);transition:all .15s ease;box-shadow:var(--pubwave-shadow-sm, 0 1px 2px 0 rgba(0, 0, 0, .05))}.pubwave-chart__edit-button:hover{background-color:var(--pubwave-primary, #2383e2);border-color:var(--pubwave-primary, #2383e2);color:#fff;transform:scale(1);box-shadow:var(--pubwave-shadow, 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06))}.pubwave-chart__edit-button:active{transform:scale(.95)}.pubwave-chart__container:hover .pubwave-chart__edit-button,.pubwave-editor__chart[data-selected=true] .pubwave-chart__edit-button{opacity:1;transform:scale(1)}.pubwave-modal__overlay{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background-color:#00000080;z-index:1000;padding:var(--pubwave-spacing-md, 1rem);animation:pubwave-fade-in .15s ease}@keyframes pubwave-fade-in{0%{opacity:0}to{opacity:1}}.pubwave-modal__container{display:flex;flex-direction:column;width:100%;max-width:600px;max-height:90vh;background-color:var(--pubwave-bg, #ffffff);border-radius:var(--pubwave-radius-lg, 8px);box-shadow:var(--pubwave-shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05));animation:pubwave-slide-up .2s ease}@keyframes pubwave-slide-up{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.pubwave-modal__header{display:flex;align-items:center;justify-content:space-between;padding:var(--pubwave-spacing-md, 1rem);border-bottom:1px solid var(--pubwave-border, #e3e2e0)}.pubwave-modal__title{margin:0;font-size:var(--pubwave-font-size-lg, 1.125rem);font-weight:600;color:var(--pubwave-text, #37352f)}.pubwave-modal__close{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:transparent;border:none;border-radius:var(--pubwave-radius-sm, 4px);color:var(--pubwave-text-muted, #9b9a97);cursor:pointer;transition:all .15s ease}.pubwave-modal__close:hover{background-color:var(--pubwave-hover, #f7f6f3);color:var(--pubwave-text, #37352f)}.pubwave-modal__body{padding:var(--pubwave-spacing-md, 1rem);overflow-y:auto}.pubwave-modal__footer{display:flex;justify-content:flex-end;gap:var(--pubwave-spacing-sm, .5rem);padding:var(--pubwave-spacing-md, 1rem);border-top:1px solid var(--pubwave-border, #e3e2e0)}.pubwave-form__field{margin-bottom:var(--pubwave-spacing-md, 1rem)}.pubwave-form__row{display:flex;gap:var(--pubwave-spacing-md, 1rem);margin-bottom:var(--pubwave-spacing-md, 1rem)}.pubwave-form__row .pubwave-form__field{flex:1;margin-bottom:0}.pubwave-form__label{display:block;margin-bottom:var(--pubwave-spacing-xs, .25rem);font-size:var(--pubwave-font-size-sm, .875rem);font-weight:500;color:var(--pubwave-text, #37352f)}.pubwave-form__input,.pubwave-form__select{width:100%;padding:var(--pubwave-spacing-sm, .5rem) var(--pubwave-spacing-md, 1rem);font-size:var(--pubwave-font-size-base, 1rem);color:var(--pubwave-text, #37352f);background-color:var(--pubwave-surface, #ffffff);border:1px solid var(--pubwave-border, #e3e2e0);border-radius:var(--pubwave-radius, 6px);transition:all .15s ease}.pubwave-form__input:focus,.pubwave-form__select:focus{outline:none;border-color:var(--pubwave-primary, #2383e2);box-shadow:0 0 0 3px var(--pubwave-primary-faded, rgba(59, 130, 246, .1))}.pubwave-form__input::-moz-placeholder{color:var(--pubwave-text-muted, #9b9a97)}.pubwave-form__input::placeholder{color:var(--pubwave-text-muted, #9b9a97)}.pubwave-form__checkbox-label{display:flex;align-items:center;gap:var(--pubwave-spacing-sm, .5rem);font-size:var(--pubwave-font-size-base, 1rem);color:var(--pubwave-text, #37352f);cursor:pointer}.pubwave-form__checkbox{width:16px;height:16px;accent-color:var(--pubwave-primary, #2383e2)}.pubwave-form__section{margin-top:var(--pubwave-spacing-lg, 1.5rem)}.pubwave-form__section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--pubwave-spacing-md, 1rem)}.pubwave-form__section-title{margin:0;font-size:var(--pubwave-font-size-base, 1rem);font-weight:600;color:var(--pubwave-text, #37352f)}.pubwave-form__dataset{padding:var(--pubwave-spacing-md, 1rem);margin-bottom:var(--pubwave-spacing-md, 1rem);background-color:var(--pubwave-hover, #f7f6f3);border:1px solid var(--pubwave-border, #e3e2e0);border-radius:var(--pubwave-radius, 6px)}.pubwave-form__dataset-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--pubwave-spacing-md, 1rem)}.pubwave-form__dataset-title{font-size:var(--pubwave-font-size-sm, .875rem);font-weight:600;color:var(--pubwave-text, #37352f)}.pubwave-button{display:inline-flex;align-items:center;justify-content:center;padding:var(--pubwave-spacing-sm, .5rem) var(--pubwave-spacing-md, 1rem);font-size:var(--pubwave-font-size-base, 1rem);font-weight:500;border:none;border-radius:var(--pubwave-radius, 6px);cursor:pointer;transition:all .15s ease}.pubwave-button--primary{background-color:var(--pubwave-primary, #2383e2);color:#fff}.pubwave-button--primary:hover{background-color:var(--pubwave-primary-hover, #1d6fd9)}.pubwave-button--secondary{background-color:var(--pubwave-hover, #f7f6f3);color:var(--pubwave-text, #37352f);border:1px solid var(--pubwave-border, #e3e2e0)}.pubwave-button--secondary:hover{background-color:var(--pubwave-border-light, #f3f4f6)}.pubwave-button--danger{background-color:var(--pubwave-error, #ef4444);color:#fff}.pubwave-button--danger:hover{background-color:#dc2626}.pubwave-button--small{padding:var(--pubwave-spacing-xs, .25rem) var(--pubwave-spacing-sm, .5rem);font-size:var(--pubwave-font-size-sm, .875rem)}[data-theme=dark] .pubwave-chart__placeholder{background-color:var(--pubwave-hover-task, rgba(255, 255, 255, .05))}[data-theme=dark] .pubwave-modal__container{background-color:var(--pubwave-surface, #1e293b)}[data-theme=dark] .pubwave-form__input,[data-theme=dark] .pubwave-form__select{background-color:var(--pubwave-surface, #0f172a)}[data-theme=dark] .pubwave-form__dataset{background-color:var(--pubwave-hover-task, rgba(255, 255, 255, .05))}.pubwave-editor__layout{display:grid;gap:1rem;margin:1rem 0;width:100%}.pubwave-layout--2-cols{grid-template-columns:repeat(2,1fr)}.pubwave-layout--3-cols{grid-template-columns:repeat(3,1fr)}@media(max-width:768px){.pubwave-layout--2-cols,.pubwave-layout--3-cols{grid-template-columns:1fr}}.pubwave-layout__column{min-height:60px;padding:.5rem}.pubwave-layout__column:focus-within{outline:2px solid var(--pubwave-primary, #0f7ccd);outline-offset:-2px}.pubwave-editor__layout[data-selected=true]{outline:2px solid var(--pubwave-primary, #0f7ccd);outline-offset:2px;border-radius:6px}.pubwave-layout__column-content{min-height:40px}.pubwave-layout__column-content>p:first-child:only-child:before{content:"Type '/' for commands";color:var(--pubwave-text-muted, #9b9a97);font-style:italic;pointer-events:none}.pubwave-layout__column-content .pubwave-editor__paragraph{margin:.25rem 0}.pubwave-layout__column-content .pubwave-editor__heading{margin:.5rem 0}.pubwave-layout__column-content .pubwave-editor__bullet-list,.pubwave-layout__column-content .pubwave-editor__ordered-list,.pubwave-layout__column-content .pubwave-editor__task-list{margin:.25rem 0;padding-left:1.5rem}.pubwave-layout__column-content .pubwave-editor__blockquote{margin:.5rem 0;padding-left:1rem;border-left:3px solid var(--pubwave-border, #e3e2e0)}.pubwave-layout__column-content .pubwave-editor__code-block{margin:.5rem 0}.pubwave-layout__column-content .pubwave-editor__image{margin:.5rem 0;max-width:100%}.pubwave-layout__column-content .pubwave-editor__chart{margin:.5rem 0}.pubwave-layout__column .drag-handle{opacity:0;transition:opacity .15s ease}.pubwave-layout__column:hover .drag-handle{opacity:1}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
|