@design.estate/dees-catalog 21.37.0 → 21.38.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 +396 -294
- package/dist_bundle/bundle.js.map +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-NJSNFLQO.js → chunk-H5AZRDKM.js} +31 -12
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-NJSNFLQO.js.map → chunk-H5AZRDKM.js.map} +1 -1
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-LSCUUCAI.js → chunk-MFMMXJXV.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-T7SYOP3V.js → dees-modal-IBYJBCAQ.js} +2 -2
- package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-FE7RIZKQ.js → dees-workspace-terminal-EVDB2ODT.js} +3 -3
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/00anchorplacement.d.ts +1 -1
- package/dist_ts_web/elements/00anchorplacement.js +37 -6
- package/dist_ts_web/elements/00group-input/dees-input-tags/dees-input-tags.d.ts +10 -0
- package/dist_ts_web/elements/00group-input/dees-input-tags/dees-input-tags.js +111 -62
- package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.js +5 -1
- package/dist_ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.d.ts +5 -0
- package/dist_ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.js +271 -210
- package/dist_ts_web/elements/00group-overlay/dees-modal/dees-modal.d.ts +12 -6
- package/dist_ts_web/elements/00group-overlay/dees-modal/dees-modal.js +14 -8
- package/package.json +1 -1
- package/readme.md +23 -8
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/00anchorplacement.ts +37 -5
- package/ts_web/elements/00group-input/dees-input-tags/dees-input-tags.ts +112 -58
- package/ts_web/elements/00group-kanban/dees-kanban/dees-kanban.ts +4 -0
- package/ts_web/elements/00group-kanban/dees-kanban-ticket-detail/dees-kanban-ticket-detail.ts +318 -262
- package/ts_web/elements/00group-overlay/dees-modal/dees-modal.ts +19 -10
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-LSCUUCAI.js.map → chunk-MFMMXJXV.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-T7SYOP3V.js.map → dees-modal-IBYJBCAQ.js.map} +0 -0
- /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-FE7RIZKQ.js.map → dees-workspace-terminal-EVDB2ODT.js.map} +0 -0
|
@@ -169,8 +169,11 @@ export class DeesModal extends DeesElement {
|
|
|
169
169
|
/** The footer's actions; the last is the primary unless one is marked `primary` (see `IActionFooterAction`). */
|
|
170
170
|
menuOptions: IActionFooterAction<DeesModal>[];
|
|
171
171
|
width?: 'small' | 'medium' | 'large' | 'fullscreen' | number;
|
|
172
|
-
/**
|
|
173
|
-
|
|
172
|
+
/**
|
|
173
|
+
* Fixed height in both layouts, clamped to the viewport. Sidebar defaults: 400px desktop, 520px at <=600px.
|
|
174
|
+
* `'max'` is the tallest the window allows, whatever the content.
|
|
175
|
+
*/
|
|
176
|
+
height?: number | 'max';
|
|
174
177
|
maxWidth?: number;
|
|
175
178
|
minWidth?: number;
|
|
176
179
|
showCloseButton?: boolean;
|
|
@@ -242,8 +245,12 @@ export class DeesModal extends DeesElement {
|
|
|
242
245
|
@property({ type: String, reflect: true })
|
|
243
246
|
accessor width: 'small' | 'medium' | 'large' | 'fullscreen' | number = 'medium';
|
|
244
247
|
|
|
245
|
-
|
|
246
|
-
|
|
248
|
+
/** A height in px, or `'max'`: the tallest the window allows. */
|
|
249
|
+
@property({
|
|
250
|
+
reflect: true,
|
|
251
|
+
converter: { fromAttribute: (value: string | null) => (value === null ? undefined : value === 'max' ? 'max' : Number(value)) },
|
|
252
|
+
})
|
|
253
|
+
accessor height: number | 'max' | undefined;
|
|
247
254
|
|
|
248
255
|
@property({ type: Number, reflect: true })
|
|
249
256
|
accessor maxWidth!: number;
|
|
@@ -429,7 +436,7 @@ export class DeesModal extends DeesElement {
|
|
|
429
436
|
const widthClass = typeof this.width === 'string' ? `width-${this.width}` : '';
|
|
430
437
|
const sizing = [
|
|
431
438
|
typeof this.width === 'number' ? `--modal-width:${this.width}px` : '',
|
|
432
|
-
this.height !== undefined ? `--modal-height:${this.height}px` : '',
|
|
439
|
+
this.height === 'max' ? '--modal-height:100%' : this.height !== undefined ? `--modal-height:${this.height}px` : '',
|
|
433
440
|
this.maxWidth ? `--modal-max-width:${this.maxWidth}px` : '',
|
|
434
441
|
this.minWidth ? `--modal-min-width:${this.minWidth}px` : '',
|
|
435
442
|
].join(';');
|
|
@@ -574,16 +581,18 @@ export class DeesModal extends DeesElement {
|
|
|
574
581
|
private readonly formGate = new FormGate(this);
|
|
575
582
|
|
|
576
583
|
/**
|
|
577
|
-
* Enter in the last field of a form
|
|
578
|
-
* action (drawn as the primary button), as a click on it would.
|
|
584
|
+
* Enter in the last field of a form the dialog holds runs the dialog's
|
|
585
|
+
* primary action (drawn as the primary button), as a click on it would.
|
|
579
586
|
* While an action runs, or a prompt confirms, the request is answered and
|
|
580
|
-
* nothing else starts.
|
|
587
|
+
* nothing else starts. The request never leaves the dialog; a form without a
|
|
588
|
+
* primary to run (a dialog without actions, a form a host inside the dialog
|
|
589
|
+
* holds, such as a stepper's step) submits itself.
|
|
581
590
|
*/
|
|
582
591
|
private handleFormSubmitRequest(eventArg: Event): void {
|
|
592
|
+
eventArg.stopPropagation();
|
|
583
593
|
const footer = this.actionFooter;
|
|
584
|
-
if (!footer?.primaryAction) return;
|
|
594
|
+
if (!footer?.primaryAction || !this.formGate.holds(eventArg.composedPath()[0])) return;
|
|
585
595
|
eventArg.preventDefault();
|
|
586
|
-
eventArg.stopPropagation();
|
|
587
596
|
void footer.runPrimary();
|
|
588
597
|
}
|
|
589
598
|
|
/package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-LSCUUCAI.js.map → chunk-MFMMXJXV.js.map}
RENAMED
|
File without changes
|
|
File without changes
|