@design.estate/dees-catalog 24.3.0 → 24.5.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.
Files changed (42) hide show
  1. package/dist_bundle/bundle.js +161 -259
  2. package/dist_bundle/bundle.js.map +1 -1
  3. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-7CM7S6EQ.js → chunk-LRGVCS7F.js} +2 -2
  4. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-R6EBIDCM.js → chunk-PKH6IGY6.js} +347 -4
  5. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-R6EBIDCM.js.map → chunk-PKH6IGY6.js.map} +1 -1
  6. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-Z3DSEMNI.js → dees-modal-ORXOZADW.js} +2 -2
  7. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-KPB3RVGL.js → dees-workspace-terminal-MUU2HDU3.js} +3 -3
  8. package/dist_ts_web/00_commitinfo_data.js +1 -1
  9. package/dist_ts_web/elements/00group-appui/dees-appui/dees-appui.d.ts +42 -23
  10. package/dist_ts_web/elements/00group-appui/dees-appui/dees-appui.demo.js +2 -3
  11. package/dist_ts_web/elements/00group-appui/dees-appui/dees-appui.js +93 -81
  12. package/dist_ts_web/elements/00group-appui/dees-appui/shell.storage.d.ts +11 -4
  13. package/dist_ts_web/elements/00group-appui/dees-appui/shell.storage.js +32 -9
  14. package/dist_ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.d.ts +8 -1
  15. package/dist_ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.demo.js +7 -1
  16. package/dist_ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.js +18 -5
  17. package/dist_ts_web/elements/00group-input/dees-input-tags/dees-input-tags.d.ts +4 -13
  18. package/dist_ts_web/elements/00group-input/dees-input-tags/dees-input-tags.js +29 -174
  19. package/dist_ts_web/elements/00group-input/dees-input-text/dees-input-text.d.ts +41 -0
  20. package/dist_ts_web/elements/00group-input/dees-input-text/dees-input-text.demo.js +16 -1
  21. package/dist_ts_web/elements/00group-input/dees-input-text/dees-input-text.js +103 -3
  22. package/dist_ts_web/elements/00group-input/suggestion-list.d.ts +102 -0
  23. package/dist_ts_web/elements/00group-input/suggestion-list.js +300 -0
  24. package/dist_ts_web/elements/interfaces/appconfig.d.ts +28 -10
  25. package/package.json +1 -1
  26. package/readme.md +36 -7
  27. package/scripts/token-baseline.json +1 -1
  28. package/ts_web/00_commitinfo_data.ts +1 -1
  29. package/ts_web/elements/00group-appui/dees-appui/dees-appui.demo.ts +1 -2
  30. package/ts_web/elements/00group-appui/dees-appui/dees-appui.ts +102 -89
  31. package/ts_web/elements/00group-appui/dees-appui/readme.md +42 -26
  32. package/ts_web/elements/00group-appui/dees-appui/shell.storage.ts +42 -11
  33. package/ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.demo.ts +6 -0
  34. package/ts_web/elements/00group-input/dees-input-multitoggle/dees-input-multitoggle.ts +24 -7
  35. package/ts_web/elements/00group-input/dees-input-tags/dees-input-tags.ts +27 -171
  36. package/ts_web/elements/00group-input/dees-input-text/dees-input-text.demo.ts +17 -0
  37. package/ts_web/elements/00group-input/dees-input-text/dees-input-text.ts +106 -1
  38. package/ts_web/elements/00group-input/suggestion-list.ts +323 -0
  39. package/ts_web/elements/interfaces/appconfig.ts +29 -10
  40. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-7CM7S6EQ.js.map → chunk-LRGVCS7F.js.map} +0 -0
  41. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-Z3DSEMNI.js.map → dees-modal-ORXOZADW.js.map} +0 -0
  42. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-KPB3RVGL.js.map → dees-workspace-terminal-MUU2HDU3.js.map} +0 -0
@@ -0,0 +1,300 @@
1
+ import { css, html } from '@design.estate/dees-element';
2
+ import { listenForScrollAround, placeAnchored, visibleRect } from '../00anchorplacement.js';
3
+ import { OverlayScrollbarController } from '../00scrollbars.js';
4
+ /** A suggestion in its object form. */
5
+ export const inputSuggestion = (suggestionArg) => typeof suggestionArg === 'string' ? { value: suggestionArg } : suggestionArg;
6
+ /**
7
+ * The suggestions an editable field offers in a list under it, as a WAI-ARIA combobox: the field
8
+ * keeps the focus, the arrow keys move the highlighted option, Enter or a press picks it, Escape
9
+ * closes the list. The host owns the suggestions and what a pick does; the controller owns whether
10
+ * the list is open, the highlighted option, the list's markup and its place.
11
+ *
12
+ * The open list stands in the top layer (`popover="manual"`), below the field or above it without
13
+ * room there, so no scroll container, clipping ancestor or dialog around the field cuts it off. It
14
+ * follows the field as it scrolls or grows and steps out of view while none of the field shows.
15
+ *
16
+ * ```ts
17
+ * public static styles = [themeDefaultStyles, overlayScrollbarStyles, suggestionListStyles, css`…`];
18
+ * private readonly suggestionList = new SuggestionListController(this, {
19
+ * anchor: () => this.shadowRoot?.querySelector('input'),
20
+ * pick: (index) => this.choose(this.suggestions[index]),
21
+ * });
22
+ * public render() {
23
+ * return html`<input @keydown=${(e) => this.suggestionList.handleKeydown(e, this.suggestions.length)}>
24
+ * ${this.suggestionList.render(this.suggestions.map(inputSuggestion), this.label)}`;
25
+ * }
26
+ * public updated() {
27
+ * this.suggestionList.applyComboboxAttributes(this.shadowRoot!.querySelector('input')!, this.suggestions.length);
28
+ * }
29
+ * ```
30
+ */
31
+ export class SuggestionListController {
32
+ host;
33
+ options;
34
+ /** The id of the list in the host's shadow root, for the field's `aria-controls`. */
35
+ static listboxId = 'suggestion-listbox';
36
+ /** Whether the list shows while there are suggestions. */
37
+ expanded = false;
38
+ /** The highlighted option, -1 for none. */
39
+ highlightedIndex = -1;
40
+ /** The name the last render gave the list; empty for none. */
41
+ listLabel = '';
42
+ /** Ends the listeners that keep the open list beside the field. */
43
+ tracking;
44
+ /** The list's scrollbar, shown while it scrolls. */
45
+ scrollbars;
46
+ constructor(host, options) {
47
+ this.host = host;
48
+ this.options = options;
49
+ host.addController(this);
50
+ this.scrollbars = new OverlayScrollbarController(host, () => this.popup()?.querySelector('.suggestions-list'));
51
+ }
52
+ /** The id of the option at `indexArg`, for the field's `aria-activedescendant`. */
53
+ static optionId(indexArg) {
54
+ return `suggestion-option-${indexArg}`;
55
+ }
56
+ /** Whether the list shows `countArg` suggestions now. */
57
+ isOpen(countArg) {
58
+ return this.expanded && countArg > 0;
59
+ }
60
+ /** Opens the list; it shows while there are suggestions. */
61
+ show() {
62
+ if (this.expanded)
63
+ return;
64
+ this.expanded = true;
65
+ this.host.requestUpdate();
66
+ }
67
+ /** Closes the list and lets go of the highlighted option. */
68
+ hide() {
69
+ if (!this.expanded && this.highlightedIndex === -1)
70
+ return;
71
+ this.expanded = false;
72
+ this.highlightedIndex = -1;
73
+ this.host.requestUpdate();
74
+ }
75
+ /** Highlights the option at `indexArg`, -1 for none. */
76
+ highlight(indexArg) {
77
+ if (indexArg === this.highlightedIndex)
78
+ return;
79
+ this.highlightedIndex = indexArg;
80
+ this.host.requestUpdate();
81
+ }
82
+ /**
83
+ * Answers the list's keys in the field while the list shows: ArrowDown and ArrowUp move the
84
+ * highlighted option, Enter picks the highlighted one, Escape closes the list. Returns whether it
85
+ * answered the key; a key it answers in a showing list is prevented, so a form does not take Enter
86
+ * and a dialog does not take Escape. A list with no suggestions shows nothing and answers none of
87
+ * them: the arrows move the caret and Enter is the host's or the form's. Tab is the host's: it
88
+ * leaves the field without a pick.
89
+ */
90
+ handleKeydown(eventArg, countArg) {
91
+ if (eventArg.isComposing)
92
+ return false;
93
+ const open = this.isOpen(countArg);
94
+ switch (eventArg.key) {
95
+ case 'ArrowDown':
96
+ if (!open)
97
+ return false;
98
+ eventArg.preventDefault();
99
+ this.highlight(Math.min(this.highlightedIndex + 1, countArg - 1));
100
+ return true;
101
+ case 'ArrowUp':
102
+ if (!open)
103
+ return false;
104
+ eventArg.preventDefault();
105
+ this.highlight(Math.min(Math.max(this.highlightedIndex - 1, 0), countArg - 1));
106
+ return true;
107
+ case 'Enter':
108
+ if (!open || this.highlightedIndex < 0 || this.highlightedIndex >= countArg)
109
+ return false;
110
+ eventArg.preventDefault();
111
+ this.options.pick(this.highlightedIndex);
112
+ return true;
113
+ case 'Escape': {
114
+ if (!this.expanded)
115
+ return false;
116
+ if (open)
117
+ eventArg.preventDefault();
118
+ this.hide();
119
+ return true;
120
+ }
121
+ default:
122
+ return false;
123
+ }
124
+ }
125
+ /**
126
+ * Writes the combobox state onto the field: `role="combobox"`, `aria-autocomplete="list"`,
127
+ * `aria-expanded`, and while the list shows `aria-controls` and the highlighted option's
128
+ * `aria-activedescendant`. With `activeArg` false it removes all of them, for a field that offers
129
+ * no suggestions and is a plain text field.
130
+ */
131
+ applyComboboxAttributes(fieldArg, countArg, activeArg = true) {
132
+ const open = this.isOpen(countArg);
133
+ const highlighted = open && this.highlightedIndex >= 0 && this.highlightedIndex < countArg;
134
+ const attributes = {
135
+ role: activeArg ? 'combobox' : null,
136
+ 'aria-autocomplete': activeArg ? 'list' : null,
137
+ 'aria-expanded': activeArg ? String(open) : null,
138
+ 'aria-controls': activeArg && open ? SuggestionListController.listboxId : null,
139
+ 'aria-activedescendant': activeArg && highlighted ? SuggestionListController.optionId(this.highlightedIndex) : null,
140
+ };
141
+ for (const [name, value] of Object.entries(attributes)) {
142
+ if (value === null)
143
+ fieldArg.removeAttribute(name);
144
+ else if (fieldArg.getAttribute(name) !== value)
145
+ fieldArg.setAttribute(name, value);
146
+ }
147
+ }
148
+ /**
149
+ * The open list, or nothing while it is closed or has no suggestions. `labelArg` names it; an
150
+ * empty one leaves it without an `aria-label`.
151
+ */
152
+ render(itemsArg, labelArg = '') {
153
+ this.listLabel = labelArg;
154
+ if (!this.isOpen(itemsArg.length))
155
+ return '';
156
+ return html `
157
+ <div class="suggestions-dropdown" popover="manual"><div
158
+ class="suggestions-list"
159
+ id=${SuggestionListController.listboxId}
160
+ role="listbox"
161
+ >
162
+ ${itemsArg.map((item, index) => html `
163
+ <div
164
+ class="suggestion ${index === this.highlightedIndex ? 'highlighted' : ''}"
165
+ id=${SuggestionListController.optionId(index)}
166
+ role="option"
167
+ aria-selected=${index === this.highlightedIndex ? 'true' : 'false'}
168
+ @mousedown=${(event) => {
169
+ event.preventDefault(); // the field keeps the focus
170
+ this.options.pick(index);
171
+ }}
172
+ @mouseenter=${() => this.highlight(index)}
173
+ >
174
+ ${item.label ?? item.value}
175
+ ${item.description ? html `<div class="suggestion-description">${item.description}</div>` : ''}
176
+ </div>
177
+ `)}
178
+ </div></div>
179
+ `;
180
+ }
181
+ /** The open list follows the field from the render that shows it until the render that removes it. */
182
+ hostUpdated() {
183
+ const popup = this.popup();
184
+ if (!popup) {
185
+ this.stopTracking();
186
+ return;
187
+ }
188
+ // Applied here, not bound, so a list without a name carries no empty `aria-label`.
189
+ const listbox = popup.querySelector('[role="listbox"]');
190
+ if (this.listLabel)
191
+ listbox.setAttribute('aria-label', this.listLabel);
192
+ else
193
+ listbox.removeAttribute('aria-label');
194
+ const field = this.options.anchor();
195
+ if (!field)
196
+ return;
197
+ if (!this.tracking) {
198
+ const tracking = new AbortController();
199
+ this.tracking = tracking;
200
+ listenForScrollAround(field, this.place, tracking.signal);
201
+ window.addEventListener('resize', this.place, { passive: true, signal: tracking.signal });
202
+ // A field can grow as the reader works in it (tags wrap onto another line).
203
+ const observer = new ResizeObserver(this.place);
204
+ observer.observe(field);
205
+ tracking.signal.addEventListener('abort', () => observer.disconnect());
206
+ }
207
+ this.place();
208
+ }
209
+ hostDisconnected() {
210
+ this.stopTracking();
211
+ }
212
+ popup() {
213
+ return this.host.shadowRoot?.querySelector('.suggestions-dropdown');
214
+ }
215
+ stopTracking() {
216
+ this.tracking?.abort();
217
+ this.tracking = undefined;
218
+ }
219
+ /** Places the open list below the field, or above it without room there, as wide as the field. */
220
+ place = () => {
221
+ const popup = this.popup();
222
+ const field = this.options.anchor();
223
+ if (!popup || !field)
224
+ return;
225
+ const shown = visibleRect(field);
226
+ if (!shown) {
227
+ if (popup.matches(':popover-open'))
228
+ popup.hidePopover();
229
+ return;
230
+ }
231
+ if (!popup.matches(':popover-open'))
232
+ popup.showPopover();
233
+ const box = field.getBoundingClientRect();
234
+ popup.style.width = `${box.width}px`;
235
+ const placed = placeAnchored({
236
+ anchor: { left: box.left, right: box.right, top: shown.top, bottom: shown.bottom },
237
+ width: box.width,
238
+ height: popup.offsetHeight,
239
+ placement: 'bottom',
240
+ flip: true,
241
+ gap: 4,
242
+ });
243
+ popup.style.left = `${placed.left}px`;
244
+ popup.style.top = `${placed.top}px`;
245
+ };
246
+ }
247
+ /** The open list's look; a host adds `overlayScrollbarStyles` beside it. */
248
+ export const suggestionListStyles = css `
249
+ /* A popover in the top layer, placed by the controller. The list scrolls inside it, the frame
250
+ its scrollbar is placed in. */
251
+ .suggestions-dropdown {
252
+ position: fixed;
253
+ inset: auto;
254
+ margin: 0;
255
+ padding: 0;
256
+ color: inherit;
257
+ background: var(--dees-material-regular-bg-opaque);
258
+ border: var(--dees-line-width-hairline) solid var(--dees-color-border-default);
259
+ border-radius: var(--dees-radius-lg);
260
+ corner-shape: var(--dees-corner-shape);
261
+ box-shadow: var(--dees-shadow-lg);
262
+ overflow: hidden;
263
+ }
264
+
265
+ .suggestions-list {
266
+ max-height: calc(200px - 2 * var(--dees-line-width-hairline));
267
+ overflow-y: auto;
268
+ }
269
+
270
+ @media (prefers-reduced-transparency: reduce) {
271
+ .suggestions-dropdown {
272
+ -webkit-backdrop-filter: none;
273
+ backdrop-filter: none;
274
+ }
275
+ }
276
+
277
+ .suggestion {
278
+ padding: var(--dees-spacing-xs-plus) var(--dees-spacing-sm-plus);
279
+ cursor: pointer;
280
+ transition: background-color var(--dees-transition-fast) var(--dees-ease-standard);
281
+ font-size: 14px;
282
+ color: var(--dees-color-text-primary);
283
+ }
284
+
285
+ .suggestion:hover {
286
+ background: var(--dees-color-hover);
287
+ }
288
+
289
+ .suggestion.highlighted {
290
+ background: var(--dees-color-active);
291
+ color: var(--dees-color-text-primary);
292
+ }
293
+
294
+ .suggestion-description {
295
+ color: var(--dees-color-text-secondary);
296
+ font-size: var(--dees-font-footnote-size);
297
+ line-height: var(--dees-font-footnote-line);
298
+ }
299
+ `;
300
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VnZ2VzdGlvbi1saXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vdHNfd2ViL2VsZW1lbnRzLzAwZ3JvdXAtaW5wdXQvc3VnZ2VzdGlvbi1saXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxHQUFHLEVBQUUsSUFBSSxFQUF5RCxNQUFNLDZCQUE2QixDQUFDO0FBQy9HLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxhQUFhLEVBQUUsV0FBVyxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFFNUYsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFjaEUsdUNBQXVDO0FBQ3ZDLE1BQU0sQ0FBQyxNQUFNLGVBQWUsR0FBRyxDQUFDLGFBQStCLEVBQW9CLEVBQUUsQ0FDbkYsT0FBTyxhQUFhLEtBQUssUUFBUSxDQUFDLENBQUMsQ0FBQyxFQUFFLEtBQUssRUFBRSxhQUFhLEVBQUUsQ0FBQyxDQUFDLENBQUMsYUFBYSxDQUFDO0FBUy9FOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0F3Qkc7QUFDSCxNQUFNLE9BQU8sd0JBQXdCO0lBb0JoQixJQUFJO0lBQ0osT0FBTztJQXBCMUIscUZBQXFGO0lBQzlFLE1BQU0sQ0FBVSxTQUFTLEdBQUcsb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FDLENBQUM7Q0FDSDtBQUVELDRFQUE0RTtBQUM1RSxNQUFNLENBQUMsTUFBTSxvQkFBb0IsR0FBYyxHQUFHLENBQUE7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztDQW1EakQsQ0FBQyJ9
@@ -98,11 +98,13 @@ export interface IBottomBarAPI {
98
98
  clearActions: () => void;
99
99
  }
100
100
  /**
101
- * A pane a reader can resize: `secondary` is the section menu, `activity` the
102
- * activity log and `assistant` the host's assistant, the two tools of the side
103
- * panel. The main menu is not one: it is either a rail or expanded.
101
+ * A pane a reader can resize: `secondary` is the section menu, `aside` the
102
+ * side panel, which has one width whichever tool it shows. `activity` and
103
+ * `assistant` are deprecated names of `aside`, from when each tool had a width
104
+ * of its own: they size and read the same one width. The main menu is not
105
+ * one: it is either a rail or expanded.
104
106
  */
105
- export type TAppuiPane = 'secondary' | 'activity' | 'assistant';
107
+ export type TAppuiPane = 'secondary' | 'aside' | 'activity' | 'assistant';
106
108
  /**
107
109
  * A tool the side panel on the content's end edge shows, one at a time:
108
110
  * `activity` is the activity log, `assistant` the host's assistant.
@@ -435,9 +437,10 @@ export interface IActivityLogConfig {
435
437
  */
436
438
  toggle?: boolean;
437
439
  /**
438
- * The activity log's width in CSS pixels, clamped to 240–480. Unset keeps the
439
- * width the pane has: 280 at first. A width the reader left it at, read from
440
- * `IAppConfig.storage`, wins.
440
+ * The side panel's first width in CSS pixels, as `IAppConfig.asideWidth`
441
+ * sets it, which wins, as does `IAppAssistantConfig.width`.
442
+ * @deprecated The side panel has one width whichever tool it shows: set
443
+ * `IAppConfig.asideWidth`.
441
444
  */
442
445
  width?: number;
443
446
  }
@@ -456,9 +459,10 @@ export interface IAppAssistantConfig {
456
459
  /** The icon of the app bar button and the palette command (default: `lucide:Sparkles`). */
457
460
  iconName?: string;
458
461
  /**
459
- * The assistant's width in CSS pixels, clamped to 320–640. Unset keeps the
460
- * width the pane has: 400 at first. A width the reader left it at, read from
461
- * `IAppConfig.storage`, wins.
462
+ * The side panel's first width in CSS pixels, as `IAppConfig.asideWidth`
463
+ * sets it, which wins; this wins over `IActivityLogConfig.width`.
464
+ * @deprecated The side panel has one width whichever tool it shows: set
465
+ * `IAppConfig.asideWidth`.
462
466
  */
463
467
  width?: number;
464
468
  /**
@@ -564,6 +568,14 @@ export interface IAppConfig {
564
568
  * last chose, read from `storage`, wins.
565
569
  */
566
570
  aside?: TAppuiAside | null;
571
+ /**
572
+ * The side panel's width in CSS pixels, clamped to 320–640, the same
573
+ * whichever tool it shows: opening, switching and closing a tool never
574
+ * change it. Unset keeps the width the panel has: 400 at first. A width the
575
+ * reader left it at, read from `storage`, wins. Wins over the deprecated
576
+ * `assistant.width`, which wins over the deprecated `activityLog.width`.
577
+ */
578
+ asideWidth?: number;
567
579
  /** Bottom bar configuration */
568
580
  bottomBar?: IBottomBarConfig;
569
581
  /** Host commands offered in the command palette beside the shell's own sources. */
@@ -617,6 +629,12 @@ export interface IViewChangeEvent {
617
629
  * new width, in CSS pixels — at the end of a drag, or with a key.
618
630
  */
619
631
  export interface IPaneResizeEvent {
632
+ /**
633
+ * `secondary`, or for the side panel the tool it showed, `activity` or
634
+ * `assistant`, as hosts written while each tool had a width of its own
635
+ * expect. Either is a deprecated name of `aside`: `width` is the panel's one
636
+ * width, whichever tool it shows.
637
+ */
620
638
  pane: TAppuiPane;
621
639
  width: number;
622
640
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-catalog",
3
- "version": "24.3.0",
3
+ "version": "24.5.0",
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",
package/readme.md CHANGED
@@ -1894,6 +1894,32 @@ Text input field with validation, info tooltips, description text, and context m
1894
1894
  - `validationFunction` always receives the value as text, whatever the type.
1895
1895
  - [`frameless`](#frameless-components) sheds the field chrome — border, label and validation
1896
1896
  row — so the input blends into a host that owns them, the way `dees-table` edits a cell.
1897
+ - `suggestions: TInputSuggestion[] | null` offers values in a list under the focused field. A
1898
+ suggestion is the value itself or `{ value, label?, description? }` (`IInputSuggestion`): `label`
1899
+ is shown instead of the value, `description` as a quieter second line. The field shows the list
1900
+ as the host gives it and filters nothing, so a host that completes the typed text — paths on a
1901
+ server, say — answers `input` with the list for it. The list is a WAI-ARIA combobox: the input is
1902
+ `role="combobox"` with `aria-autocomplete="list"`, `aria-expanded`, `aria-controls` and
1903
+ `aria-activedescendant`; the list is a `role="listbox"` of `role="option"`s with `aria-selected`.
1904
+ ArrowDown and ArrowUp move the highlighted option (ArrowDown also opens a closed list), Enter or a
1905
+ press picks it, Escape closes the list and Tab leaves the field without a pick; typing opens it
1906
+ again. The keys act only while the list shows; with no suggestions the arrows move the caret and
1907
+ Enter is the form's. A key the open list answers is prevented, so Enter does not reach a
1908
+ `dees-form` and Escape does not close a `dees-modal`. A pick sets the value, runs `validationFunction`, reports `input`
1909
+ and `change` (leaving the field afterwards reports no second `change`) and fires `suggestion-select` (bubbling, composed) with
1910
+ `{ value, suggestion }` (`IInputTextSuggestionSelectDetail`). The list stands in the top layer
1911
+ below the field, or above it without room there, as `dees-input-tags`' does. `null`, the default,
1912
+ is a plain text field with none of the combobox attributes; an empty array keeps the combobox
1913
+ with its list closed.
1914
+
1915
+ ```typescript
1916
+ html`<dees-input-text
1917
+ label="Working directory"
1918
+ .suggestions=${this.paths}
1919
+ @input=${(event: Event) => this.completePath((event.currentTarget as DeesInputText).value)}
1920
+ @suggestion-select=${(event: CustomEvent<IInputTextSuggestionSelectDetail>) => this.open(event.detail.value)}
1921
+ ></dees-input-text>`;
1922
+ ```
1897
1923
 
1898
1924
  > 💡 **All input components** share these common properties from `DeesInputBase`: `key`, `label`, `required`, `disabled`, `infoText`, `description`, `layoutMode`, `labelPosition`.
1899
1925
 
@@ -2127,7 +2153,7 @@ html`<dees-input-multitoggle
2127
2153
 
2128
2154
  | Property/API | Behavior |
2129
2155
  | --- | --- |
2130
- | `options: TMultitoggleOption[]` | Strings or `{ key, label, disabled?, icon?, badge?, description? }` objects; `description` is the segment's tooltip. |
2156
+ | `options: TMultitoggleOption[]` | Strings or `{ key, label, disabled?, icon?, badge?, description?, tone? }` objects; `description` is the segment's tooltip. `tone` (a `TTone`: `neutral`, `info`, `success`, `warning`, `error`) colours the option while it is selected: its label takes the tone's `--dees-color-text-*` token and the selected segment a tint of the tone with a hairline in it, readable at 4.5:1 in both themes. Unselected, and without a tone, an option looks as before. |
2131
2157
  | `selectedOption` | Selected string/key; bind with `.selectedOption` in Lit. |
2132
2158
  | `value`, `getValue()`, `setValue(value)` | String key, or boolean in boolean mode. `value` is a JavaScript property, not a `value` HTML attribute. |
2133
2159
  | `type="boolean"` | Two alternatives named by `booleanTrueName` / `booleanFalseName`; `.boolValue` supplies a boolean selection. |
@@ -2919,9 +2945,11 @@ explicit ranges supplied through the chart API.
2919
2945
 
2920
2946
  App UI chrome shares an opaque tone and a 40px desktop / 48px touch row across
2921
2947
  the app bar, pane headings, tabs and compact navigation. The section menu and the
2922
- side panel's tools are resizable by their inner edge — a drag, the Arrow keys, Enter
2923
- to reset — and the shell writes their widths to `--dees-appui-secondary-width`,
2924
- `--dees-appui-activity-width` and `--dees-appui-assistant-width` on itself. It is compact at or below 700px of its own
2948
+ side panel are resizable by their inner edge — a drag, the Arrow keys, Enter
2949
+ to reset — and the shell writes their widths to `--dees-appui-secondary-width`
2950
+ and `--dees-appui-aside-width` on itself. The side panel has one width whichever
2951
+ tool it shows, so switching between the activity log and the assistant moves
2952
+ nothing. It is compact at or below 700px of its own
2925
2953
  width and says so as its `compact` attribute; neither it nor the app bar is a CSS
2926
2954
  size container. Sidebar selection follows
2927
2955
  the item's `key`, including immutable badge updates. Tabs use an inset selection
@@ -3006,9 +3034,10 @@ interface IAppConfig {
3006
3034
  defaultView?: string; // the first screen when the address names none
3007
3035
  notFoundView?: string; // where an address naming no screen lands, told it in query.path
3008
3036
  secondaryMenu?: ISecondaryMenuConfig; // { autoHide?: boolean } — on unless false: no section menu while the view has no sections
3009
- activityLog?: IActivityLogConfig; // toggle: false drops the app bar's activity button; width is its first width
3010
- assistant?: IAppAssistantConfig; // the side panel's second tool: content, iconName, width, shortcut, focus
3037
+ activityLog?: IActivityLogConfig; // toggle: false drops the app bar's activity button; width is deprecated (asideWidth)
3038
+ assistant?: IAppAssistantConfig; // the side panel's second tool: content, iconName, shortcut, focus; width is deprecated (asideWidth)
3011
3039
  aside?: TAppuiAside | null; // what the side panel shows first: 'activity', 'assistant' or nothing
3040
+ asideWidth?: number; // the side panel's first width, the same for both tools
3012
3041
  bottomBar?: IBottomBarConfig;
3013
3042
  commands?: ICommand[];
3014
3043
  tray?: boolean; // the tabs tray: pages a reader keeps across views, above the bottom bar
@@ -3070,7 +3099,7 @@ speaks English until it is set.
3070
3099
  | **Content Heading** | `setContentHeading(heading \| null)`, `getContentHeading()`; a view declares its own in `contentHeading` |
3071
3100
  | **Activity Log** | `activityLog.add()`, `activityLog.addMany()`, `activityLog.clear()`, `activityLog.getEntries()`, `activityLog.filter()`, `activityLog.search()` |
3072
3101
  | **Side Panel** | `setAside(tool \| null)`, `getAside()` for `'activity'` and `'assistant'`; the `aside-change` event (`{ aside }`) once per change a reader makes |
3073
- | **Layout** | `setPaneWidth(pane, width)`, `getPaneWidth(pane)` for `'secondary'`, `'activity'` and `'assistant'`; the `pane-resize` event (`{ pane, width }`) once per width a reader settles |
3102
+ | **Layout** | `setPaneWidth(pane, width)`, `getPaneWidth(pane)` for `'secondary'` and `'aside'` (`'activity'` and `'assistant'` are deprecated names of `'aside'`); the `pane-resize` event (`{ pane, width }`) once per width a reader settles |
3074
3103
  | **Persistence** | `setStorage(storage)`: another storage adapter while the shell runs; the layout and the tray's tabs are read from it again, and every change is written to it only |
3075
3104
  | **Bottom Bar** | `bottomBar.addWidget()`, `bottomBar.updateWidget()`, `bottomBar.removeWidget()`, `bottomBar.getWidget()`, `bottomBar.clearWidgets()`, `bottomBar.addAction()`, `bottomBar.removeAction()`, `bottomBar.clearActions()`, `setBottomBarVisible()`, `getBottomBarVisible()` |
3076
3105
  | **Observables** | `viewChanged$`, `viewLifecycle$` |
@@ -67,7 +67,7 @@
67
67
  "ts_web/elements/00group-input/dees-input-quantityselector/dees-input-quantityselector.ts": 1,
68
68
  "ts_web/elements/00group-input/dees-input-reference/dees-input-reference.ts": 1,
69
69
  "ts_web/elements/00group-input/dees-input-richtext/styles.ts": 22,
70
- "ts_web/elements/00group-input/dees-input-tags/dees-input-tags.ts": 9,
70
+ "ts_web/elements/00group-input/dees-input-tags/dees-input-tags.ts": 7,
71
71
  "ts_web/elements/00group-input/dees-input-typelist/dees-input-typelist.ts": 8,
72
72
  "ts_web/elements/00group-input/dees-input-wysiwyg/blocks/block.styles.ts": 4,
73
73
  "ts_web/elements/00group-input/dees-input-wysiwyg/blocks/content/divider.block.ts": 2,
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-catalog',
6
- version: '24.3.0',
6
+ version: '24.5.0',
7
7
  description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
8
8
  }
@@ -31,8 +31,7 @@ const assistantReply = 'edge-eu is back within its 200 ms latency target, and it
31
31
  */
32
32
  const keptKeys = new Set([
33
33
  'dees-appui.secondaryPaneWidth',
34
- 'dees-appui.activityPaneWidth',
35
- 'dees-appui.assistantPaneWidth',
34
+ 'dees-appui.asidePaneWidth',
36
35
  'dees-appui.lastView',
37
36
  ]);
38
37
  const sessionShellStorage: IAppShellStorage = {