ng-hub-ui-forms 22.46.0 → 22.47.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/README.md CHANGED
@@ -52,6 +52,12 @@ This library is part of the **ng-hub-ui** ecosystem:
52
52
  npm install ng-hub-ui-forms
53
53
  ```
54
54
 
55
+ `@angular/cdk` (22 or later) is a required peer: the select's list renders in a CDK overlay.
56
+
57
+ ```bash
58
+ npm install @angular/cdk
59
+ ```
60
+
55
61
  `ng-hub-ui-utils` is a peer dependency (the datepicker opens its panel through its overlay
56
62
  service, and every field renders its tooltip helper text with `hubTooltip`). `ng-hub-ui-ds`
57
63
  carries the design tokens the fields read; it is optional, because every token is read with a
@@ -136,7 +142,7 @@ section.
136
142
  ## 📦 Installation
137
143
 
138
144
  ```bash
139
- npm install ng-hub-ui-forms ng-hub-ui-utils ng-hub-ui-ds
145
+ npm install ng-hub-ui-forms @angular/cdk ng-hub-ui-utils ng-hub-ui-ds
140
146
  ```
141
147
 
142
148
  ### Peer Dependencies
@@ -1015,7 +1021,9 @@ check mark (unset, each mark is black or white, whichever reads on its swatch).
1015
1021
  }
1016
1022
  ```
1017
1023
 
1018
- **`hub-select` inside a modal** — the dropdown panel stacks through `--hub-select-dropdown-zindex` (default `calc(var(--hub-sys-zindex-modal, 1055) + 5)`; the previous `--hub-select-dropdown-z-index` spelling is deprecated but still honoured), so a select opened inside a `HubModal` renders above the dialog instead of being clipped underneath it.
1024
+ **`hub-select` inside a modal** — the list renders in a CDK overlay, which uses the browser's top layer, so a select opened inside a `HubModal` is drawn above the dialog with no z-index to tune. `appendTo` only chooses the element the overlay container is placed in; the position is computed against the viewport. `popover` is deprecated and has no effect.
1025
+
1026
+ **Glass** — when `ng-hub-ui-ds` turns its glass layer on (`[data-hub-glass]` or `data-theme="glass"` on an ancestor), the select list and the datepicker calendar become translucent, blurred and rimmed. Inputs and the other fields stay opaque on purpose, for readability. With the layer off, nothing changes.
1019
1027
 
1020
1028
  **Width of the list** — the panel is never narrower than the control and grows to its longest option, up to `--hub-select-dropdown-max-width` (default `24rem`) and never past the screen. When it would run off the screen from the control's start, it lines up with the control's end.
1021
1029