@design.estate/dees-catalog 12.3.0 → 12.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/dist_bundle/bundle.js +29 -5
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00group-appui/dees-appui-mainmenu/dees-appui-mainmenu.d.ts +5 -0
- package/dist_ts_web/elements/00group-form/dees-form/dees-form.d.ts +2 -1
- package/dist_ts_web/elements/00group-form/dees-form/dees-form.js +2 -1
- package/dist_ts_web/elements/00group-input/dees-input-wysiwyg/dees-input-wysiwyg.d.ts +12 -2
- package/dist_ts_web/elements/00group-input/dees-input-wysiwyg/dees-input-wysiwyg.js +11 -1
- package/dist_ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.js +7 -2
- package/dist_ts_web/elements/00group-workspace/dees-workspace/dees-workspace.js +3 -3
- package/dist_ts_web/elements/00group-workspace/dees-workspace/styles.js +10 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00group-appui/dees-appui-mainmenu/dees-appui-mainmenu.ts +6 -0
- package/ts_web/elements/00group-form/dees-form/dees-form.ts +2 -1
- package/ts_web/elements/00group-input/dees-input-wysiwyg/dees-input-wysiwyg.ts +11 -1
- package/ts_web/elements/00group-simple/dees-simple-appdash/dees-simple-appdash.ts +6 -1
- package/ts_web/elements/00group-workspace/dees-workspace/dees-workspace.ts +2 -2
- package/ts_web/elements/00group-workspace/dees-workspace/styles.ts +9 -1
package/dist_bundle/bundle.js
CHANGED
|
@@ -156991,6 +156991,16 @@ var _DeesInputWysiwyg = class _DeesInputWysiwyg extends (_a55 = DeesInputBase, _
|
|
|
156991
156991
|
__publicField(this, "blockOperations");
|
|
156992
156992
|
__publicField(this, "inputHandler");
|
|
156993
156993
|
__publicField(this, "keyboardHandler");
|
|
156994
|
+
/**
|
|
156995
|
+
* Block drag and drop, public alongside `blockOperations` because the drag *interaction* has
|
|
156996
|
+
* no other seam: `dragState`, the drop indicator and the global drag-over listener all live in
|
|
156997
|
+
* this handler, and a native HTML5 drag sequence cannot be synthesised from script, so a host
|
|
156998
|
+
* or a test that exercises dragging has to drive `handleDragStart` / `handleDragEnd` itself.
|
|
156999
|
+
* Reordering a block programmatically needs none of that: `blockOperations.moveBlock(blockId,
|
|
157000
|
+
* targetIndex)` is the public path for that, on the public `blocks` accessor. The remaining
|
|
157001
|
+
* handlers stay private because everything they own is reachable through ordinary input and
|
|
157002
|
+
* keyboard events.
|
|
157003
|
+
*/
|
|
156994
157004
|
__publicField(this, "dragDropHandler");
|
|
156995
157005
|
__publicField(this, "history");
|
|
156996
157006
|
__publicField(this, "blurTimeout", null);
|
|
@@ -158569,6 +158579,7 @@ var _DeesForm = class _DeesForm extends (_a58 = DeesElement, _horizontalLayout_d
|
|
|
158569
158579
|
constructor() {
|
|
158570
158580
|
super(...arguments);
|
|
158571
158581
|
__publicField(this, "name", "myform");
|
|
158582
|
+
/** emits the collected form data on every child change; the only producer is `collectFormData()` */
|
|
158572
158583
|
__publicField(this, "changeSubject", new domtools_pluginexports_exports.smartrx.rxjs.Subject());
|
|
158573
158584
|
__publicField(this, "readyDeferred", domtools_pluginexports_exports.smartpromise.defer());
|
|
158574
158585
|
__privateAdd(this, _horizontalLayout, __runInitializers(_init59, 8, this, false)), __runInitializers(_init59, 11, this);
|
|
@@ -218168,7 +218179,12 @@ __publicField(_DeesSimpleAppDash, "styles", [themeDefaultStyles, cssManager.defa
|
|
|
218168
218179
|
.controlbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; border-top: 1px solid var(--dees-color-border-subtle); background: var(--dees-color-bg-secondary); font-size: 11px; color: var(--dees-color-text-secondary); }
|
|
218169
218180
|
.control { display: flex; align-items: center; gap: 6px; padding: 0 12px; height: 100%; }
|
|
218170
218181
|
.status-terminal { border-left: 1px solid var(--dees-color-border-subtle); }
|
|
218171
|
-
|
|
218182
|
+
/* The on face is the catalog's toggle-on face: the shared selected surface plus the accent
|
|
218183
|
+
*text* colour, not --dees-color-accent-primary, which only reaches 3.6:1 as a label. The
|
|
218184
|
+
hovered rule exists because the shared button:hover rule below outranks a plain
|
|
218185
|
+
[aria-pressed] rule and would wash the on state away under the pointer. */
|
|
218186
|
+
.status-terminal[aria-pressed='true'] { color: var(--dees-color-link); background: var(--dees-color-nav-selected); }
|
|
218187
|
+
.status-terminal[aria-pressed='true']:hover { color: var(--dees-color-link); background: color-mix(in srgb, var(--dees-color-nav-selected) 88%, var(--dees-color-text-primary)); }
|
|
218172
218188
|
.collapsed .sidebar-header { justify-content: center; padding: 0; }
|
|
218173
218189
|
.collapsed .sidebar-header > dees-icon, .collapsed .appName, .collapsed .section-label, .collapsed .viewTab span, .collapsed .viewTab .chevron, .collapsed .action span { display: none; }
|
|
218174
218190
|
.collapsed .collapseToggle { margin: 0; width: 40px; height: 38px; }
|
|
@@ -220612,7 +220628,15 @@ var workspaceStyles = i`
|
|
|
220612
220628
|
.toolbar-actions, .panel-header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
|
|
220613
220629
|
.panel-action { width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--dees-radius-md); color: var(--dees-color-text-secondary); transition: color 140ms ease, background-color 140ms ease; }
|
|
220614
220630
|
.panel-action:hover:not(:disabled) { color: var(--dees-color-text-primary); background: var(--dees-color-hover); }
|
|
220615
|
-
|
|
220631
|
+
/* A panel toggle announces one state, aria-expanded, and paints it with the shared selected
|
|
220632
|
+
surface — the same wash and accent label dees-button gives its pressed state. It cannot
|
|
220633
|
+
reuse the hover background: an expanded toggle would then be indistinguishable from a
|
|
220634
|
+
hovered collapsed one. Both on-state rules repeat the hover rule's :not(:disabled), which
|
|
220635
|
+
puts them at (0,4,0) and (0,5,0) against that rule's (0,3,0), so the on face outranks hover
|
|
220636
|
+
on specificity instead of on source order, and the hovered-expanded rule keeps it under the
|
|
220637
|
+
pointer. A disabled toggle falls back to the base face, the way it does for hover. */
|
|
220638
|
+
.panel-action.panel-toggle[aria-expanded='true']:not(:disabled) { color: var(--dees-color-link); background: var(--dees-color-nav-selected); }
|
|
220639
|
+
.panel-action.panel-toggle[aria-expanded='true']:not(:disabled):hover { color: var(--dees-color-link); background: color-mix(in srgb, var(--dees-color-nav-selected) 88%, var(--dees-color-text-primary)); }
|
|
220616
220640
|
.workspace-container { display: flex; flex: 1; min-height: 0; min-width: 0; position: relative; }
|
|
220617
220641
|
.editor-area { display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0; overflow: hidden; }
|
|
220618
220642
|
.filetree-panel { position: relative; flex-shrink: 0; min-width: 0; overflow: hidden; background: var(--dees-color-bg-secondary); }
|
|
@@ -223334,8 +223358,8 @@ var _DeesWorkspace = class _DeesWorkspace extends (_a142 = DeesElement, _executi
|
|
|
223334
223358
|
<span class="save-state" role="status">${this.isInitializing ? "Starting\u2026" : this.initializationError ? "Connection failed" : !ready ? "Not connected" : modifiedCount ? `${modifiedCount} unsaved` : "All changes saved"}</span>
|
|
223335
223359
|
<div class="toolbar-actions">
|
|
223336
223360
|
<button class="panel-action" type="button" aria-label="Save all files" title="Save all files" ?disabled=${!ready || !modifiedCount} @click=${this.saveAllFiles}><dees-icon icon="lucide:Save" iconSize="16"></dees-icon></button>
|
|
223337
|
-
${this.showFileTree ? b2`<button class="panel-action" type="button" aria-label="Toggle files" aria-controls="workspace-files" aria-expanded=${!this.isFileTreeCollapsed}
|
|
223338
|
-
${this.showTerminal ? b2`<button class="panel-action" type="button" aria-label="Toggle terminal" aria-controls="workspace-terminal" aria-expanded=${!this.isTerminalCollapsed}
|
|
223361
|
+
${this.showFileTree ? b2`<button class="panel-action panel-toggle" type="button" aria-label="Toggle files" aria-controls="workspace-files" aria-expanded=${!this.isFileTreeCollapsed} title="Toggle files" @click=${() => this.isFileTreeCollapsed = !this.isFileTreeCollapsed}><dees-icon icon="lucide:PanelLeft" iconSize="16"></dees-icon></button>` : ""}
|
|
223362
|
+
${this.showTerminal ? b2`<button class="panel-action panel-toggle" type="button" aria-label="Toggle terminal" aria-controls="workspace-terminal" aria-expanded=${!this.isTerminalCollapsed} title="Toggle terminal" @click=${this.toggleTerminal}><dees-icon icon="lucide:PanelBottom" iconSize="16"></dees-icon></button>` : ""}
|
|
223339
223363
|
<button class="panel-action" type="button" aria-label="Editor options" aria-haspopup="menu" title="Editor options" @click=${this.showEditorMenu}><dees-icon icon="lucide:Ellipsis" iconSize="16"></dees-icon></button>
|
|
223340
223364
|
</div>
|
|
223341
223365
|
</header>
|
|
@@ -225031,7 +225055,7 @@ init_group_runtime();
|
|
|
225031
225055
|
// ts_web/00_commitinfo_data.ts
|
|
225032
225056
|
var commitinfo = {
|
|
225033
225057
|
name: "@design.estate/dees-catalog",
|
|
225034
|
-
version: "12.
|
|
225058
|
+
version: "12.4.0",
|
|
225035
225059
|
description: "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript."
|
|
225036
225060
|
};
|
|
225037
225061
|
|