lakelib 0.4.4 → 0.4.6

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/lake.min.css CHANGED
@@ -19,10 +19,11 @@ button.lake-button{border-radius:5px;border:0;font-family:Arial;font-size:var(--
19
19
  .lake-container table{display:table;border-collapse:collapse;border:0;margin:20px 0;overflow:visible}.lake-container table tr,.lake-container table tr:nth-child(n){border:0;background-color:transparent}.lake-container table td{font-size:var(--lake-font-size);padding:8px 16px;min-width:33px;border:1px solid var(--lake-border-color)}.lake-container table td p{margin-bottom:0}.lake-container table td.lake-td-focused{outline:var(--lake-input-outline)}
20
20
  .lake-link-popup{position:absolute;top:0;left:0;z-index:var(--lake-popup-z-index);border:1px solid var(--lake-popup-border-color);border-radius:5px;padding:16px;width:fit-content;background-color:var(--lake-popup-background-color);box-shadow:var(--lake-popup-shadow);display:none}.lake-link-popup .lake-url-row{display:flex;align-items:center}.lake-link-popup .lake-button-row{padding-top:16px;display:flex;align-items:center;justify-content:space-between}.lake-link-popup input[type=text]{width:220px;margin-right:4px}.lake-link-popup button[name=copy] svg:first-child{display:inline}.lake-link-popup button[name=copy] svg:nth-child(2){display:none;fill:var(--lake-success-color)}.lake-link-popup button[name=copy] svg:last-child{display:none;fill:var(--lake-error-color)}
21
21
  .lake-hr{height:24px;display:flex;align-items:center}.lake-container[contenteditable=true] .lake-hr{cursor:pointer}.lake-container[contenteditable=false] .lake-hr{cursor:default}.lake-container[contenteditable=true] lake-box[name=hr] .lake-box-hovered .lake-hr{background-color:var(--lake-box-background-color)}lake-box[name=hr] .lake-box-focused .lake-hr,lake-box[name=hr] .lake-box-selected .lake-hr{background-color:var(--lake-selection-background-color)}.lake-hr hr{width:100%;margin:0;padding:0;border:0;border-top:1px solid var(--lake-border-color)}
22
- :root{--lake-code-highlight-keyword:#af00db;--lake-code-highlight-name:#444d56;--lake-code-highlight-function:#005cc5;--lake-code-highlight-constant:#0550ae;--lake-code-highlight-definition:#444d56;--lake-code-highlight-type:#0550ae;--lake-code-highlight-operator:#444d56;--lake-code-highlight-comment:#008000;--lake-code-highlight-heading:#000080;--lake-code-highlight-boolean:#0550ae;--lake-code-highlight-string:#a31515;--lake-code-highlight-number:#098658;--lake-code-highlight-invalid:#cd3131}.lake-dark{--lake-code-highlight-keyword:#b392f0;--lake-code-highlight-name:#e1e4e8;--lake-code-highlight-function:#61afef;--lake-code-highlight-constant:#9ecBff;--lake-code-highlight-definition:#e1e4e8;--lake-code-highlight-type:#9ecBff;--lake-code-highlight-operator:#e1e4e8;--lake-code-highlight-comment:#6a9955;--lake-code-highlight-heading:#569cd6;--lake-code-highlight-boolean:#9ecBff;--lake-code-highlight-string:#ce9178;--lake-code-highlight-number:#b5cea8;--lake-code-highlight-invalid:#f44747}.cm-editor{font-size:14px;border-radius:5px;color:var(--lake-text-color);background-color:var(--lake-box-background-color)}.cm-editor.cm-focused{outline:0}.cm-editor .cm-content{font-family:Consolas,Courier,monospace;margin:16px 20px;caret-color:var(--lake-text-color)}lake-box[name=codeBlock] .lake-box-activated .lake-code-block,lake-box[name=codeBlock] .lake-box-focused .lake-code-block{border-color:var(--lake-box-border-color)}.lake-code-block{position:relative;border:1px solid transparent;border-radius:5px}.lake-code-block .lake-dropdown{position:absolute;top:2px;inset-inline-end:2px;display:none}lake-box[name=codeBlock] .lake-box-activated .lake-code-block .lake-dropdown,lake-box[name=codeBlock] .lake-box-focused .lake-code-block .lake-dropdown{display:block}.lake-code-block .lake-dropdown .lake-dropdown-title{margin:0;padding-right:4px;background-color:var(--lake-box-background-color)}.lake-code-block .lake-dropdown.lake-list-dropdown .lake-dropdown-title-hovered{background-color:var(--lake-button-background-active-color)}.lake-code-block .lake-dropdown .lake-dropdown-text{margin:3px 6px}.lake-code-block .lake-dropdown .lake-dropdown-down-icon svg{margin:5px 2px}.lake-code-block .lake-dropdown .lake-dropdown-menu{top:24px;left:auto;right:0}.lake-code-block-error{font-size:14px;color:var(--lake-error-color);border-radius:5px;background-color:var(--lake-box-background-color);padding:16px 20px}.lake-container pre[class*=lang-]{margin:0;font-size:14px;font-family:Consolas,Courier,monospace;border-radius:5px;color:var(--lake-text-color);background-color:var(--lake-box-background-color);margin-bottom:16px;padding:16px 20px}.lake-container pre[class*=lang-] code{display:block;background-color:transparent}
23
22
  .lake-image-placeholder{display:flex;align-items:center;justify-content:center;border:1px solid transparent;background-color:var(--lake-box-placeholder-background-color);border-radius:4px;width:100%;height:100%}.lake-image-placeholder svg{width:50%;max-width:64px;height:50%;max-height:64px;fill:var(--lake-box-placeholder-text-color)}.lake-image{position:relative;line-height:0;border:1px solid transparent;border-radius:4px}.lake-image .lake-image-img{border:0;border-radius:4px;width:100%;height:100%}lake-box[name=image] .lake-box-focused .lake-image{border-color:var(--lake-box-border-focus-color)}.lake-image-caption{-webkit-user-modify:read-write-plaintext-only;position:relative;font-size:14px;line-height:normal;text-align:start;color:var(--lake-secondary-text-color);padding-top:2px;padding-bottom:8px;display:none}.lake-image-caption:focus{outline:0}.lake-image-caption.lake-placeholder::before{position:absolute;top:2px;left:0;color:var(--lake-secondary-text-color);content:attr(placeholder);pointer-events:none}.lake-image-uploading .lake-image-img{opacity:.5}.lake-image .lake-progress{position:absolute;bottom:8px;right:8px;z-index:1;border-radius:4px;background-color:rgba(0,0,0,.4);line-height:0;display:flex;align-items:center;padding:0 6px}.lake-image .lake-progress svg{fill:#fff;width:16px;height:16px;margin:6px;animation:lakerotate 1s linear 0s infinite normal none}.lake-image .lake-progress .lake-percent{font-size:14px;color:#fff;margin:6px;white-space:nowrap}.lake-image .lake-error{padding:16px}.lake-image.lake-image-error{border:1px solid var(--lake-box-border-color)}.lake-image.lake-image-error ::selection{background-color:transparent}lake-box[name=image] .lake-box-selected .lake-image-error{background-color:var(--lake-selection-background-color)}.lake-image .lake-error-icon{line-height:0;text-align:center;margin-bottom:8px}.lake-image .lake-error-icon svg{fill:var(--lake-error-color);width:64px;height:64px}.lake-image .lake-error-name{color:var(--lake-error-color);line-height:normal}.lake-pswp .pswp__button svg{fill:#fff;width:24px;height:24px}.lake-pswp .pswp__img,.lake-pswp.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img,.lake-pswp.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active{cursor:pointer}
24
23
  /*! PhotoSwipe main CSS by Dmytro Semenov | photoswipe.com */.pswp{--pswp-bg:#000;--pswp-placeholder-bg:#222;--pswp-root-z-index:100000;--pswp-preloader-color:rgba(79, 79, 79, 0.4);--pswp-preloader-color-secondary:rgba(255, 255, 255, 0.9);--pswp-icon-color:#fff;--pswp-icon-color-secondary:#4f4f4f;--pswp-icon-stroke-color:#4f4f4f;--pswp-icon-stroke-width:2px;--pswp-error-text-color:var(--pswp-icon-color)}.pswp{position:fixed;top:0;left:0;width:100%;height:100%;z-index:var(--pswp-root-z-index);display:none;touch-action:none;outline:0;opacity:.003;contain:layout style size;-webkit-tap-highlight-color:transparent}.pswp:focus{outline:0}.pswp *{box-sizing:border-box}.pswp img{max-width:none}.pswp--open{display:block}.pswp,.pswp__bg{transform:translateZ(0);will-change:opacity}.pswp__bg{opacity:.005;background:var(--pswp-bg)}.pswp,.pswp__scroll-wrap{overflow:hidden}.pswp__bg,.pswp__container,.pswp__content,.pswp__img,.pswp__item,.pswp__scroll-wrap,.pswp__zoom-wrap{position:absolute;top:0;left:0;width:100%;height:100%}.pswp__img,.pswp__zoom-wrap{width:auto;height:auto}.pswp--click-to-zoom.pswp--zoom-allowed .pswp__img{cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.pswp--click-to-zoom.pswp--zoomed-in .pswp__img{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,.pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active,.pswp__img{cursor:-webkit-zoom-out;cursor:-moz-zoom-out;cursor:zoom-out}.pswp__button,.pswp__container,.pswp__counter,.pswp__img{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pswp__item{z-index:1;overflow:hidden}.pswp__hidden{display:none!important}.pswp__content{pointer-events:none}.pswp__content>*{pointer-events:auto}.pswp__error-msg-container{display:grid}.pswp__error-msg{margin:auto;font-size:1em;line-height:1;color:var(--pswp-error-text-color)}.pswp .pswp__hide-on-close{opacity:.005;will-change:opacity;transition:opacity var(--pswp-transition-duration) cubic-bezier(.4, 0, .22, 1);z-index:10;pointer-events:none}.pswp--ui-visible .pswp__hide-on-close{opacity:1;pointer-events:auto}.pswp__button{position:relative;display:block;width:50px;height:60px;padding:0;margin:0;overflow:hidden;cursor:pointer;background:0 0;border:0;box-shadow:none;opacity:.85;-webkit-appearance:none;-webkit-touch-callout:none}.pswp__button:active,.pswp__button:focus,.pswp__button:hover{transition:none;padding:0;background:0 0;border:0;box-shadow:none;opacity:1}.pswp__button:disabled{opacity:.3;cursor:auto}.pswp__icn{fill:var(--pswp-icon-color);color:var(--pswp-icon-color-secondary)}.pswp__icn{position:absolute;top:14px;left:9px;width:32px;height:32px;overflow:hidden;pointer-events:none}.pswp__icn-shadow{stroke:var(--pswp-icon-stroke-color);stroke-width:var(--pswp-icon-stroke-width);fill:none}.pswp__icn:focus{outline:0}.pswp__img--with-bg,div.pswp__img--placeholder{background:var(--pswp-placeholder-bg)}.pswp__top-bar{position:absolute;left:0;top:0;width:100%;height:60px;display:flex;flex-direction:row;justify-content:flex-end;z-index:10;pointer-events:none!important}.pswp__top-bar>*{pointer-events:auto;will-change:opacity}.pswp__button--close{margin-right:6px}.pswp__button--arrow{position:absolute;top:0;width:75px;height:100px;top:50%;margin-top:-50px}.pswp__button--arrow:disabled{display:none;cursor:default}.pswp__button--arrow .pswp__icn{top:50%;margin-top:-30px;width:60px;height:60px;background:0 0;border-radius:0}.pswp--one-slide .pswp__button--arrow{display:none}.pswp--touch .pswp__button--arrow{visibility:hidden}.pswp--has_mouse .pswp__button--arrow{visibility:visible}.pswp__button--arrow--prev{right:auto;left:0}.pswp__button--arrow--next{right:0}.pswp__button--arrow--next .pswp__icn{left:auto;right:14px;transform:scale(-1,1)}.pswp__button--zoom{display:none}.pswp--zoom-allowed .pswp__button--zoom{display:block}.pswp--zoomed-in .pswp__zoom-icn-bar-v{display:none}.pswp__preloader{position:relative;overflow:hidden;width:50px;height:60px;margin-right:auto}.pswp__preloader .pswp__icn{opacity:0;transition:opacity .2s linear;animation:pswp-clockwise .6s linear infinite}.pswp__preloader--active .pswp__icn{opacity:.85}@keyframes pswp-clockwise{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.pswp__counter{height:30px;margin-top:15px;margin-inline-start:20px;font-size:14px;line-height:30px;color:var(--pswp-icon-color);text-shadow:1px 1px 3px var(--pswp-icon-color-secondary);opacity:.85}.pswp--one-slide .pswp__counter{display:none}
24
+ .lake-media-placeholder{display:flex;align-items:center;justify-content:center;border:1px solid transparent;background-color:var(--lake-box-placeholder-background-color);border-radius:4px}.lake-media-placeholder svg{width:50%;max-width:64px;height:50%;max-height:64px;fill:var(--lake-box-placeholder-text-color)}.lake-media{position:relative;font-size:var(--lake-font-size);font-weight:400;line-height:0;border:1px solid transparent;border-radius:4px}.lake-media video,.lake-media-placeholder{width:560px;height:315px}.lake-media .lake-progress{position:absolute;bottom:8px;right:8px;z-index:1;border-radius:4px;background-color:rgba(0,0,0,.4);line-height:0;display:flex;align-items:center;padding:0 6px}.lake-media .lake-progress svg{fill:#fff;width:16px;height:16px;margin:6px;animation:lakerotate 1s linear 0s infinite normal none}.lake-media .lake-progress .lake-percent{font-size:14px;color:#fff;margin:6px;white-space:nowrap}.lake-media-error .lake-media-placeholder{border:1px solid var(--lake-box-border-color);background-color:transparent}lake-box[name=media] .lake-box-selected .lake-media-placeholder{background-color:var(--lake-selection-background-color)}.lake-media-error .lake-media-placeholder svg{fill:var(--lake-error-color)}
25
25
  .lake-file{position:relative;font-size:var(--lake-font-size);font-weight:400;line-height:0;border:1px solid transparent;border-radius:4px}.lake-container[contenteditable=true] .lake-file{cursor:default;user-select:none}.lake-container[contenteditable=false] .lake-file{cursor:pointer;user-select:auto}lake-box[name=file] .lake-box-strip{align-self:center}.lake-file .lake-file-info{display:flex;align-items:center}.lake-file .lake-file-type svg{width:16px;height:16px;margin:4px;fill:var(--lake-text-color)}.lake-file .lake-file-name{line-height:24px;margin-right:6px;color:var(--lake-link-color)}lake-box[name=file] .lake-box-hovered .lake-file{background-color:var(--lake-box-background-color)}lake-box[name=file] .lake-box-selected .lake-file{background-color:var(--lake-selection-background-color)}lake-box[name=file] .lake-box-focused .lake-file{background-color:var(--lake-selection-background-color)}.lake-file-uploading .lake-progress{display:flex;align-items:center;margin-right:6px}.lake-file-uploading .lake-progress svg{width:16px;height:16px;margin:4px;animation:lakerotate 1s linear 0s infinite normal none;fill:var(--lake-text-color)}.lake-file-uploading .lake-progress .lake-percent{line-height:24px;margin-left:4px;white-space:nowrap}.lake-file-error .lake-file-type svg{fill:var(--lake-error-color)}.lake-file-error .lake-file-name{color:var(--lake-error-color)}
26
+ :root{--lake-code-highlight-keyword:#af00db;--lake-code-highlight-name:#444d56;--lake-code-highlight-function:#005cc5;--lake-code-highlight-constant:#0550ae;--lake-code-highlight-definition:#444d56;--lake-code-highlight-type:#0550ae;--lake-code-highlight-operator:#444d56;--lake-code-highlight-comment:#008000;--lake-code-highlight-heading:#000080;--lake-code-highlight-boolean:#0550ae;--lake-code-highlight-string:#a31515;--lake-code-highlight-number:#098658;--lake-code-highlight-invalid:#cd3131}.lake-dark{--lake-code-highlight-keyword:#b392f0;--lake-code-highlight-name:#e1e4e8;--lake-code-highlight-function:#61afef;--lake-code-highlight-constant:#9ecBff;--lake-code-highlight-definition:#e1e4e8;--lake-code-highlight-type:#9ecBff;--lake-code-highlight-operator:#e1e4e8;--lake-code-highlight-comment:#6a9955;--lake-code-highlight-heading:#569cd6;--lake-code-highlight-boolean:#9ecBff;--lake-code-highlight-string:#ce9178;--lake-code-highlight-number:#b5cea8;--lake-code-highlight-invalid:#f44747}.cm-editor{font-size:14px;border-radius:5px;color:var(--lake-text-color);background-color:var(--lake-box-background-color)}.cm-editor.cm-focused{outline:0}.cm-editor .cm-content{font-family:Consolas,Courier,monospace;margin:16px 20px;caret-color:var(--lake-text-color)}lake-box[name=codeBlock] .lake-box-activated .lake-code-block,lake-box[name=codeBlock] .lake-box-focused .lake-code-block{border-color:var(--lake-box-border-color)}.lake-code-block{position:relative;border:1px solid transparent;border-radius:5px}.lake-code-block .lake-dropdown{position:absolute;top:2px;inset-inline-end:2px;display:none}lake-box[name=codeBlock] .lake-box-activated .lake-code-block .lake-dropdown,lake-box[name=codeBlock] .lake-box-focused .lake-code-block .lake-dropdown{display:block}.lake-code-block .lake-dropdown .lake-dropdown-title{margin:0;padding-right:4px;background-color:var(--lake-box-background-color)}.lake-code-block .lake-dropdown.lake-list-dropdown .lake-dropdown-title-hovered{background-color:var(--lake-button-background-active-color)}.lake-code-block .lake-dropdown .lake-dropdown-text{margin:3px 6px}.lake-code-block .lake-dropdown .lake-dropdown-down-icon svg{margin:5px 2px}.lake-code-block .lake-dropdown .lake-dropdown-menu{top:24px;left:auto;right:0}.lake-code-block-error{font-size:14px;color:var(--lake-error-color);border-radius:5px;background-color:var(--lake-box-background-color);padding:16px 20px}.lake-container pre[class*=lang-]{margin:0;font-size:14px;font-family:Consolas,Courier,monospace;border-radius:5px;color:var(--lake-text-color);background-color:var(--lake-box-background-color);margin-bottom:16px;padding:16px 20px}.lake-container pre[class*=lang-] code{display:block;background-color:transparent}
26
27
  .lake-emoji{line-height:0;border:1px solid transparent;border-radius:2px}.lake-emoji img{border:0;border-radius:2px;width:32px;height:32px}lake-box[name=emoji] .lake-box-focused .lake-emoji{border-color:var(--lake-selection-background-color);background-color:var(--lake-selection-background-color)}
27
28
  .lake-equation{position:relative;font-weight:400;border:1px solid transparent;border-radius:4px}.lake-container[contenteditable=true] .lake-equation{user-select:none}lake-box[name=equation] .lake-box-strip{align-self:center}lake-box[name=equation] .lake-box-selected .lake-equation{background-color:var(--lake-selection-background-color)}lake-box[name=equation] .lake-box-focused .lake-equation{background-color:var(--lake-selection-background-color)}.lake-equation .lake-equation-view{padding:0 6px}.lake-equation .lake-equation-form{position:absolute;top:28px;left:0;z-index:1;border:1px solid var(--lake-popup-border-color);border-radius:5px;padding:16px;width:fit-content;background-color:var(--lake-popup-background-color);box-shadow:var(--lake-popup-shadow);display:none}lake-box[name=equation] .lake-box-activated .lake-equation-form,lake-box[name=equation] .lake-box-focused .lake-equation-form{display:flex}.lake-equation .lake-equation-form textarea{border:0;background-color:var(--lake-popup-background-color);font-family:Consolas,Courier,monospace;font-size:14px;color:var(--lake-text-color);padding:0;margin-right:8px;width:300px;height:80px;resize:none;scrollbar-width:thin}.lake-equation .lake-equation-form textarea:focus-visible{outline:0}.lake-equation .lake-equation-form .lake-button-row{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end}.lake-equation-error{padding:0 6px;font-size:14px;color:var(--lake-error-color);background-color:var(--lake-box-background-color)}
28
29
  .lake-mention-menu{max-height:208px}.lake-mention-menu .lake-mention-avatar{margin-inline-end:8px;line-height:0}.lake-mention-menu .lake-mention-avatar img{border-radius:100%;width:32px;height:32px}.lake-mention-menu .lake-mention-nickname{margin-inline-end:4px;font-weight:500;color:var(--lake-text-color);white-space:nowrap}.lake-mention-menu .lake-mention-name{color:#8c8c8c}