@elasticias/ui 1.0.32 → 1.0.34

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": "@elasticias/ui",
3
- "version": "1.0.32",
3
+ "version": "1.0.34",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0",
@@ -3678,6 +3678,18 @@ input.ef-input[type='number'] {
3678
3678
  transform: translateY(-50%);
3679
3679
  }
3680
3680
 
3681
+ /* The same centring, for the clear that PrimeNG owns rather than we do.
3682
+ `ef-password` fills PrimeNG's `#clearicon` slot with the 22px `.ef-clear`
3683
+ used by every other field, but PrimeNG offsets that slot by half of *its*
3684
+ glyph, not ours — so the ✕ sat 3.2px below the middle while the mask toggle
3685
+ beside it, which PrimeNG renders itself, was exactly centred. One field
3686
+ looked level and the other did not, from the same 8px inset. */
3687
+ .p-password-clear-icon {
3688
+ top: 50%;
3689
+ margin-top: 0;
3690
+ transform: translateY(-50%);
3691
+ }
3692
+
3681
3693
  /* Clearable textarea — clear ✕ pinned to the top-trailing corner (clear of
3682
3694
  the bottom-right resize handle); text gets trailing padding to dodge it. */
3683
3695
  .ef-textarea-wrap {
@@ -4783,6 +4783,19 @@ declare class EfDataCardComponent<TRow = any> implements AfterContentInit {
4783
4783
  * Children that own their own click. Opening the row on top of them would
4784
4784
  * run two things from one gesture.
4785
4785
  */
4786
+ /**
4787
+ * Cells that exist for a control of their own rather than for the row's
4788
+ * content: the drag handle, the select box, the actions menu. The
4789
+ * component already treats `select` and `actions` as structural when it
4790
+ * decides what is a data column; a click belongs to the cell's own job.
4791
+ *
4792
+ * Guarding only the control itself was not enough. A select cell is wider
4793
+ * than its checkbox, so a click in the padding beside it fell through to
4794
+ * the row and opened the record — throwing away a multi-select that was
4795
+ * still being built, from a miss of about 20px.
4796
+ */
4797
+ private static readonly STRUCTURAL_CELL;
4798
+ private isStructuralCell;
4786
4799
  private static readonly INTERACTIVE_CHILD;
4787
4800
  /**
4788
4801
  * Bounded by the row on purpose. The row itself is given `role="button"`