@design.estate/dees-catalog 3.52.2 → 3.52.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_bundle/bundle.js +25862 -3869
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-dataview/dees-dataview-codebox/dees-dataview-codebox.js +2 -2
- package/dist_ts_web/elements/00group-input/dees-input-code/dees-input-code.js +3 -4
- package/dist_ts_web/elements/00group-input/dees-input-richtext/component.js +2 -1
- package/dist_ts_web/elements/00group-input/dees-input-richtext/styles.js +6 -4
- package/dist_ts_web/elements/00group-workspace/dees-workspace-terminal-preview/dees-workspace-terminal-preview.js +2 -2
- package/dist_ts_web/services/DeesServiceLibLoader.js +11 -10
- package/dist_watch/bundle.js +25898 -3905
- package/dist_watch/bundle.js.map +4 -4
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-dataview/dees-dataview-codebox/dees-dataview-codebox.ts +2 -2
- package/ts_web/elements/00group-input/dees-input-code/dees-input-code.ts +2 -3
- package/ts_web/elements/00group-input/dees-input-richtext/component.ts +1 -0
- package/ts_web/elements/00group-input/dees-input-richtext/styles.ts +5 -3
- package/ts_web/elements/00group-workspace/dees-workspace-terminal-preview/dees-workspace-terminal-preview.ts +2 -2
- package/ts_web/services/DeesServiceLibLoader.ts +10 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@design.estate/dees-catalog",
|
|
3
|
-
"version": "3.52.
|
|
3
|
+
"version": "3.52.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.",
|
|
6
6
|
"main": "dist_ts_web/index.js",
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@design.estate/dees-catalog',
|
|
6
|
-
version: '3.52.
|
|
6
|
+
version: '3.52.3',
|
|
7
7
|
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
|
8
8
|
}
|
|
@@ -114,11 +114,11 @@ export class DeesDataviewCodebox extends DeesElement {
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.codegrid {
|
|
117
|
+
position: absolute;
|
|
118
|
+
inset: 0;
|
|
117
119
|
display: grid;
|
|
118
120
|
grid-template-columns: 50px auto;
|
|
119
121
|
overflow: auto;
|
|
120
|
-
flex: 1;
|
|
121
|
-
min-height: 0;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
.lineNumbers {
|
|
@@ -239,6 +239,7 @@ export class DeesInputRichtext extends DeesInputBase<string> {
|
|
|
239
239
|
this.editorElement = this.shadowRoot!.querySelector('.editor-content')!;
|
|
240
240
|
this.linkInputElement = this.shadowRoot!.querySelector('.link-input input')!;
|
|
241
241
|
this.initializeEditor();
|
|
242
|
+
this.requestUpdate();
|
|
242
243
|
}
|
|
243
244
|
|
|
244
245
|
private initializeEditor(): void {
|
|
@@ -90,10 +90,10 @@ export const richtextStyles = [
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
.editor-content {
|
|
93
|
-
|
|
93
|
+
position: absolute;
|
|
94
|
+
inset: 0;
|
|
94
95
|
padding: 16px;
|
|
95
96
|
overflow-y: auto;
|
|
96
|
-
min-height: var(--min-height, 200px);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.editor-content .ProseMirror {
|
|
@@ -101,6 +101,8 @@ export const richtextStyles = [
|
|
|
101
101
|
line-height: 1.6;
|
|
102
102
|
color: ${cssManager.bdTheme('hsl(0 0% 3.9%)', 'hsl(0 0% 98%)')};
|
|
103
103
|
min-height: 100%;
|
|
104
|
+
white-space: pre-wrap;
|
|
105
|
+
word-wrap: break-word;
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
.editor-content .ProseMirror p {
|
|
@@ -281,7 +283,7 @@ export const richtextStyles = [
|
|
|
281
283
|
line-height: 1.4;
|
|
282
284
|
}
|
|
283
285
|
|
|
284
|
-
:host([disabled])
|
|
286
|
+
:host([disabled]) dees-tile {
|
|
285
287
|
opacity: 0.6;
|
|
286
288
|
cursor: not-allowed;
|
|
287
289
|
}
|
|
@@ -310,23 +310,16 @@ body > div[style*="top: -50000px"][style*="width: 50000px"] {
|
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
this.tiptapLoadingPromise = (async () => {
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
//
|
|
316
|
-
const [
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
] = await Promise.all([
|
|
324
|
-
import(/* @vite-ignore */ `${CDN_BASE}/@tiptap/core@${version}/+esm`),
|
|
325
|
-
import(/* @vite-ignore */ `${CDN_BASE}/@tiptap/starter-kit@${version}/+esm`),
|
|
326
|
-
import(/* @vite-ignore */ `${CDN_BASE}/@tiptap/extension-underline@${version}/+esm`),
|
|
327
|
-
import(/* @vite-ignore */ `${CDN_BASE}/@tiptap/extension-text-align@${version}/+esm`),
|
|
328
|
-
import(/* @vite-ignore */ `${CDN_BASE}/@tiptap/extension-link@${version}/+esm`),
|
|
329
|
-
import(/* @vite-ignore */ `${CDN_BASE}/@tiptap/extension-typography@${version}/+esm`),
|
|
313
|
+
// Import directly from npm packages — bundled by esbuild into a single
|
|
314
|
+
// module graph. CDN loading caused duplicate ProseMirror instances because
|
|
315
|
+
// jsdelivr resolves each package's dependencies independently.
|
|
316
|
+
const [coreModule, starterKitModule, underlineModule, textAlignModule, linkModule, typographyModule] = await Promise.all([
|
|
317
|
+
import('@tiptap/core'),
|
|
318
|
+
import('@tiptap/starter-kit'),
|
|
319
|
+
import('@tiptap/extension-underline'),
|
|
320
|
+
import('@tiptap/extension-text-align'),
|
|
321
|
+
import('@tiptap/extension-link'),
|
|
322
|
+
import('@tiptap/extension-typography'),
|
|
330
323
|
]);
|
|
331
324
|
|
|
332
325
|
this.tiptapLib = {
|