ng-hub-ui-forms 22.44.2 → 22.45.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-hub-ui-forms",
3
- "version": "22.44.2",
3
+ "version": "22.45.0",
4
4
  "license": "MIT",
5
5
  "description": "Accessible, signal-based form fields for Angular (input, textarea, slider, segmented, select, datepicker, file input with drag & drop and upload progress) with automatic error display for controls, FormGroups and FormArrays. Reactive Forms today, Signal Forms ready. Part of the ng-hub-ui family.",
6
6
  "author": "Carlos Morcillo Fernández <carlos.morcillo@me.com> (https://www.carlosmorcillo.com)",
@@ -46,7 +46,7 @@
46
46
  --hub-form-feedback-font-size: var(--hub-ref-font-size-sm, 0.875rem);
47
47
  --hub-form-feedback-margin-top: var(--hub-ref-space-1, 0.25rem);
48
48
 
49
- --hub-form-text-color: var(--hub-sys-text-muted, #6c757d);
49
+ --hub-form-text-color: var(--hub-sys-text-muted, #6a737b);
50
50
  --hub-form-text-font-size: var(--hub-ref-font-size-sm, 0.875rem);
51
51
  --hub-form-text-margin-top: var(--hub-ref-space-1, 0.25rem);
52
52
 
@@ -62,7 +62,7 @@
62
62
  --hub-form-hint-size: 1.15em;
63
63
  --hub-form-hint-font-size: var(--hub-ref-font-size-xs, 0.75rem);
64
64
  --hub-form-hint-font-weight: var(--hub-ref-font-weight-bold, 700);
65
- --hub-form-hint-color: var(--hub-sys-text-muted, #6c757d);
65
+ --hub-form-hint-color: var(--hub-sys-text-muted, #6a737b);
66
66
  --hub-form-hint-bg: transparent;
67
67
  --hub-form-hint-border-width: 1px;
68
68
  --hub-form-hint-border-color: var(--hub-sys-border-color-default, #dee2e6);
@@ -133,7 +133,7 @@
133
133
  --hub-input-border-radius: var(--hub-ref-radius-md, 0.375rem);
134
134
  --hub-input-focus-border-color: var(--hub-sys-color-primary, #0d6efd);
135
135
  --hub-input-focus-box-shadow: 0 0 0 var(--hub-form-focus-ring-width) var(--hub-form-focus-ring-color);
136
- --hub-input-placeholder-color: var(--hub-sys-text-muted, #6c757d);
136
+ --hub-input-placeholder-color: var(--hub-sys-text-muted, #6a737b);
137
137
 
138
138
  // Read-only fields. Not a faded variant of disabled: a read-only value is there
139
139
  // to be read, so it keeps full contrast and loses only the chrome that promises
@@ -170,7 +170,7 @@
170
170
  // standing beside it, so the group reads as one box with a unit written inside.
171
171
  // The fill is spent on what can be operated instead — see the action tokens below.
172
172
  --hub-input-group-addon-bg: var(--hub-input-bg);
173
- --hub-input-group-addon-color: var(--hub-sys-text-muted, #6c757d);
173
+ --hub-input-group-addon-color: var(--hub-sys-text-muted, #6a737b);
174
174
  --hub-input-group-addon-border-color: var(--hub-input-border-color);
175
175
 
176
176
  // Whatever is attached and operable. Carries the fill so the eye lands on the thing
@@ -190,7 +190,7 @@
190
190
  --hub-input-group-attached-border-color: var(--hub-input-border-color);
191
191
 
192
192
  // Input · affix (projected leading/trailing content, e.g. a <hub-icon>)
193
- --hub-input-icon-color: var(--hub-sys-text-muted, #6c757d);
193
+ --hub-input-icon-color: var(--hub-sys-text-muted, #6a737b);
194
194
  --hub-input-icon-size: var(--hub-ref-font-size-base, 1rem);
195
195
  --hub-input-affix-inset: var(--hub-input-padding-x);
196
196
  --hub-input-affix-gap: var(--hub-ref-space-2, 0.5rem);
@@ -198,7 +198,7 @@
198
198
  // Input · clear button ([clearable]) — glyph is a swappable mask
199
199
  --hub-input-clear-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
200
200
  --hub-input-clear-size: var(--hub-ref-font-size-base, 1rem);
201
- --hub-input-clear-color: var(--hub-sys-text-muted, #6c757d);
201
+ --hub-input-clear-color: var(--hub-sys-text-muted, #6a737b);
202
202
  --hub-input-clear-hover-color: var(--hub-sys-color-danger, #dc3545);
203
203
 
204
204
  // Input · password format (reveal toggle, Caps Lock hint, strength meter)
@@ -289,7 +289,7 @@
289
289
  // Dropzone copy. The prompt is a row by default (invitation and browse action side by
290
290
  // side); `--hub-file-input-prompt-direction: column` stacks them, which is what a
291
291
  // dropzone carrying a `dropSubtext` wants.
292
- --hub-file-input-prompt-color: var(--hub-sys-text-muted, #6c757d);
292
+ --hub-file-input-prompt-color: var(--hub-sys-text-muted, #6a737b);
293
293
  --hub-file-input-prompt-font-size: var(--hub-ref-font-size-base, 1rem);
294
294
  --hub-file-input-prompt-direction: row;
295
295
  // `baseline` aligns a row of text; a column prompt wants `center`.
@@ -300,7 +300,7 @@
300
300
  --hub-file-input-drop-text-font-weight: inherit;
301
301
  --hub-file-input-drop-subtext-color: var(--hub-file-input-hint-color);
302
302
  --hub-file-input-drop-subtext-font-size: var(--hub-file-input-hint-font-size);
303
- --hub-file-input-hint-color: var(--hub-sys-text-muted, #6c757d);
303
+ --hub-file-input-hint-color: var(--hub-sys-text-muted, #6a737b);
304
304
  --hub-file-input-hint-font-size: var(--hub-ref-font-size-sm, 0.875rem);
305
305
 
306
306
  // Browse action — a transparent, underlined text affordance by default. Give it a
@@ -327,7 +327,7 @@
327
327
  // `<ng-template hubFileIcon>` to replace the per-file glyph with a component.
328
328
  --hub-file-input-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5'/%3E%3Cpath fill='black' d='M7.646.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 1.707V10.5a.5.5 0 0 1-1 0V1.707L5.354 3.854a.5.5 0 1 1-.708-.708z'/%3E%3C/svg%3E");
329
329
  --hub-file-input-icon-size: 2rem;
330
- --hub-file-input-icon-color: var(--hub-sys-text-muted, #6c757d);
330
+ --hub-file-input-icon-color: var(--hub-sys-text-muted, #6a737b);
331
331
  // The glyph can sit on a medallion: a tinted, rounded surface behind it. Off by default
332
332
  // (transparent, square, exactly the glyph's box), so the dropzone renders unchanged.
333
333
  --hub-file-input-icon-bg: transparent;
@@ -335,7 +335,7 @@
335
335
  --hub-file-input-icon-chip-radius: 0;
336
336
  --hub-file-input-file-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M4 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.414A1.5 1.5 0 0 0 13.56 3.35L10.65.44A1.5 1.5 0 0 0 9.586 0zm5.5 1.5v2a1 1 0 0 0 1 1h2z'/%3E%3C/svg%3E");
337
337
  --hub-file-input-file-icon-size: 1.5rem;
338
- --hub-file-input-file-icon-color: var(--hub-sys-text-muted, #6c757d);
338
+ --hub-file-input-file-icon-color: var(--hub-sys-text-muted, #6a737b);
339
339
  --hub-file-input-remove-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708'/%3E%3C/svg%3E");
340
340
  --hub-file-input-cancel-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M5 3.5h6a1.5 1.5 0 0 1 1.5 1.5v6a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 11V5A1.5 1.5 0 0 1 5 3.5'/%3E%3C/svg%3E");
341
341
  --hub-file-input-retry-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='black' d='M8 3a5 5 0 1 0 4.546 2.914.5.5 0 0 1 .908-.417A6 6 0 1 1 8 2z'/%3E%3Cpath fill='black' d='M8 4.466V.534a.25.25 0 0 1 .41-.192l2.36 1.966c.12.1.12.284 0 .384L8.41 4.658A.25.25 0 0 1 8 4.466'/%3E%3C/svg%3E");
@@ -344,7 +344,7 @@
344
344
 
345
345
  // Per-file action buttons
346
346
  --hub-file-input-action-size: 1rem;
347
- --hub-file-input-action-color: var(--hub-sys-text-muted, #6c757d);
347
+ --hub-file-input-action-color: var(--hub-sys-text-muted, #6a737b);
348
348
  --hub-file-input-action-hover-color: var(--hub-sys-text-body, #212529);
349
349
  --hub-file-input-remove-hover-color: var(--hub-sys-color-danger, #dc3545);
350
350
 
@@ -359,11 +359,11 @@
359
359
  --hub-file-input-item-padding-y: var(--hub-ref-space-2, 0.5rem);
360
360
  --hub-file-input-item-gap: var(--hub-ref-space-2, 0.5rem);
361
361
  --hub-file-input-name-font-size: var(--hub-ref-font-size-sm, 0.875rem);
362
- --hub-file-input-size-color: var(--hub-sys-text-muted, #6c757d);
362
+ --hub-file-input-size-color: var(--hub-sys-text-muted, #6a737b);
363
363
  --hub-file-input-size-font-size: var(--hub-ref-font-size-sm, 0.875rem);
364
364
  --hub-file-input-error-color: var(--hub-sys-color-danger, #dc3545);
365
365
  --hub-file-input-error-font-size: var(--hub-ref-font-size-sm, 0.875rem);
366
- --hub-file-input-clear-color: var(--hub-sys-text-muted, #6c757d);
366
+ --hub-file-input-clear-color: var(--hub-sys-text-muted, #6a737b);
367
367
  --hub-file-input-clear-font-size: var(--hub-ref-font-size-sm, 0.875rem);
368
368
 
369
369
  // Thumbnail
@@ -492,7 +492,7 @@
492
492
  --hub-file-drop-text-color: var(--hub-sys-text-body, #212529);
493
493
  --hub-file-drop-text-font-size: var(--hub-ref-font-size-lg, 1.125rem);
494
494
  --hub-file-drop-text-font-weight: var(--hub-ref-font-weight-medium, 500);
495
- --hub-file-drop-subtext-color: var(--hub-sys-text-muted, #6c757d);
495
+ --hub-file-drop-subtext-color: var(--hub-sys-text-muted, #6a737b);
496
496
  --hub-file-drop-subtext-font-size: var(--hub-ref-font-size-sm, 0.875rem);
497
497
  --hub-file-drop-transition: 0.15s ease-in-out;
498
498
  // Above a modal, because a screen can be a modal: a drop zone that lands under the dialog it
@@ -582,13 +582,13 @@
582
582
  --hub-select-group-attached-gap: var(--hub-input-group-attached-gap);
583
583
  --hub-select-group-attached-border-width: var(--hub-select-border-width);
584
584
  --hub-select-group-attached-border-color: var(--hub-select-border-color);
585
- --hub-select-arrow-color: var(--hub-sys-text-muted, #6c757d);
585
+ --hub-select-arrow-color: var(--hub-sys-text-muted, #6a737b);
586
586
  // Caret geometry — the border of the CSS triangle and the wrapper's inline
587
587
  // padding (clearance from the value and from the field edge). Tune both to
588
588
  // follow a denser field scale (`--hub-select-font-size` / `-min-height`).
589
589
  --hub-select-arrow-size: 5px;
590
590
  --hub-select-arrow-gap: var(--hub-ref-space-2, 0.5rem);
591
- --hub-select-clear-color: var(--hub-sys-text-muted, #6c757d);
591
+ --hub-select-clear-color: var(--hub-sys-text-muted, #6a737b);
592
592
  --hub-select-clear-hover-color: var(--hub-sys-color-danger, #dc3545);
593
593
  --hub-select-option-color: var(--hub-sys-text-body, #212529);
594
594
  --hub-select-option-padding-x: var(--hub-ref-space-3, 1rem);
@@ -602,7 +602,7 @@
602
602
  // Text on the selected option sits on the primary accent — read the derived
603
603
  // contrast token so a light/custom primary keeps the label legible.
604
604
  --hub-select-option-selected-color: var(--hub-sys-color-primary-on, var(--hub-ref-color-white, #fff));
605
- --hub-select-optgroup-color: var(--hub-sys-text-muted, #6c757d);
605
+ --hub-select-optgroup-color: var(--hub-sys-text-muted, #6a737b);
606
606
  --hub-select-value-bg: var(--hub-sys-surface-elevated, #f8f9fa);
607
607
  --hub-select-value-color: var(--hub-sys-text-body, #212529);
608
608
  --hub-select-value-border-radius: var(--hub-ref-radius-sm, 0.25rem);
@@ -625,6 +625,14 @@
625
625
  // carrier and override bridge; the canonical hook is `--hub-select-dropdown-zindex`,
626
626
  // read first at the consumption point (select.component.scss).
627
627
  --hub-select-dropdown-z-index: calc(var(--hub-sys-zindex-modal, 1055) + 5);
628
+ // `.hub-select-chip`: the one colour the pill is drawn in (border, tints, focus ring, and the
629
+ // name and value with their lightness capped). The `hub-select-chip-<accent>` classes point it
630
+ // at a semantic colour, as a button's colour does.
631
+ --hub-select-chip-accent: var(--hub-sys-color-primary, #0d6efd);
632
+ // What the open list lines up with: `control`, the part that holds the value, or `group`, the
633
+ // whole field with its prepend and append. Read when the list opens, so a stylesheet decides
634
+ // it; the chip asks for `group`, so the list starts under the filter's name.
635
+ --hub-select-dropdown-anchor: control;
628
636
 
629
637
  // ── Datepicker ──────────────────────────────────────────────────────────────
630
638
  --hub-datepicker-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%236c757d' d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E");
@@ -655,8 +663,8 @@
655
663
  // so retinting the range moves the preview with it — the two must never drift apart, or
656
664
  // the tentative state stops reading as weaker than the settled one.
657
665
  --hub-daterangepicker-preview-bg: color-mix(in oklch, var(--hub-daterangepicker-in-range-bg) 50%, transparent);
658
- --hub-daterangepicker-off-color: var(--hub-sys-text-muted, #6c757d);
659
- --hub-daterangepicker-nav-arrow-color: var(--hub-sys-text-muted, #6c757d);
666
+ --hub-daterangepicker-off-color: var(--hub-sys-text-muted, #6a737b);
667
+ --hub-daterangepicker-nav-arrow-color: var(--hub-sys-text-muted, #6a737b);
660
668
  --hub-daterangepicker-nav-arrow-hover-color: var(--hub-sys-text-body, #212529);
661
669
 
662
670
  // Select · buttons format
@@ -680,6 +688,10 @@
680
688
  --hub-segmented-accent: var(--hub-sys-color-primary, #0d6efd);
681
689
  --hub-segmented-selected-bg: var(--hub-sys-surface-page, #fff);
682
690
  --hub-segmented-selected-color: var(--hub-sys-text-body, #212529);
691
+ // Disabled keeps the selection readable: a flat grey pill with body-coloured text, while the
692
+ // unselected options fade with `--hub-form-disabled-opacity`.
693
+ --hub-segmented-disabled-selected-bg: var(--hub-sys-border-color-default, #dee2e6);
694
+ --hub-segmented-disabled-selected-color: var(--hub-sys-text-body, #212529);
683
695
  --hub-segmented-radius: var(--hub-ref-radius-md, 0.375rem);
684
696
  --hub-segmented-gap: 0.25rem;
685
697
  --hub-segmented-padding-x: var(--hub-ref-space-3, 1rem);
package/styles/index.scss CHANGED
@@ -24,3 +24,4 @@
24
24
  @forward 'mixins/forms-theme';
25
25
  @forward 'mixins/segmented-theme';
26
26
  @forward 'mixins/file-input-theme';
27
+ @forward 'mixins/select-chip';
@@ -0,0 +1,108 @@
1
+ // ─────────────────────────────────────────────────────────────────────────
2
+ // hub-select-chip — a `<hub-select>` drawn as a filter pill
3
+ // ─────────────────────────────────────────────────────────────────────────
4
+ //
5
+ // A filter above a list that picks one value (or several) from a list: the filter's name in
6
+ // front (the select's `prepend`), the chosen value, and the clear button as the chip's ×. A soft
7
+ // tint at rest, a stronger one and a solid border while it holds a value, so the row says at a
8
+ // glance what the list is narrowed by. Only a look: the select still does the list, the search,
9
+ // the keyboard and the clearing.
10
+ //
11
+ // Ready-made, with no Sass at all, as classes on the select:
12
+ //
13
+ // <hub-select class="hub-select-chip hub-select-chip-success" prepend="Status" … />
14
+ //
15
+ // The mixin is for a class of your own, or an accent the nine built-in ones do not cover:
16
+ //
17
+ // @use 'ng-hub-ui-forms/styles' as *;
18
+ //
19
+ // .filter-chip {
20
+ // @include hub-select-chip($accent: var(--hub-sys-color-brand));
21
+ // }
22
+ //
23
+ // Wherever it is applied it also sets `--hub-select-dropdown-anchor: group`, so the open list
24
+ // starts under the name, not under the value, and is at least as wide as the whole pill.
25
+ //
26
+ // scss-docs-start hub-select-chip
27
+ @mixin hub-select-chip(
28
+ // the one colour the pill is drawn in; null keeps `--hub-select-chip-accent`
29
+ $accent: null
30
+ ) {
31
+ @if $accent != null {
32
+ --hub-select-chip-accent: #{$accent};
33
+ }
34
+
35
+ // The name and the value are text on a pale tint of the accent, so they take the accent with
36
+ // its lightness capped, the derivation buttons use for an outline label. A warning chip would
37
+ // otherwise write yellow on yellow.
38
+ --hub-select-chip-accent-emphasis: oklch(from var(--hub-select-chip-accent) min(l, 0.45) c h);
39
+ --hub-select-dropdown-anchor: group;
40
+ --hub-select-min-height: 2.25rem;
41
+ --hub-select-border-width: 0;
42
+ --hub-select-bg: transparent;
43
+ --hub-select-group-addon-bg: transparent;
44
+ --hub-select-group-addon-border-color: transparent;
45
+ --hub-select-group-addon-color: var(--hub-select-chip-accent-emphasis);
46
+ --hub-select-focus-box-shadow: none;
47
+
48
+ display: inline-block;
49
+ margin-bottom: 0;
50
+
51
+ .hub-select__group {
52
+ align-items: center;
53
+ padding-inline-start: var(--hub-ref-space-3, 1rem);
54
+ border: 1px solid color-mix(in oklch, var(--hub-select-chip-accent) 30%, transparent);
55
+ border-radius: 999px;
56
+ background: color-mix(in oklch, var(--hub-select-chip-accent) 8%, var(--hub-sys-surface-page, #fff));
57
+ cursor: pointer;
58
+ transition:
59
+ background-color 150ms ease,
60
+ border-color 150ms ease;
61
+
62
+ &:focus-within {
63
+ outline: var(--hub-form-focus-ring-width, 0.25rem) solid
64
+ color-mix(in oklch, var(--hub-select-chip-accent) 25%, transparent);
65
+ }
66
+
67
+ // A chip of many labels needs a cap; one with a field attached needs the room, or its
68
+ // own value is what gives way.
69
+ &:not(:has(.hub-select__attached)) {
70
+ max-inline-size: 30rem;
71
+ }
72
+ }
73
+
74
+ .hub-select__addon--prepend {
75
+ padding: 0;
76
+ font-size: 0.875em;
77
+ font-weight: 600;
78
+
79
+ &::after {
80
+ content: ':';
81
+ }
82
+ }
83
+
84
+ .ng-select-container {
85
+ cursor: pointer;
86
+ }
87
+
88
+ .ng-clear-wrapper {
89
+ margin-inline-start: var(--hub-ref-space-2, 0.5rem);
90
+ }
91
+
92
+ &:has(.ng-has-value) .hub-select__group {
93
+ border-color: var(--hub-select-chip-accent);
94
+ background: color-mix(in oklch, var(--hub-select-chip-accent) 16%, var(--hub-sys-surface-page, #fff));
95
+ }
96
+
97
+ &:has(.ng-has-value) .ng-value-label {
98
+ color: var(--hub-select-chip-accent-emphasis);
99
+ font-weight: 600;
100
+ }
101
+
102
+ @media (prefers-reduced-motion: reduce) {
103
+ .hub-select__group {
104
+ transition: none;
105
+ }
106
+ }
107
+ }
108
+ // scss-docs-end hub-select-chip
@@ -1577,6 +1577,12 @@ declare class HubSegmentedComponent extends HubFieldControl {
1577
1577
  readonly multiple: _angular_core.InputSignalWithTransform<boolean, unknown>;
1578
1578
  /** When `true`, the segments stack vertically instead of sitting in a row. */
1579
1579
  readonly vertical: _angular_core.InputSignalWithTransform<boolean, unknown>;
1580
+ /**
1581
+ * Shows the value at full legibility but refuses to change it. Unlike `disabled` the control
1582
+ * stays focusable and keeps its tab stop, so keyboard and screen-reader users can still reach it
1583
+ * and hear the selection. Never marks the control touched or dirty, since no click changes anything.
1584
+ */
1585
+ readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
1580
1586
  /** Currently selected value — a scalar in single mode, an array in multiple mode. */
1581
1587
  readonly value: _angular_core.ModelSignal<unknown>;
1582
1588
  /** The rendered option buttons, used to move focus during keyboard navigation. */
@@ -1595,7 +1601,7 @@ declare class HubSegmentedComponent extends HubFieldControl {
1595
1601
  isSelected(option: HubSegmentedOption): boolean;
1596
1602
  /**
1597
1603
  * Selects (single) or toggles (multiple) an option and notifies the form. No-op when the
1598
- * control or the option is disabled.
1604
+ * control is disabled or read-only, or the option is disabled.
1599
1605
  */
1600
1606
  select(option: HubSegmentedOption): void;
1601
1607
  /**
@@ -1616,7 +1622,7 @@ declare class HubSegmentedComponent extends HubFieldControl {
1616
1622
  */
1617
1623
  private updateIndicator;
1618
1624
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<HubSegmentedComponent, never>;
1619
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<HubSegmentedComponent, "hub-segmented", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelType": { "alias": "labelType"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["optionTpt"], never, true, never>;
1625
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<HubSegmentedComponent, "hub-segmented", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "labelType": { "alias": "labelType"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, ["optionTpt"], never, true, never>;
1620
1626
  }
1621
1627
 
1622
1628
  /**
@@ -1825,6 +1831,15 @@ declare class HubSelectComponent extends HubFieldControl {
1825
1831
  * seeing the list takes another.
1826
1832
  */
1827
1833
  private readonly _engine;
1834
+ private readonly _group;
1835
+ /**
1836
+ * What the open list lines up with, asked each time it opens: the whole group when
1837
+ * `--hub-select-dropdown-anchor` says `group` (the chip does), the value part otherwise.
1838
+ *
1839
+ * A stylesheet decides it rather than an input, so a chip built with the `hub-select-chip`
1840
+ * mixin on a product's own class gets the same list as the ready-made class.
1841
+ */
1842
+ protected readonly _dropdownAnchor: () => HTMLElement | null;
1828
1843
  /**
1829
1844
  * Honours {@link autoOpen} once, after the first render.
1830
1845
  *