@covalent/components 8.20.1 → 8.20.2
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/{code-editor-52bb69d3.mjs → code-editor-74bd33c8.mjs} +9 -10
- package/{code-editor-a807e570.js → code-editor-b2ecbde1.js} +71 -71
- package/code-editor.js +1 -1
- package/code-editor.mjs +1 -1
- package/{html-13b6e5f7.js → html-47efd31e.js} +1 -1
- package/{html-4a5011cc.mjs → html-d44aa562.mjs} +1 -1
- package/icon-button.js +5 -5
- package/icon-button.mjs +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/{javascript-09601b3f.mjs → javascript-197b275e.mjs} +2 -2
- package/{javascript-40f67497.js → javascript-5e85eaec.js} +1 -1
- package/notebook-cell/notebook-cell.d.ts +2 -3
- package/notebook-cell/notebook-cell.d.ts.map +1 -1
- package/notebook-cell.js +16 -20
- package/notebook-cell.mjs +56 -68
- package/package.json +1 -1
- package/{python-03a540c0.js → python-2078e6ac.js} +1 -1
- package/{python-e1c7b4a2.mjs → python-f5318e98.mjs} +1 -1
- package/{typescript-d72caeef.js → typescript-3dac4bc2.js} +1 -1
- package/{typescript-4eaf4bc3.mjs → typescript-3ee8c761.mjs} +1 -1
package/code-editor.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");const e=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");const e=require("./code-editor-b2ecbde1.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");Object.defineProperty(exports,"CovalentCodeEditor",{enumerable:!0,get:()=>e.CovalentCodeEditor});exports.default=e.CovalentCodeEditor$1;
|
package/code-editor.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import "./query-assigned-elements-4a39219d.mjs";
|
2
2
|
import "./property-9b6ea53b.mjs";
|
3
|
-
import { C as e,
|
3
|
+
import { C as e, a as d } from "./code-editor-74bd33c8.mjs";
|
4
4
|
import "./async-directive-99a01ec7.mjs";
|
5
5
|
import "./directive-helpers-e3ea6592.mjs";
|
6
6
|
import "./directive-daf4e9b6.mjs";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./code-editor-b2ecbde1.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
4
|
* Released under the MIT license
|
package/icon-button.js
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
* @license
|
3
3
|
* Copyright 2018 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
5
|
-
*/class
|
5
|
+
*/class t extends n.s{constructor(){super(...arguments),this.disabled=!1,this.icon="",this.shouldRenderRipple=!1,this.rippleHandlers=new p.RippleHandlers(()=>(this.shouldRenderRipple=!0,this.ripple))}renderRipple(){return this.shouldRenderRipple?n.x`
|
6
6
|
<mwc-ripple
|
7
7
|
.disabled="${this.disabled}"
|
8
8
|
unbounded>
|
9
|
-
</mwc-ripple>`:""}focus(){const
|
9
|
+
</mwc-ripple>`:""}focus(){const o=this.buttonElement;o&&(this.rippleHandlers.startFocus(),o.focus())}blur(){const o=this.buttonElement;o&&(this.rippleHandlers.endFocus(),o.blur())}render(){return n.x`<button
|
10
10
|
class="mdc-icon-button mdc-icon-button--display-flex"
|
11
11
|
aria-label="${this.ariaLabel||this.icon}"
|
12
12
|
aria-haspopup="${f.l(this.ariaHasPopup)}"
|
@@ -24,9 +24,9 @@
|
|
24
24
|
<span
|
25
25
|
><slot></slot
|
26
26
|
></span>
|
27
|
-
</button>`}handleRippleMouseDown(
|
27
|
+
</button>`}handleRippleMouseDown(o){const c=()=>{window.removeEventListener("mouseup",c),this.handleRippleDeactivate()};window.addEventListener("mouseup",c),this.rippleHandlers.startPress(o)}handleRippleTouchStart(o){this.rippleHandlers.startPress(o)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}e.__decorate([s.n({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0);e.__decorate([s.n({type:String})],t.prototype,"icon",void 0);e.__decorate([u.ariaProperty,s.n({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0);e.__decorate([u.ariaProperty,s.n({type:String,attribute:"aria-haspopup"})],t.prototype,"ariaHasPopup",void 0);e.__decorate([h.i("button")],t.prototype,"buttonElement",void 0);e.__decorate([p.e("mwc-ripple")],t.prototype,"ripple",void 0);e.__decorate([m.t()],t.prototype,"shouldRenderRipple",void 0);e.__decorate([b.e({passive:!0})],t.prototype,"handleRippleMouseDown",null);e.__decorate([b.e({passive:!0})],t.prototype,"handleRippleTouchStart",null);/**
|
28
28
|
* @license
|
29
29
|
* Copyright 2021 Google LLC
|
30
30
|
* SPDX-LIcense-Identifier: Apache-2.0
|
31
|
-
*/const g=n.i`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{display:none}.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block;max-height:48px;max-width:48px}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button.mdc-icon-button--reduced-size:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38))}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}:host{display:inline-block;outline:none}:host([disabled]){pointer-events:none}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block}:host{--mdc-ripple-color: currentcolor;-webkit-tap-highlight-color:transparent}:host,.mdc-icon-button{vertical-align:top}.mdc-icon-button{width:var(--mdc-icon-button-size, 48px);height:var(--mdc-icon-button-size, 48px);padding:calc( (var(--mdc-icon-button-size, 48px) - var(--mdc-icon-size, 24px)) / 2 )}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block;width:var(--mdc-icon-size, 24px);height:var(--mdc-icon-size, 24px)}`,_=`:host{color:var(--mdc-theme-text-icon-on-background)}
|
32
|
-
`;var v=Object.defineProperty,x=Object.getOwnPropertyDescriptor,y=(r,
|
31
|
+
*/const g=n.i`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{display:none}.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block;max-height:48px;max-width:48px}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button.mdc-icon-button--reduced-size:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38))}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}:host{display:inline-block;outline:none}:host([disabled]){pointer-events:none}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block}:host{--mdc-ripple-color: currentcolor;-webkit-tap-highlight-color:transparent}:host,.mdc-icon-button{vertical-align:top}.mdc-icon-button{width:var(--mdc-icon-button-size, 48px);height:var(--mdc-icon-button-size, 48px);padding:calc( (var(--mdc-icon-button-size, 48px) - var(--mdc-icon-size, 24px)) / 2 )}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block;width:var(--mdc-icon-size, 24px);height:var(--mdc-icon-size, 24px)}`,_=`:host{color:var(--mdc-theme-text-icon-on-background)}:host .mdc-icon-button{cursor:var(--cv-icon-button-cursor, pointer)}
|
32
|
+
`;var v=Object.defineProperty,x=Object.getOwnPropertyDescriptor,y=(r,o,c,d)=>{for(var i=d>1?void 0:d?x(o,c):o,l=r.length-1,a;l>=0;l--)(a=r[l])&&(i=(d?a(o,c,i):a(i))||i);return d&&i&&v(o,c,i),i};exports.CovalentIconButton=class extends t{};exports.CovalentIconButton.styles=[g,n.i`${n.r(_)}`];exports.CovalentIconButton=y([n.e("cv-icon-button")],exports.CovalentIconButton);const w=exports.CovalentIconButton;exports.default=w;
|
package/icon-button.mjs
CHANGED
@@ -118,7 +118,7 @@ n([
|
|
118
118
|
* Copyright 2021 Google LLC
|
119
119
|
* SPDX-LIcense-Identifier: Apache-2.0
|
120
120
|
*/
|
121
|
-
const R = u`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{display:none}.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block;max-height:48px;max-width:48px}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button.mdc-icon-button--reduced-size:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38))}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}:host{display:inline-block;outline:none}:host([disabled]){pointer-events:none}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block}:host{--mdc-ripple-color: currentcolor;-webkit-tap-highlight-color:transparent}:host,.mdc-icon-button{vertical-align:top}.mdc-icon-button{width:var(--mdc-icon-button-size, 48px);height:var(--mdc-icon-button-size, 48px);padding:calc( (var(--mdc-icon-button-size, 48px) - var(--mdc-icon-size, 24px)) / 2 )}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block;width:var(--mdc-icon-size, 24px);height:var(--mdc-icon-size, 24px)}`, $ = `:host{color:var(--mdc-theme-text-icon-on-background)}
|
121
|
+
const R = u`.material-icons{font-family:var(--mdc-icon-font, "Material Icons");font-weight:normal;font-style:normal;font-size:var(--mdc-icon-size, 24px);line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{display:none}.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block;max-height:48px;max-width:48px}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{pointer-events:none;border:2px solid transparent;border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{content:"";border:2px solid transparent;border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}}@media screen and (forced-colors: active)and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring::after,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button.mdc-icon-button--reduced-size:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-disabled-on-light, rgba(0, 0, 0, 0.38))}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:transparent;fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}:host{display:inline-block;outline:none}:host([disabled]){pointer-events:none}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block}:host{--mdc-ripple-color: currentcolor;-webkit-tap-highlight-color:transparent}:host,.mdc-icon-button{vertical-align:top}.mdc-icon-button{width:var(--mdc-icon-button-size, 48px);height:var(--mdc-icon-button-size, 48px);padding:calc( (var(--mdc-icon-button-size, 48px) - var(--mdc-icon-size, 24px)) / 2 )}.mdc-icon-button i,.mdc-icon-button svg,.mdc-icon-button img,.mdc-icon-button ::slotted(*){display:block;width:var(--mdc-icon-size, 24px);height:var(--mdc-icon-size, 24px)}`, $ = `:host{color:var(--mdc-theme-text-icon-on-background)}:host .mdc-icon-button{cursor:var(--cv-icon-button-cursor, pointer)}
|
122
122
|
`;
|
123
123
|
var k = Object.defineProperty, z = Object.getOwnPropertyDescriptor, H = (s, o, i, c) => {
|
124
124
|
for (var e = c > 1 ? void 0 : c ? z(o, i) : o, l = s.length - 1, a; l >= 0; l--)
|
package/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./action-ribbon.js"),t=require("./alert.js"),r=require("./app-shell.js"),n=require("./badge.js"),o=require("./button.js"),a=require("./checkbox.js"),i=require("./card.js"),u=require("./chip-c65a4549.js"),l=require("./chip-set.js"),c=require("./circular-progress.js"),b=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./action-ribbon.js"),t=require("./alert.js"),r=require("./app-shell.js"),n=require("./badge.js"),o=require("./button.js"),a=require("./checkbox.js"),i=require("./card.js"),u=require("./chip-c65a4549.js"),l=require("./chip-set.js"),c=require("./circular-progress.js"),b=require("./code-editor-b2ecbde1.js"),C=require("./code-snippet.js"),s=require("./dialog-86192b9a.js"),p=require("./drawer.js"),v=require("./empty-state.js"),d=require("./expansion-panel.js"),g=require("./expansion-panel-item.js"),q=require("./formfield.js"),m=require("./icon.js"),P=require("./icon-button.js"),y=require("./icon-button-toggle.js"),f=require("./icon-check-toggle.js"),j=require("./icon-radio-toggle.js"),O=require("./linear-progress.js"),S=require("./check-list-item.js"),T=require("./list.js"),I=require("./list-item.js"),h=require("./nav-list-item.js"),L=require("./radio-list-item.js"),x=require("./menu.js"),B=require("./notebook-cell.js"),k=require("./radio.js"),R=require("./select.js"),A=require("./side-sheet.js"),E=require("./slider.js"),D=require("./slider-range.js"),F=require("./snackbar.js"),w=require("./status-dialog.js"),H=require("./status-header.js"),N=require("./status-header-item.js"),M=require("./switch.js"),_=require("./tab.js"),z=require("./tab-bar.js"),G=require("./textarea.js"),J=require("./textfield.js"),K=require("./text-lockup.js"),Q=require("./toolbar.js"),U=require("./tooltip.js"),V=require("./top-app-bar.js"),W=require("./top-app-bar-fixed.js"),X=require("./tree-list.js"),Y=require("./tree-list-item.js"),Z=require("./typography.js");require("./query-assigned-elements-f623705d.js");require("./utils-a8190a39.js");require("./observer-a096ab43.js");require("./foundation-e980aa3d.js");require("./tslib.es6-98719205.js");require("./foundation-e830bd94.js");require("./class-map-0a4c6ca9.js");require("./directive-1186bc23.js");require("./property-57f6f6fe.js");require("./query-680f1868.js");require("./mwc-drawer-base-bbae43c3.js");require("./inert.esm-2cee6f2e.js");require("./base-element-58a3f9ea.js");require("./mwc-icon-f87639bc.js");require("./ripple-handlers-9fb4a31a.js");require("./state-0974a8e5.js");require("./style-map-a135c6ab.js");require("./aria-property-849c8816.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");require("./mwc-checkbox-base-935d9566.js");require("./form-element-c553d6f5.js");require("./mwc-checkbox.css-b3434429.js");require("./keyboard-39125691.js");require("./_commonjsHelpers-2367a3a2.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./query-assigned-nodes-99eae71d.js");require("./mwc-radio-base-147cf999.js");require("./mwc-radio.css-4e140252.js");require("./mwc-list-item-base-06d93e6e.js");require("./list-item-8b940ec8.js");require("./mwc-list-base-22616d0a.js");require("./mwc-menu-base-08f54c38.js");require("./mwc-line-ripple-directive-40145003.js");require("./mwc-slider.css-c5f99704.js");require("./mwc-tab-base-f2269fd1.js");require("./textfield-48207bf2.js");require("./mwc-top-app-bar-base-8c8cde51.js");require("./top-app-bar-a531c1b4.js");Object.defineProperty(exports,"CovalentActionRibbon",{enumerable:!0,get:()=>e.CovalentActionRibbon});Object.defineProperty(exports,"CovalentAlert",{enumerable:!0,get:()=>t.CovalentAlert});Object.defineProperty(exports,"CovalentAppShell",{enumerable:!0,get:()=>r.CovalentAppShell});Object.defineProperty(exports,"CovalentBadge",{enumerable:!0,get:()=>n.CovalentBadge});Object.defineProperty(exports,"CovalentButton",{enumerable:!0,get:()=>o.CovalentButton});Object.defineProperty(exports,"CovalentCheckbox",{enumerable:!0,get:()=>a.CovalentCheckbox});Object.defineProperty(exports,"CovalentCard",{enumerable:!0,get:()=>i.CovalentCard});Object.defineProperty(exports,"CovalentChip",{enumerable:!0,get:()=>u.CovalentChip});Object.defineProperty(exports,"CovalentChipSet",{enumerable:!0,get:()=>l.CovalentChipSet});Object.defineProperty(exports,"CovalentCircularProgress",{enumerable:!0,get:()=>c.CovalentCircularProgress});Object.defineProperty(exports,"CovalentCodeEditor",{enumerable:!0,get:()=>b.CovalentCodeEditor});Object.defineProperty(exports,"CovalentCodeSnippet",{enumerable:!0,get:()=>C.CovalentCodeSnippet});Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>s.CovalentDialog});Object.defineProperty(exports,"CovalentDrawer",{enumerable:!0,get:()=>p.CovalentDrawer});Object.defineProperty(exports,"CovalentEmptyState",{enumerable:!0,get:()=>v.CovalentEmptyState});Object.defineProperty(exports,"CovalentExpansionPanel",{enumerable:!0,get:()=>d.CovalentExpansionPanel});Object.defineProperty(exports,"CovalentExpansionPanelItem",{enumerable:!0,get:()=>g.CovalentExpansionPanelItem});Object.defineProperty(exports,"CovalentFormfield",{enumerable:!0,get:()=>q.CovalentFormfield});Object.defineProperty(exports,"CovalentIcon",{enumerable:!0,get:()=>m.CovalentIcon});Object.defineProperty(exports,"CovalentIconButton",{enumerable:!0,get:()=>P.CovalentIconButton});Object.defineProperty(exports,"CovalentIconButtonToggle",{enumerable:!0,get:()=>y.CovalentIconButtonToggle});Object.defineProperty(exports,"CovalentIconCheckToggle",{enumerable:!0,get:()=>f.CovalentIconCheckToggle});Object.defineProperty(exports,"CovalentIconRadioToggle",{enumerable:!0,get:()=>j.CovalentIconRadioToggle});Object.defineProperty(exports,"CovalentLinearProgress",{enumerable:!0,get:()=>O.CovalentLinearProgress});Object.defineProperty(exports,"CovalentCheckListItem",{enumerable:!0,get:()=>S.CovalentCheckListItem});Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>T.CovalentList});Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>I.CovalentListItem});Object.defineProperty(exports,"CovalentNavRailListItem",{enumerable:!0,get:()=>h.CovalentNavRailListItem});Object.defineProperty(exports,"CovalentRadioListItem",{enumerable:!0,get:()=>L.CovalentRadioListItem});Object.defineProperty(exports,"CovalentMenu",{enumerable:!0,get:()=>x.CovalentMenu});Object.defineProperty(exports,"CovalentNotebookCell",{enumerable:!0,get:()=>B.CovalentNotebookCell});Object.defineProperty(exports,"CovalentRadio",{enumerable:!0,get:()=>k.CovalentRadio});Object.defineProperty(exports,"CovalentSelect",{enumerable:!0,get:()=>R.CovalentSelect});Object.defineProperty(exports,"CovalentSideSheet",{enumerable:!0,get:()=>A.CovalentSideSheet});Object.defineProperty(exports,"CovalentSlider",{enumerable:!0,get:()=>E.CovalentSlider});Object.defineProperty(exports,"CovalentSliderRange",{enumerable:!0,get:()=>D.CovalentSliderRange});Object.defineProperty(exports,"CovalentSnackbar",{enumerable:!0,get:()=>F.CovalentSnackbar});Object.defineProperty(exports,"CovalentStatusDialog",{enumerable:!0,get:()=>w.CovalentStatusDialog});Object.defineProperty(exports,"CovalentStatusHeader",{enumerable:!0,get:()=>H.CovalentStatusHeader});Object.defineProperty(exports,"CovalentStatusHeaderItem",{enumerable:!0,get:()=>N.CovalentStatusHeaderItem});Object.defineProperty(exports,"CovalentSwitch",{enumerable:!0,get:()=>M.CovalentSwitch});Object.defineProperty(exports,"CovalentTab",{enumerable:!0,get:()=>_.CovalentTab});Object.defineProperty(exports,"CovalentTabBar",{enumerable:!0,get:()=>z.CovalentTabBar});Object.defineProperty(exports,"CovalentTextArea",{enumerable:!0,get:()=>G.CovalentTextArea});Object.defineProperty(exports,"CovalentTextField",{enumerable:!0,get:()=>J.CovalentTextField});Object.defineProperty(exports,"CovalentTextLockup",{enumerable:!0,get:()=>K.CovalentTextLockup});Object.defineProperty(exports,"CovalentToolbar",{enumerable:!0,get:()=>Q.CovalentToolbar});Object.defineProperty(exports,"CovalentTooltip",{enumerable:!0,get:()=>U.CovalentTooltip});Object.defineProperty(exports,"CovalentTopAppBar",{enumerable:!0,get:()=>V.CovalentTopAppBar});Object.defineProperty(exports,"CovalentTopAppBarFixed",{enumerable:!0,get:()=>W.CovalentTopAppBarFixed});Object.defineProperty(exports,"CovalentTreeList",{enumerable:!0,get:()=>X.CovalentTreeList});Object.defineProperty(exports,"CovalentTreeListItem",{enumerable:!0,get:()=>Y.CovalentTreeListItem});Object.defineProperty(exports,"CovalentTypography",{enumerable:!0,get:()=>Z.CovalentTypography});
|
package/index.mjs
CHANGED
@@ -8,7 +8,7 @@ import { CovalentCard as oo } from "./card.mjs";
|
|
8
8
|
import { C as ro } from "./chip-fb0ea5c5.mjs";
|
9
9
|
import { CovalentChipSet as po } from "./chip-set.mjs";
|
10
10
|
import { CovalentCircularProgress as ao } from "./circular-progress.mjs";
|
11
|
-
import { C as no } from "./code-editor-
|
11
|
+
import { C as no } from "./code-editor-74bd33c8.mjs";
|
12
12
|
import { CovalentCodeSnippet as Co } from "./code-snippet.mjs";
|
13
13
|
import { C as fo } from "./dialog-16aad066.mjs";
|
14
14
|
import { CovalentDrawer as so } from "./drawer.mjs";
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
2
|
-
import "./code-editor-
|
1
|
+
import { conf as t, language as e } from "./typescript-3ee8c761.mjs";
|
2
|
+
import "./code-editor-74bd33c8.mjs";
|
3
3
|
import "./query-assigned-elements-4a39219d.mjs";
|
4
4
|
import "./property-9b6ea53b.mjs";
|
5
5
|
import "./async-directive-99a01ec7.mjs";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./typescript-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./typescript-3dac4bc2.js");require("./code-editor-b2ecbde1.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
4
|
* Released under the MIT license
|
@@ -47,7 +47,7 @@ export declare class CovalentNotebookCell extends LitElement {
|
|
47
47
|
*/
|
48
48
|
hideCount: boolean;
|
49
49
|
/**
|
50
|
-
*
|
50
|
+
* Theme for the code editor
|
51
51
|
*/
|
52
52
|
editorTheme: string;
|
53
53
|
private _editor;
|
@@ -82,8 +82,7 @@ export declare class CovalentNotebookCell extends LitElement {
|
|
82
82
|
connectedCallback(): void;
|
83
83
|
disconnectedCallback(): void;
|
84
84
|
handleCodeChange(e: CustomEvent): void;
|
85
|
-
|
86
|
-
setEditorFocus(setFocus: boolean): void;
|
85
|
+
setEditorFocus(e: CustomEvent, setFocus: boolean): void;
|
87
86
|
setEditorInstance(e: CustomEvent): void;
|
88
87
|
showContextMenu(e: MouseEvent): void;
|
89
88
|
protected updated(changedProperties: PropertyValues): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"notebook-cell.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/notebook-cell/notebook-cell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,cAAc,EAAa,MAAM,KAAK,CAAC;
|
1
|
+
{"version":3,"file":"notebook-cell.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/notebook-cell/notebook-cell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,cAAc,EAAa,MAAM,KAAK,CAAC;AAMvE,OAAO,4BAA4B,CAAC;AACpC,OAAO,8BAA8B,CAAC;AACtC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAElC,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,oBAAoB,CAAC;KAC1C;CACF;AAED;;;;GAIG;AACH,qBACa,oBAAqB,SAAQ,UAAU;IAClD;;OAEG;IAEH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IAEH,IAAI,SAAM;IAEV;;OAEG;IAEH,QAAQ,SAAM;IAEd;;OAEG;IAEH,OAAO,UAAS;IAEhB;;OAEG;IAEH,QAAQ,UAAS;IAEjB;;OAEG;IAEH,aAAa,SAAK;IAElB;;OAEG;IAEH,UAAU,UAAS;IAEnB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,WAAW,SAAM;IAEjB,OAAO,CAAC,OAAO,CAAgC;IAE/C,OAAO,CAAC,cAAc,CAAS;IAG/B,OAAO,CAAC,WAAW,CAAS;IAE5B,OAAO,CAAC,cAAc,CAAU;IAEhC,OAAO,CAAC,aAAa,CAAuB;IAE5C,aAAa;;;;;;;;;;;;;;;;;;;;MAkBX;IAEF,OAAgB,MAAM,4BAIpB;;IAQF,gBAAgB,IAAI,IAAI;IAIxB,iBAAiB,IAAI,IAAI;IAKzB,oBAAoB,IAAI,IAAI;IAK5B,gBAAgB,CAAC,CAAC,EAAE,WAAW;IAI/B,cAAc,CAAC,CAAC,EAAE,WAAW,EAAE,QAAQ,EAAE,OAAO;IAMhD,iBAAiB,CAAC,CAAC,EAAE,WAAW;IAWhC,eAAe,CAAC,CAAC,EAAE,UAAU;IAkC7B,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,cAAc;IAkBnD,gBAAgB,IAAI,MAAM;IAS1B,YAAY;IAqBZ,YAAY;IASZ,oBAAoB;IAapB,SAAS,CAAC,MAAM;CAgCjB;AAED,eAAe,oBAAoB,CAAC"}
|
package/notebook-cell.js
CHANGED
@@ -1,39 +1,35 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
2
|
-
`;var x=Object.defineProperty,m=Object.getOwnPropertyDescriptor,n=(a,e,
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./query-assigned-elements-f623705d.js"),s=require("./property-57f6f6fe.js"),v=require("./state-0974a8e5.js"),p=require("./class-map-0a4c6ca9.js"),b=require("./code-editor-b2ecbde1.js");require("./code-snippet.js");require("./icon-button.js");require("./typography.js");require("./directive-1186bc23.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./query-assigned-nodes-99eae71d.js");require("./_commonjsHelpers-2367a3a2.js");require("./tslib.es6-98719205.js");require("./ripple-handlers-9fb4a31a.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./query-680f1868.js");require("./style-map-a135c6ab.js");require("./aria-property-849c8816.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");const g=`:host{--mdc-icon-button-size: 2rem;font-family:var(--mdc-typography-body1-font-family);width:100%}cv-code-snippet{background-color:var(--cv-theme-surface);border-radius:0;box-sizing:border-box}cv-code-snippet::part(code){font-size:var(--mdc-typography-body2-font-size);line-height:var(--mdc-typography-body2-line-height);padding:0;white-space:pre-wrap}cv-code-editor{margin-top:-1px}.selectionIndicator{background-color:var(--cv-theme-primary);border-radius:2px;height:100%;visibility:hidden}.selectionIndicatorWrapper{min-width:8px}.selectionIndicatorWrapper:hover .selectionIndicator{visibility:visible}.status{padding:0 1px;position:relative}.loading{top:2.5px}.timesExecuted{--cv-icon-button-cursor: grab;align-items:center;box-sizing:border-box;color:var(--cv-theme-on-surface-38);display:flex;font-family:var(--cv-typography-subtitle2-font-family);font-size:var(--cv-typography-subtitle2-font-size);height:56px;line-height:var(--cv-typography-headline6-line-height)}.timesExecuted .executionCount{padding-right:1rem;overflow:hidden;text-align:right;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;white-space:nowrap;width:50px}.timesExecuted cv-icon-button{color:var(--cv-theme-on-surface-variant);cursor:grab;padding:.5rem;visibility:hidden;transition:visibility .3s ease}.timesExecuted cv-icon-button:active{--cv-icon-button-cursor: grabbing}.timesExecutedWrapper{cursor:grab}.timesExecutedWrapper:active{cursor:grabbing}.timesExecutedWrapper:hover cv-icon-button{visibility:visible}.cell{box-sizing:border-box;cursor:pointer;display:flex;justify-content:space-between;position:relative;transition:background-color .2s ease;-webkit-user-select:auto;user-select:auto}.cell.focused .selectionIndicator,.cell.selected .selectionIndicator{visibility:visible}.cell:hover{background-color:var(--cv-theme-secondary-4)}.cell:hover .selectionIndicator{visibility:visible;background-color:var(--cv-theme-on-secondary-container-38)}.cell:active{background-color:var(--cv-theme-secondary-12)}.cell:active .selectionIndicator{visibility:visible;background-color:var(--cv-theme-on-secondary-container-74)}.cellWrapper{display:flex;flex-direction:column;width:100%}.cellOutputWrapper{display:flex;flex-direction:column;max-width:calc(100% - 95px);flex:1}.contextMenu{overflow:auto;position:absolute;visibility:hidden;z-index:1000}.contextMenu.open{visibility:visible}.editorContainer{box-sizing:border-box;background-color:var(--cv-theme-surface);border:1px solid var(--cv-theme-outline-variant);border-radius:var(--cv-editor-border-radius, 4px);min-height:56px;overflow:hidden;padding:1rem}.errors,.output{max-width:100%;width:100%}
|
2
|
+
`;var x=Object.defineProperty,m=Object.getOwnPropertyDescriptor,n=(a,e,t,i)=>{for(var o=i>1?void 0:i?m(e,t):e,l=a.length-1,c;l>=0;l--)(c=a[l])&&(o=(i?c(e,t,o):c(o))||o);return i&&o&&x(e,t,o),o};exports.CovalentNotebookCell=class extends r.s{constructor(){super(),this.code="",this.language="",this.loading=!1,this.selected=!1,this.timesExecuted=0,this.hideEditor=!1,this.hideCount=!1,this.editorTheme="",this._editorFocused=!1,this._isMenuOpen=!1,this._menuMaxHeight="auto",this._menuPosition={top:0,left:0},this.editorOptions={minimap:{enabled:!1},wordWrap:"on",fontSize:"14px",glyphMargin:!1,folding:!1,lineHeight:20,lineNumbers:"off",lineDecorationsWidth:0,lineNumbersMinChars:0,renderIndentGuides:!1,renderLineHighlight:"none",overviewRulerLanes:0,hideCursorInOverviewRuler:!0,scrollbar:{alwaysConsumeMouseWheel:!1,vertical:"hidden"}},this.closeContextMenu=this.closeContextMenu.bind(this),this.showContextMenu=this.showContextMenu.bind(this)}closeContextMenu(){this._isMenuOpen=!1}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.closeContextMenu)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.closeContextMenu)}handleCodeChange(e){this.code=e.detail.code}setEditorFocus(e,t){e.stopImmediatePropagation(),this._editorFocused=t,this.requestUpdate()}setEditorInstance(e){e.stopImmediatePropagation(),this._editor=e.detail.editor,this._editor.onKeyDown(t=>{t.shiftKey&&t.keyCode===b.KeyCode.Enter&&t.preventDefault()})}showContextMenu(e){var u;e.preventDefault();const t=document.querySelectorAll("cv-notebook-cell");t==null||t.forEach(h=>{h.closeContextMenu()});const i=(u=this.shadowRoot)==null?void 0:u.querySelector(".contextMenu"),o=i==null?void 0:i.offsetHeight,c=window.innerHeight-e.clientY,d=e.clientY;c>=o?(this._menuPosition={top:e.clientY,left:e.clientX},this._menuMaxHeight=`${c}px`):d>=o?(this._menuPosition={top:e.clientY-o,left:e.clientX},this._menuMaxHeight=`${o}px`):(this._menuPosition={top:e.clientY-d,left:e.clientX},this._menuMaxHeight=`${d}px`),this._isMenuOpen=!0}updated(e){var i,o;const t=(i=this.shadowRoot)==null?void 0:i.querySelector("cv-code-editor");if(e.has("code")||e.has("language"))if(t)t.code=this.code,t.language=this.language;else{const l=(o=this.shadowRoot)==null?void 0:o.querySelector("cv-code-snippet");l&&!this.selected&&l.highlight()}super.updated(e)}getEditorBgColor(){var i;const e=(i=this.shadowRoot)==null?void 0:i.querySelector(".editorContainer");return e?window.getComputedStyle(e).getPropertyValue("background-color"):""}renderEditor(){const e=this.selected?r.x`<cv-code-editor
|
3
3
|
@code-change="${this.handleCodeChange}"
|
4
4
|
@editor-ready="${this.setEditorInstance}"
|
5
|
-
@editor-focus="${
|
6
|
-
@editor-blur="${
|
5
|
+
@editor-focus="${t=>this.setEditorFocus(t,!0)}"
|
6
|
+
@editor-blur="${t=>this.setEditorFocus(t,!1)}"
|
7
7
|
.code="${this.code}"
|
8
8
|
.language="${this.language}"
|
9
9
|
.options="${this.editorOptions}"
|
10
10
|
.theme="${this.editorTheme}"
|
11
|
-
></cv-code-editor>`:
|
11
|
+
></cv-code-editor>`:r.x`<cv-code-snippet hideHeader .language="${this.language}"
|
12
12
|
>${this.code}</cv-code-snippet
|
13
|
-
>`;return
|
13
|
+
>`;return r.x`${this.hideEditor?"":r.x`<div class="editorContainer">${e}</div>`}`}renderOutput(){const e=r.x` <div class="errors"><slot name="error"></slot></div>
|
14
14
|
<div class="output">
|
15
15
|
<slot name="output"></slot>
|
16
16
|
<slot name="input"></slot>
|
17
|
-
</div>`;return
|
17
|
+
</div>`;return r.x`${e}`}renderExecutionCount(){if(this.hideCount)return r.x` `;const e={status:!0,loading:this.loading};return r.x`[<span class="${p.o(e)}"
|
18
18
|
>${this.loading?"*":this.timesExecuted||" "}</span
|
19
|
-
>] :`}render(){const e={cell:!0,selected:this.selected,focused:this._editorFocused};return
|
20
|
-
<div
|
21
|
-
class="
|
22
|
-
draggable="true"
|
23
|
-
@contextmenu=${this.showContextMenu}
|
24
|
-
>
|
25
|
-
<div class="selectionIndicatorWrapper" draggable="false">
|
19
|
+
>] :`}render(){const e={cell:!0,selected:this.selected,focused:this._editorFocused};return r.x`
|
20
|
+
<div class="${p.o(e)}" @contextmenu=${this.showContextMenu}>
|
21
|
+
<div class="selectionIndicatorWrapper">
|
26
22
|
<div class="selectionIndicator"></div>
|
27
23
|
</div>
|
28
24
|
|
29
|
-
<div class="timesExecutedWrapper"
|
25
|
+
<div class="timesExecutedWrapper">
|
30
26
|
<div class="timesExecuted">
|
31
|
-
<cv-icon
|
27
|
+
<cv-icon-button icon="drag_indicator"></cv-icon-button>
|
32
28
|
<div class="executionCount">${this.renderExecutionCount()}</div>
|
33
29
|
</div>
|
34
30
|
</div>
|
35
31
|
|
36
|
-
<div class="cellOutputWrapper"
|
32
|
+
<div class="cellOutputWrapper">
|
37
33
|
${this.renderEditor()} ${this.renderOutput()}
|
38
34
|
</div>
|
39
35
|
</div>
|
@@ -43,6 +39,6 @@
|
|
43
39
|
>
|
44
40
|
<slot name="context-menu"></slot>
|
45
41
|
</div>
|
46
|
-
`}};exports.CovalentNotebookCell.styles=[
|
47
|
-
${
|
48
|
-
`];n([s.n({type:Number})],exports.CovalentNotebookCell.prototype,"index",2);n([s.n({type:String})],exports.CovalentNotebookCell.prototype,"code",2);n([s.n({type:String})],exports.CovalentNotebookCell.prototype,"language",2);n([s.n({type:Boolean,reflect:!0})],exports.CovalentNotebookCell.prototype,"loading",2);n([s.n({type:Boolean,reflect:!0})],exports.CovalentNotebookCell.prototype,"selected",2);n([s.n({type:Number})],exports.CovalentNotebookCell.prototype,"timesExecuted",2);n([s.n({type:Boolean,reflect:!0})],exports.CovalentNotebookCell.prototype,"hideEditor",2);n([s.n({type:Boolean,reflect:!0})],exports.CovalentNotebookCell.prototype,"hideCount",2);n([s.n({type:String})],exports.CovalentNotebookCell.prototype,"editorTheme",2);n([
|
42
|
+
`}};exports.CovalentNotebookCell.styles=[r.i`
|
43
|
+
${r.r(g)}
|
44
|
+
`];n([s.n({type:Number})],exports.CovalentNotebookCell.prototype,"index",2);n([s.n({type:String})],exports.CovalentNotebookCell.prototype,"code",2);n([s.n({type:String})],exports.CovalentNotebookCell.prototype,"language",2);n([s.n({type:Boolean,reflect:!0})],exports.CovalentNotebookCell.prototype,"loading",2);n([s.n({type:Boolean,reflect:!0})],exports.CovalentNotebookCell.prototype,"selected",2);n([s.n({type:Number})],exports.CovalentNotebookCell.prototype,"timesExecuted",2);n([s.n({type:Boolean,reflect:!0})],exports.CovalentNotebookCell.prototype,"hideEditor",2);n([s.n({type:Boolean,reflect:!0})],exports.CovalentNotebookCell.prototype,"hideCount",2);n([s.n({type:String})],exports.CovalentNotebookCell.prototype,"editorTheme",2);n([v.t()],exports.CovalentNotebookCell.prototype,"_isMenuOpen",2);exports.CovalentNotebookCell=n([r.e("cv-notebook-cell")],exports.CovalentNotebookCell);const y=exports.CovalentNotebookCell;exports.default=y;
|
package/notebook-cell.mjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import { i as v, r as m, s as g, x as c, e as
|
1
|
+
import { i as v, r as m, s as g, x as c, e as b } from "./query-assigned-elements-4a39219d.mjs";
|
2
2
|
import { n as d } from "./property-9b6ea53b.mjs";
|
3
|
-
import { t as
|
3
|
+
import { t as f } from "./state-b5e865db.mjs";
|
4
4
|
import { o as u } from "./class-map-6e504a9a.mjs";
|
5
|
-
import { K as x
|
5
|
+
import { K as x } from "./code-editor-74bd33c8.mjs";
|
6
6
|
import "./code-snippet.mjs";
|
7
7
|
import "./icon-button.mjs";
|
8
8
|
import "./typography.mjs";
|
@@ -20,14 +20,14 @@ import "./style-map-e7ec6d41.mjs";
|
|
20
20
|
import "./aria-property-fa2717fe.mjs";
|
21
21
|
import "./event-options-78d6cf94.mjs";
|
22
22
|
import "./if-defined-c367f208.mjs";
|
23
|
-
const
|
23
|
+
const y = `:host{--mdc-icon-button-size: 2rem;font-family:var(--mdc-typography-body1-font-family);width:100%}cv-code-snippet{background-color:var(--cv-theme-surface);border-radius:0;box-sizing:border-box}cv-code-snippet::part(code){font-size:var(--mdc-typography-body2-font-size);line-height:var(--mdc-typography-body2-line-height);padding:0;white-space:pre-wrap}cv-code-editor{margin-top:-1px}.selectionIndicator{background-color:var(--cv-theme-primary);border-radius:2px;height:100%;visibility:hidden}.selectionIndicatorWrapper{min-width:8px}.selectionIndicatorWrapper:hover .selectionIndicator{visibility:visible}.status{padding:0 1px;position:relative}.loading{top:2.5px}.timesExecuted{--cv-icon-button-cursor: grab;align-items:center;box-sizing:border-box;color:var(--cv-theme-on-surface-38);display:flex;font-family:var(--cv-typography-subtitle2-font-family);font-size:var(--cv-typography-subtitle2-font-size);height:56px;line-height:var(--cv-typography-headline6-line-height)}.timesExecuted .executionCount{padding-right:1rem;overflow:hidden;text-align:right;text-overflow:ellipsis;-webkit-user-select:none;user-select:none;white-space:nowrap;width:50px}.timesExecuted cv-icon-button{color:var(--cv-theme-on-surface-variant);cursor:grab;padding:.5rem;visibility:hidden;transition:visibility .3s ease}.timesExecuted cv-icon-button:active{--cv-icon-button-cursor: grabbing}.timesExecutedWrapper{cursor:grab}.timesExecutedWrapper:active{cursor:grabbing}.timesExecutedWrapper:hover cv-icon-button{visibility:visible}.cell{box-sizing:border-box;cursor:pointer;display:flex;justify-content:space-between;position:relative;transition:background-color .2s ease;-webkit-user-select:auto;user-select:auto}.cell.focused .selectionIndicator,.cell.selected .selectionIndicator{visibility:visible}.cell:hover{background-color:var(--cv-theme-secondary-4)}.cell:hover .selectionIndicator{visibility:visible;background-color:var(--cv-theme-on-secondary-container-38)}.cell:active{background-color:var(--cv-theme-secondary-12)}.cell:active .selectionIndicator{visibility:visible;background-color:var(--cv-theme-on-secondary-container-74)}.cellWrapper{display:flex;flex-direction:column;width:100%}.cellOutputWrapper{display:flex;flex-direction:column;max-width:calc(100% - 95px);flex:1}.contextMenu{overflow:auto;position:absolute;visibility:hidden;z-index:1000}.contextMenu.open{visibility:visible}.editorContainer{box-sizing:border-box;background-color:var(--cv-theme-surface);border:1px solid var(--cv-theme-outline-variant);border-radius:var(--cv-editor-border-radius, 4px);min-height:56px;overflow:hidden;padding:1rem}.errors,.output{max-width:100%;width:100%}
|
24
24
|
`;
|
25
|
-
var
|
26
|
-
for (var
|
27
|
-
(l = e[a]) && (
|
28
|
-
return r &&
|
25
|
+
var C = Object.defineProperty, w = Object.getOwnPropertyDescriptor, s = (e, t, o, r) => {
|
26
|
+
for (var n = r > 1 ? void 0 : r ? w(t, o) : t, a = e.length - 1, l; a >= 0; a--)
|
27
|
+
(l = e[a]) && (n = (r ? l(t, o, n) : l(n)) || n);
|
28
|
+
return r && n && C(t, o, n), n;
|
29
29
|
};
|
30
|
-
let
|
30
|
+
let i = class extends g {
|
31
31
|
constructor() {
|
32
32
|
super(), this.code = "", this.language = "", this.loading = !1, this.selected = !1, this.timesExecuted = 0, this.hideEditor = !1, this.hideCount = !1, this.editorTheme = "", this._editorFocused = !1, this._isMenuOpen = !1, this._menuMaxHeight = "auto", this._menuPosition = { top: 0, left: 0 }, this.editorOptions = {
|
33
33
|
minimap: { enabled: !1 },
|
@@ -63,27 +63,19 @@ let t = class extends g {
|
|
63
63
|
handleCodeChange(e) {
|
64
64
|
this.code = e.detail.code;
|
65
65
|
}
|
66
|
-
|
67
|
-
this.
|
68
|
-
new CustomEvent("cell-run-code", {
|
69
|
-
detail: { index: this.index, code: this.code },
|
70
|
-
bubbles: !0,
|
71
|
-
composed: !0
|
72
|
-
})
|
73
|
-
);
|
74
|
-
}
|
75
|
-
setEditorFocus(e) {
|
76
|
-
this._editorFocused = e, this.requestUpdate();
|
66
|
+
setEditorFocus(e, t) {
|
67
|
+
e.stopImmediatePropagation(), this._editorFocused = t, this.requestUpdate();
|
77
68
|
}
|
78
69
|
setEditorInstance(e) {
|
79
|
-
this._editor = e.detail.editor, this._editor.
|
70
|
+
e.stopImmediatePropagation(), this._editor = e.detail.editor, this._editor.onKeyDown((t) => {
|
71
|
+
t.shiftKey && t.keyCode === x.Enter && t.preventDefault();
|
80
72
|
});
|
81
73
|
}
|
82
74
|
showContextMenu(e) {
|
83
75
|
var p;
|
84
76
|
e.preventDefault();
|
85
|
-
const
|
86
|
-
|
77
|
+
const t = document.querySelectorAll("cv-notebook-cell");
|
78
|
+
t == null || t.forEach((h) => {
|
87
79
|
h.closeContextMenu();
|
88
80
|
});
|
89
81
|
const o = (p = this.shadowRoot) == null ? void 0 : p.querySelector(
|
@@ -93,13 +85,13 @@ let t = class extends g {
|
|
93
85
|
}
|
94
86
|
updated(e) {
|
95
87
|
var o, r;
|
96
|
-
const
|
88
|
+
const t = (o = this.shadowRoot) == null ? void 0 : o.querySelector("cv-code-editor");
|
97
89
|
if (e.has("code") || e.has("language"))
|
98
|
-
if (
|
99
|
-
|
90
|
+
if (t)
|
91
|
+
t.code = this.code, t.language = this.language;
|
100
92
|
else {
|
101
|
-
const
|
102
|
-
|
93
|
+
const n = (r = this.shadowRoot) == null ? void 0 : r.querySelector("cv-code-snippet");
|
94
|
+
n && !this.selected && n.highlight();
|
103
95
|
}
|
104
96
|
super.updated(e);
|
105
97
|
}
|
@@ -112,8 +104,8 @@ let t = class extends g {
|
|
112
104
|
const e = this.selected ? c`<cv-code-editor
|
113
105
|
@code-change="${this.handleCodeChange}"
|
114
106
|
@editor-ready="${this.setEditorInstance}"
|
115
|
-
@editor-focus="${() => this.setEditorFocus(!0)}"
|
116
|
-
@editor-blur="${() => this.setEditorFocus(!1)}"
|
107
|
+
@editor-focus="${(t) => this.setEditorFocus(t, !0)}"
|
108
|
+
@editor-blur="${(t) => this.setEditorFocus(t, !1)}"
|
117
109
|
.code="${this.code}"
|
118
110
|
.language="${this.language}"
|
119
111
|
.options="${this.editorOptions}"
|
@@ -149,23 +141,19 @@ let t = class extends g {
|
|
149
141
|
focused: this._editorFocused
|
150
142
|
};
|
151
143
|
return c`
|
152
|
-
<div
|
153
|
-
class="
|
154
|
-
draggable="true"
|
155
|
-
@contextmenu=${this.showContextMenu}
|
156
|
-
>
|
157
|
-
<div class="selectionIndicatorWrapper" draggable="false">
|
144
|
+
<div class="${u(e)}" @contextmenu=${this.showContextMenu}>
|
145
|
+
<div class="selectionIndicatorWrapper">
|
158
146
|
<div class="selectionIndicator"></div>
|
159
147
|
</div>
|
160
148
|
|
161
|
-
<div class="timesExecutedWrapper"
|
149
|
+
<div class="timesExecutedWrapper">
|
162
150
|
<div class="timesExecuted">
|
163
|
-
<cv-icon
|
151
|
+
<cv-icon-button icon="drag_indicator"></cv-icon-button>
|
164
152
|
<div class="executionCount">${this.renderExecutionCount()}</div>
|
165
153
|
</div>
|
166
154
|
</div>
|
167
155
|
|
168
|
-
<div class="cellOutputWrapper"
|
156
|
+
<div class="cellOutputWrapper">
|
169
157
|
${this.renderEditor()} ${this.renderOutput()}
|
170
158
|
</div>
|
171
159
|
</div>
|
@@ -178,46 +166,46 @@ let t = class extends g {
|
|
178
166
|
`;
|
179
167
|
}
|
180
168
|
};
|
181
|
-
|
169
|
+
i.styles = [
|
182
170
|
v`
|
183
|
-
${m(
|
171
|
+
${m(y)}
|
184
172
|
`
|
185
173
|
];
|
186
|
-
|
174
|
+
s([
|
187
175
|
d({ type: Number })
|
188
|
-
],
|
189
|
-
|
176
|
+
], i.prototype, "index", 2);
|
177
|
+
s([
|
190
178
|
d({ type: String })
|
191
|
-
],
|
192
|
-
|
179
|
+
], i.prototype, "code", 2);
|
180
|
+
s([
|
193
181
|
d({ type: String })
|
194
|
-
],
|
195
|
-
|
182
|
+
], i.prototype, "language", 2);
|
183
|
+
s([
|
196
184
|
d({ type: Boolean, reflect: !0 })
|
197
|
-
],
|
198
|
-
|
185
|
+
], i.prototype, "loading", 2);
|
186
|
+
s([
|
199
187
|
d({ type: Boolean, reflect: !0 })
|
200
|
-
],
|
201
|
-
|
188
|
+
], i.prototype, "selected", 2);
|
189
|
+
s([
|
202
190
|
d({ type: Number })
|
203
|
-
],
|
204
|
-
|
191
|
+
], i.prototype, "timesExecuted", 2);
|
192
|
+
s([
|
205
193
|
d({ type: Boolean, reflect: !0 })
|
206
|
-
],
|
207
|
-
|
194
|
+
], i.prototype, "hideEditor", 2);
|
195
|
+
s([
|
208
196
|
d({ type: Boolean, reflect: !0 })
|
209
|
-
],
|
210
|
-
|
197
|
+
], i.prototype, "hideCount", 2);
|
198
|
+
s([
|
211
199
|
d({ type: String })
|
212
|
-
],
|
213
|
-
|
214
|
-
|
215
|
-
],
|
216
|
-
|
217
|
-
|
218
|
-
],
|
219
|
-
const
|
200
|
+
], i.prototype, "editorTheme", 2);
|
201
|
+
s([
|
202
|
+
f()
|
203
|
+
], i.prototype, "_isMenuOpen", 2);
|
204
|
+
i = s([
|
205
|
+
b("cv-notebook-cell")
|
206
|
+
], i);
|
207
|
+
const T = i;
|
220
208
|
export {
|
221
|
-
|
222
|
-
|
209
|
+
i as CovalentNotebookCell,
|
210
|
+
T as default
|
223
211
|
};
|
package/package.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./code-editor-b2ecbde1.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
4
|
* Released under the MIT license
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./code-editor-b2ecbde1.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./directive-1186bc23.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
|
4
4
|
* Released under the MIT license
|