@covalent/components 11.3.2 → 11.4.0
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-dgZV_m9p.mjs → code-editor-BFsO7exo.mjs} +7 -5
- package/{code-editor-3dkX1cQX.js → code-editor-BzGE1EMG.js} +72 -72
- package/code-editor.js +1 -1
- package/code-editor.mjs +1 -1
- package/{html-DUmT7jP0.js → html-Q7PUI9YS.js} +1 -1
- package/{html-BE9ZRFPH.mjs → html-_lRwbb85.mjs} +1 -1
- package/index.d.ts +1 -0
- package/index.js +1 -1
- package/index.mjs +95 -93
- package/{javascript-CoF4g_lu.js → javascript-BdPXpoHG.js} +1 -1
- package/{javascript-D-6rUNw_.mjs → javascript-DGxrm2dq.mjs} +1 -1
- package/notebook-cell.js +1 -1
- package/notebook-cell.mjs +1 -1
- package/package.json +1 -1
- package/{python-CB9GlIgT.js → python-D7R1fGvN.js} +1 -1
- package/{python-0xKDntoq.mjs → python-DzCY183v.mjs} +1 -1
- package/{typescript-EanoKbHb.mjs → typescript-COsV2CwR.mjs} +1 -1
- package/{typescript-D6TZCBFc.js → typescript-CrZoSsEg.js} +1 -1
- package/icon/_icon-list.d.ts +0 -3
- package/icon/icon-demo.d.ts +0 -13
package/code-editor.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-8EurZY45.js");require("./property-DYTC_2-m.js");const e=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-8EurZY45.js");require("./property-DYTC_2-m.js");const e=require("./code-editor-BzGE1EMG.js");Object.defineProperty(exports,"CovalentCodeEditor",{enumerable:!0,get:()=>e.CovalentCodeEditor});exports.default=e.CovalentCodeEditor$1;
|
package/code-editor.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./code-editor-BzGE1EMG.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
4
4
|
* Released under the MIT license
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as s } from "./code-editor-
|
1
|
+
import { m as s } from "./code-editor-BFsO7exo.mjs";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
package/index.d.ts
CHANGED
@@ -10,6 +10,7 @@ export * from './chips/chip';
|
|
10
10
|
export * from './chips/chip-set';
|
11
11
|
export * from './circular-progress/circular-progress';
|
12
12
|
export * from './code-editor/code-editor';
|
13
|
+
export * from './code-editor/code-editor.theme';
|
13
14
|
export * from './code-snippet/code-snippet';
|
14
15
|
export * from './dialog/dialog';
|
15
16
|
export * from './divider/divider';
|
package/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./action-ribbon.js"),r=require("./alert.js"),o=require("./app-shell.js"),n=require("./badge.js"),a=require("./button.js"),l=require("./card.js"),i=require("./checkbox.js"),u=require("./check-list-item.js"),c=require("./chip-BjFvUMom.js"),b=require("./chip-set.js"),C=require("./circular-progress.js"),e=require("./code-editor-BzGE1EMG.js"),v=require("./code-snippet.js"),s=require("./dialog-BShWbhKq.js"),d=require("./divider.js"),p=require("./drawer.js"),g=require("./empty-state.js"),m=require("./expansion-panel.js"),P=require("./expansion-panel-item.js"),y=require("./focused-page.js"),f=require("./formfield.js"),j=require("./full-screen-dialog.js"),O=require("./icon.js"),q=require("./icon-button.js"),T=require("./icon-button-toggle.js"),S=require("./icon-check-toggle.js"),h=require("./icon-lockup.js"),I=require("./icon-radio-toggle.js"),L=require("./linear-progress.js"),k=require("./list.js"),x=require("./list-item.js"),B=require("./menu.js"),R=require("./nav-list-item.js"),A=require("./notebook-cell.js"),D=require("./radio.js"),E=require("./radio-list-item.js"),F=require("./select.js"),w=require("./side-sheet.js"),H=require("./slider.js"),N=require("./slider-range.js"),M=require("./snackbar.js"),_=require("./status-dialog.js"),z=require("./status-header.js"),G=require("./status-header-item.js"),J=require("./switch.js"),K=require("./tab.js"),Q=require("./tab-bar.js"),U=require("./textarea.js"),V=require("./textfield.js"),W=require("./text-lockup.js"),X=require("./toolbar.js"),Y=require("./tooltip.js"),Z=require("./top-app-bar.js"),$=require("./top-app-bar-fixed.js"),ee=require("./tree-list.js"),te=require("./tree-list-item.js"),re=require("./typography.js");Object.defineProperty(exports,"CovalentActionRibbon",{enumerable:!0,get:()=>t.CovalentActionRibbon});Object.defineProperty(exports,"CovalentAlert",{enumerable:!0,get:()=>r.CovalentAlert});Object.defineProperty(exports,"CovalentAppShell",{enumerable:!0,get:()=>o.CovalentAppShell});Object.defineProperty(exports,"CovalentBadge",{enumerable:!0,get:()=>n.CovalentBadge});Object.defineProperty(exports,"CovalentButton",{enumerable:!0,get:()=>a.CovalentButton});Object.defineProperty(exports,"CovalentCard",{enumerable:!0,get:()=>l.CovalentCard});Object.defineProperty(exports,"CovalentCheckbox",{enumerable:!0,get:()=>i.CovalentCheckbox});Object.defineProperty(exports,"CovalentCheckListItem",{enumerable:!0,get:()=>u.CovalentCheckListItem});Object.defineProperty(exports,"CovalentChip",{enumerable:!0,get:()=>c.CovalentChip});Object.defineProperty(exports,"CovalentChipSet",{enumerable:!0,get:()=>b.CovalentChipSet});Object.defineProperty(exports,"CovalentCircularProgress",{enumerable:!0,get:()=>C.CovalentCircularProgress});Object.defineProperty(exports,"CovalentCodeEditor",{enumerable:!0,get:()=>e.CovalentCodeEditor});exports.cvEditorDarkTheme=e.cvEditorDarkTheme;exports.cvEditorLightTheme=e.cvEditorLightTheme;Object.defineProperty(exports,"CovalentCodeSnippet",{enumerable:!0,get:()=>v.CovalentCodeSnippet});Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>s.CovalentDialog});Object.defineProperty(exports,"CovalentDivider",{enumerable:!0,get:()=>d.CovalentDivider});Object.defineProperty(exports,"CovalentDrawer",{enumerable:!0,get:()=>p.CovalentDrawer});Object.defineProperty(exports,"CovalentEmptyState",{enumerable:!0,get:()=>g.CovalentEmptyState});Object.defineProperty(exports,"CovalentExpansionPanel",{enumerable:!0,get:()=>m.CovalentExpansionPanel});Object.defineProperty(exports,"CovalentExpansionPanelItem",{enumerable:!0,get:()=>P.CovalentExpansionPanelItem});Object.defineProperty(exports,"CovalentFocusedPage",{enumerable:!0,get:()=>y.CovalentFocusedPage});Object.defineProperty(exports,"CovalentFormfield",{enumerable:!0,get:()=>f.CovalentFormfield});Object.defineProperty(exports,"CovalentFullscreenDialog",{enumerable:!0,get:()=>j.CovalentFullscreenDialog});Object.defineProperty(exports,"CovalentIcon",{enumerable:!0,get:()=>O.CovalentIcon});Object.defineProperty(exports,"CovalentIconButton",{enumerable:!0,get:()=>q.CovalentIconButton});Object.defineProperty(exports,"CovalentIconButtonToggle",{enumerable:!0,get:()=>T.CovalentIconButtonToggle});Object.defineProperty(exports,"CovalentIconCheckToggle",{enumerable:!0,get:()=>S.CovalentIconCheckToggle});Object.defineProperty(exports,"CovalentIconLockup",{enumerable:!0,get:()=>h.CovalentIconLockup});Object.defineProperty(exports,"CovalentIconRadioToggle",{enumerable:!0,get:()=>I.CovalentIconRadioToggle});Object.defineProperty(exports,"CovalentLinearProgress",{enumerable:!0,get:()=>L.CovalentLinearProgress});Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>k.CovalentList});Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>x.CovalentListItem});Object.defineProperty(exports,"CovalentMenu",{enumerable:!0,get:()=>B.CovalentMenu});Object.defineProperty(exports,"CovalentNavRailListItem",{enumerable:!0,get:()=>R.CovalentNavRailListItem});Object.defineProperty(exports,"CovalentNotebookCell",{enumerable:!0,get:()=>A.CovalentNotebookCell});Object.defineProperty(exports,"CovalentRadio",{enumerable:!0,get:()=>D.CovalentRadio});Object.defineProperty(exports,"CovalentRadioListItem",{enumerable:!0,get:()=>E.CovalentRadioListItem});Object.defineProperty(exports,"CovalentSelect",{enumerable:!0,get:()=>F.CovalentSelect});Object.defineProperty(exports,"CovalentSideSheet",{enumerable:!0,get:()=>w.CovalentSideSheet});Object.defineProperty(exports,"CovalentSlider",{enumerable:!0,get:()=>H.CovalentSlider});Object.defineProperty(exports,"CovalentSliderRange",{enumerable:!0,get:()=>N.CovalentSliderRange});Object.defineProperty(exports,"CovalentSnackbar",{enumerable:!0,get:()=>M.CovalentSnackbar});Object.defineProperty(exports,"CovalentStatusDialog",{enumerable:!0,get:()=>_.CovalentStatusDialog});Object.defineProperty(exports,"CovalentStatusHeader",{enumerable:!0,get:()=>z.CovalentStatusHeader});Object.defineProperty(exports,"CovalentStatusHeaderItem",{enumerable:!0,get:()=>G.CovalentStatusHeaderItem});Object.defineProperty(exports,"CovalentSwitch",{enumerable:!0,get:()=>J.CovalentSwitch});Object.defineProperty(exports,"CovalentTab",{enumerable:!0,get:()=>K.CovalentTab});Object.defineProperty(exports,"CovalentTabBar",{enumerable:!0,get:()=>Q.CovalentTabBar});Object.defineProperty(exports,"CovalentTextArea",{enumerable:!0,get:()=>U.CovalentTextArea});Object.defineProperty(exports,"CovalentTextField",{enumerable:!0,get:()=>V.CovalentTextField});Object.defineProperty(exports,"CovalentTextLockup",{enumerable:!0,get:()=>W.CovalentTextLockup});Object.defineProperty(exports,"CovalentToolbar",{enumerable:!0,get:()=>X.CovalentToolbar});Object.defineProperty(exports,"CovalentTooltip",{enumerable:!0,get:()=>Y.CovalentTooltip});Object.defineProperty(exports,"CovalentTopAppBar",{enumerable:!0,get:()=>Z.CovalentTopAppBar});Object.defineProperty(exports,"CovalentTopAppBarFixed",{enumerable:!0,get:()=>$.CovalentTopAppBarFixed});Object.defineProperty(exports,"CovalentTreeList",{enumerable:!0,get:()=>ee.CovalentTreeList});Object.defineProperty(exports,"CovalentTreeListItem",{enumerable:!0,get:()=>te.CovalentTreeListItem});Object.defineProperty(exports,"CovalentTypography",{enumerable:!0,get:()=>re.CovalentTypography});
|
package/index.mjs
CHANGED
@@ -6,55 +6,55 @@ import { CovalentButton as x } from "./button.mjs";
|
|
6
6
|
import { CovalentCard as f } from "./card.mjs";
|
7
7
|
import { CovalentCheckbox as s } from "./checkbox.mjs";
|
8
8
|
import { CovalentCheckListItem as d } from "./check-list-item.mjs";
|
9
|
-
import { C as
|
9
|
+
import { C as g } from "./chip-vV-teZYv.mjs";
|
10
10
|
import { CovalentChipSet as I } from "./chip-set.mjs";
|
11
|
-
import { CovalentCircularProgress as
|
12
|
-
import { C as b } from "./code-editor-
|
13
|
-
import { CovalentCodeSnippet as
|
11
|
+
import { CovalentCircularProgress as u } from "./circular-progress.mjs";
|
12
|
+
import { C as b, c as k, a as B } from "./code-editor-BFsO7exo.mjs";
|
13
|
+
import { CovalentCodeSnippet as D } from "./code-snippet.mjs";
|
14
14
|
import { C as R } from "./dialog-ChTd6dnt.mjs";
|
15
|
-
import { CovalentDivider as
|
16
|
-
import { CovalentDrawer as
|
17
|
-
import { CovalentEmptyState as
|
18
|
-
import { CovalentExpansionPanel as
|
19
|
-
import { CovalentExpansionPanelItem as
|
20
|
-
import { CovalentFocusedPage as
|
21
|
-
import { CovalentFormfield as
|
22
|
-
import { CovalentFullscreenDialog as
|
23
|
-
import { CovalentIcon as
|
24
|
-
import { CovalentIconButton as
|
25
|
-
import { CovalentIconButtonToggle as
|
26
|
-
import { CovalentIconCheckToggle as
|
27
|
-
import { CovalentIconLockup as
|
28
|
-
import { CovalentIconRadioToggle as
|
29
|
-
import { CovalentLinearProgress as
|
30
|
-
import { CovalentList as
|
31
|
-
import { CovalentListItem as
|
32
|
-
import { CovalentMenu as
|
33
|
-
import { CovalentNavRailListItem as
|
34
|
-
import { CovalentNotebookCell as
|
35
|
-
import { CovalentRadio as
|
36
|
-
import { CovalentRadioListItem as
|
37
|
-
import { CovalentSelect as
|
38
|
-
import { CovalentSideSheet as
|
39
|
-
import { CovalentSlider as
|
40
|
-
import { CovalentSliderRange as
|
41
|
-
import { CovalentSnackbar as
|
42
|
-
import { CovalentStatusDialog as
|
43
|
-
import { CovalentStatusHeader as
|
44
|
-
import { CovalentStatusHeaderItem as
|
45
|
-
import { CovalentSwitch as
|
46
|
-
import { CovalentTab as
|
47
|
-
import { CovalentTabBar as
|
48
|
-
import { CovalentTextArea as
|
49
|
-
import { CovalentTextField as
|
50
|
-
import { CovalentTextLockup as
|
51
|
-
import { CovalentToolbar as
|
52
|
-
import { CovalentTooltip as
|
53
|
-
import { CovalentTopAppBar as
|
54
|
-
import { CovalentTopAppBarFixed as
|
55
|
-
import { CovalentTreeList as
|
56
|
-
import { CovalentTreeListItem as
|
57
|
-
import { CovalentTypography as
|
15
|
+
import { CovalentDivider as P } from "./divider.mjs";
|
16
|
+
import { CovalentDrawer as w } from "./drawer.mjs";
|
17
|
+
import { CovalentEmptyState as N } from "./empty-state.mjs";
|
18
|
+
import { CovalentExpansionPanel as j } from "./expansion-panel.mjs";
|
19
|
+
import { CovalentExpansionPanelItem as z } from "./expansion-panel-item.mjs";
|
20
|
+
import { CovalentFocusedPage as J } from "./focused-page.mjs";
|
21
|
+
import { CovalentFormfield as O } from "./formfield.mjs";
|
22
|
+
import { CovalentFullscreenDialog as U } from "./full-screen-dialog.mjs";
|
23
|
+
import { CovalentIcon as W } from "./icon.mjs";
|
24
|
+
import { CovalentIconButton as Y } from "./icon-button.mjs";
|
25
|
+
import { CovalentIconButtonToggle as _ } from "./icon-button-toggle.mjs";
|
26
|
+
import { CovalentIconCheckToggle as oo } from "./icon-check-toggle.mjs";
|
27
|
+
import { CovalentIconLockup as to } from "./icon-lockup.mjs";
|
28
|
+
import { CovalentIconRadioToggle as ao } from "./icon-radio-toggle.mjs";
|
29
|
+
import { CovalentLinearProgress as no } from "./linear-progress.mjs";
|
30
|
+
import { CovalentList as Co } from "./list.mjs";
|
31
|
+
import { CovalentListItem as xo } from "./list-item.mjs";
|
32
|
+
import { CovalentMenu as fo } from "./menu.mjs";
|
33
|
+
import { CovalentNavRailListItem as so } from "./nav-list-item.mjs";
|
34
|
+
import { CovalentNotebookCell as To } from "./notebook-cell.mjs";
|
35
|
+
import { CovalentRadio as So } from "./radio.mjs";
|
36
|
+
import { CovalentRadioListItem as ho } from "./radio-list-item.mjs";
|
37
|
+
import { CovalentSelect as Lo } from "./select.mjs";
|
38
|
+
import { CovalentSideSheet as ko } from "./side-sheet.mjs";
|
39
|
+
import { CovalentSlider as Ao } from "./slider.mjs";
|
40
|
+
import { CovalentSliderRange as Eo } from "./slider-range.mjs";
|
41
|
+
import { CovalentSnackbar as Fo } from "./snackbar.mjs";
|
42
|
+
import { CovalentStatusDialog as yo } from "./status-dialog.mjs";
|
43
|
+
import { CovalentStatusHeader as Ho } from "./status-header.mjs";
|
44
|
+
import { CovalentStatusHeaderItem as Mo } from "./status-header-item.mjs";
|
45
|
+
import { CovalentSwitch as qo } from "./switch.mjs";
|
46
|
+
import { CovalentTab as Go } from "./tab.mjs";
|
47
|
+
import { CovalentTabBar as Ko } from "./tab-bar.mjs";
|
48
|
+
import { CovalentTextArea as Qo } from "./textarea.mjs";
|
49
|
+
import { CovalentTextField as Vo } from "./textfield.mjs";
|
50
|
+
import { CovalentTextLockup as Xo } from "./text-lockup.mjs";
|
51
|
+
import { CovalentToolbar as Zo } from "./toolbar.mjs";
|
52
|
+
import { CovalentTooltip as $o } from "./tooltip.mjs";
|
53
|
+
import { CovalentTopAppBar as ee } from "./top-app-bar.mjs";
|
54
|
+
import { CovalentTopAppBarFixed as re } from "./top-app-bar-fixed.mjs";
|
55
|
+
import { CovalentTreeList as le } from "./tree-list.mjs";
|
56
|
+
import { CovalentTreeListItem as pe } from "./tree-list-item.mjs";
|
57
|
+
import { CovalentTypography as me } from "./typography.mjs";
|
58
58
|
export {
|
59
59
|
t as CovalentActionRibbon,
|
60
60
|
a as CovalentAlert,
|
@@ -64,53 +64,55 @@ export {
|
|
64
64
|
f as CovalentCard,
|
65
65
|
d as CovalentCheckListItem,
|
66
66
|
s as CovalentCheckbox,
|
67
|
-
|
67
|
+
g as CovalentChip,
|
68
68
|
I as CovalentChipSet,
|
69
|
-
|
69
|
+
u as CovalentCircularProgress,
|
70
70
|
b as CovalentCodeEditor,
|
71
|
-
|
71
|
+
D as CovalentCodeSnippet,
|
72
72
|
R as CovalentDialog,
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
73
|
+
P as CovalentDivider,
|
74
|
+
w as CovalentDrawer,
|
75
|
+
N as CovalentEmptyState,
|
76
|
+
j as CovalentExpansionPanel,
|
77
|
+
z as CovalentExpansionPanelItem,
|
78
|
+
J as CovalentFocusedPage,
|
79
|
+
O as CovalentFormfield,
|
80
|
+
U as CovalentFullscreenDialog,
|
81
|
+
W as CovalentIcon,
|
82
|
+
Y as CovalentIconButton,
|
83
|
+
_ as CovalentIconButtonToggle,
|
84
|
+
oo as CovalentIconCheckToggle,
|
85
|
+
to as CovalentIconLockup,
|
86
|
+
ao as CovalentIconRadioToggle,
|
87
|
+
no as CovalentLinearProgress,
|
88
|
+
Co as CovalentList,
|
89
|
+
xo as CovalentListItem,
|
90
|
+
fo as CovalentMenu,
|
91
|
+
so as CovalentNavRailListItem,
|
92
|
+
To as CovalentNotebookCell,
|
93
|
+
So as CovalentRadio,
|
94
|
+
ho as CovalentRadioListItem,
|
95
|
+
Lo as CovalentSelect,
|
96
|
+
ko as CovalentSideSheet,
|
97
|
+
Ao as CovalentSlider,
|
98
|
+
Eo as CovalentSliderRange,
|
99
|
+
Fo as CovalentSnackbar,
|
100
|
+
yo as CovalentStatusDialog,
|
101
|
+
Ho as CovalentStatusHeader,
|
102
|
+
Mo as CovalentStatusHeaderItem,
|
103
|
+
qo as CovalentSwitch,
|
104
|
+
Go as CovalentTab,
|
105
|
+
Ko as CovalentTabBar,
|
106
|
+
Qo as CovalentTextArea,
|
107
|
+
Vo as CovalentTextField,
|
108
|
+
Xo as CovalentTextLockup,
|
109
|
+
Zo as CovalentToolbar,
|
110
|
+
$o as CovalentTooltip,
|
111
|
+
ee as CovalentTopAppBar,
|
112
|
+
re as CovalentTopAppBarFixed,
|
113
|
+
le as CovalentTreeList,
|
114
|
+
pe as CovalentTreeListItem,
|
115
|
+
me as CovalentTypography,
|
116
|
+
k as cvEditorDarkTheme,
|
117
|
+
B as cvEditorLightTheme
|
116
118
|
};
|
@@ -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-CrZoSsEg.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
4
4
|
* Released under the MIT license
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { conf as t, language as e } from "./typescript-
|
1
|
+
import { conf as t, language as e } from "./typescript-COsV2CwR.mjs";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
package/notebook-cell.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements-8EurZY45.js"),r=require("./property-DYTC_2-m.js"),v=require("./state-C3HoXfoa.js"),p=require("./class-map-DTzB8z-1.js"),g=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements-8EurZY45.js"),r=require("./property-DYTC_2-m.js"),v=require("./state-C3HoXfoa.js"),p=require("./class-map-DTzB8z-1.js"),g=require("./code-editor-BzGE1EMG.js");require("./code-snippet.js");require("./icon-button.js");require("./typography.js");const b=":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);gap:.5rem;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:52px}.timesExecuted .dragHandle{color:var(--cv-theme-on-surface-variant);cursor:grab;padding-left:.5rem;transition:visibility .3s ease;visibility:hidden}.timesExecuted .dragHandle:active{--cv-icon-button-cursor: grabbing}.timesExecutedWrapper{cursor:grab}.timesExecutedWrapper:active{cursor:grabbing}.timesExecutedWrapper:hover .dragHandle{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% - 130px);flex:1}.contextMenu{background-color:var(--cv-theme-surface-canvas);border-radius:8px;box-shadow:0 8px 12px 6px #00000026,0 4px 4px #0000004d;display:flex;flex-direction:column;position:fixed;visibility:hidden;z-index:1000}.contextMenuContent{border-radius:4px;flex-grow:1;max-height:100%;overflow:auto}.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%}";var x=Object.defineProperty,m=Object.getOwnPropertyDescriptor,s=(c,e,t,i)=>{for(var o=i>1?void 0:i?m(e,t):e,l=c.length-1,a;l>=0;l--)(a=c[l])&&(o=(i?a(e,t,o):a(o))||o);return i&&o&&x(e,t,o),o};exports.CovalentNotebookCell=class extends n.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===g.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,a=window.innerHeight-e.clientY,d=e.clientY;a>=o?(this._menuPosition={top:e.clientY,left:e.clientX},this._menuMaxHeight=`${a}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?n.x`<cv-code-editor
|
2
2
|
@code-change="${this.handleCodeChange}"
|
3
3
|
@editor-ready="${this.setEditorInstance}"
|
4
4
|
@editor-focus="${t=>this.setEditorFocus(t,!0)}"
|
package/notebook-cell.mjs
CHANGED
@@ -2,7 +2,7 @@ import { r as v, i as g, s as m, x as c, e as x } from "./query-assigned-element
|
|
2
2
|
import { n as d } from "./property-DJzm_oB9.mjs";
|
3
3
|
import { t as f } from "./state-B_tK3mBm.mjs";
|
4
4
|
import { o as p } from "./class-map-DPUylGZM.mjs";
|
5
|
-
import { K as b } from "./code-editor-
|
5
|
+
import { K as b } from "./code-editor-BFsO7exo.mjs";
|
6
6
|
import "./code-snippet.mjs";
|
7
7
|
import "./icon-button.mjs";
|
8
8
|
import "./typography.mjs";
|
package/package.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./code-editor-BzGE1EMG.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
4
4
|
* Released under the MIT license
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as o } from "./code-editor-
|
1
|
+
import { m as o } from "./code-editor-BFsO7exo.mjs";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { m as s } from "./code-editor-
|
1
|
+
import { m as s } from "./code-editor-BFsO7exo.mjs";
|
2
2
|
/*!-----------------------------------------------------------------------------
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
4
4
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./code-editor-
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./code-editor-BzGE1EMG.js");/*!-----------------------------------------------------------------------------
|
2
2
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
|
4
4
|
* Released under the MIT license
|
package/icon/_icon-list.d.ts
DELETED
package/icon/icon-demo.d.ts
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import { LitElement } from 'lit';
|
2
|
-
import './icon.js';
|
3
|
-
import '../typography/typography.js';
|
4
|
-
export declare class CovalentIconDemo extends LitElement {
|
5
|
-
static styles: import("lit").CSSResult[];
|
6
|
-
render(): import("lit-html").TemplateResult<1>;
|
7
|
-
}
|
8
|
-
declare global {
|
9
|
-
interface HTMLElementTagNameMap {
|
10
|
-
'cv-icon-demo': CovalentIconDemo;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
export default CovalentIconDemo;
|