@underlayerdev/ui 0.8.0 → 0.8.2

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": "@underlayerdev/ui",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "^22.0.0",
6
6
  "@angular/common": "^22.0.0",
@@ -1611,15 +1611,17 @@ declare class SelectableRowComponent {
1611
1611
  private justLongPressed;
1612
1612
  constructor();
1613
1613
  /**
1614
- * Once every row shows a checkbox in place of its media (compact +
1615
- * selecting), the checkbox is the only thing with its own toggle handler
1616
- * — everything else in the row (the content slot, empty space) does
1617
- * nothing on tap, which defeats the point of showing a large, easy-to-hit
1618
- * target. Toggling on any tap in that state fixes it; it's safe to do
1619
- * unconditionally (regardless of what's projected) because a consumer
1620
- * whose content contains a routerLink is already expected to have nulled
1621
- * that binding out while `selectionActive` — so there's no competing
1622
- * navigation to accidentally trigger.
1614
+ * While selecting, a tap anywhere in the row toggles it — not just on the
1615
+ * checkbox. This applies on every device, not only once the checkbox has
1616
+ * replaced the media (compact): otherwise the row's content on
1617
+ * fine-pointer devices would only be togglable by precisely hitting the
1618
+ * small hover-revealed checkbox, which is inconsistent with how compact
1619
+ * mode behaves and isn't how Gmail/Photos-style bulk-select works even on
1620
+ * desktop web. It's safe to do unconditionally (regardless of what's
1621
+ * projected) because a consumer whose content contains a routerLink is
1622
+ * already expected to have nulled that binding out while
1623
+ * `selectionActive` — so there's no competing navigation to accidentally
1624
+ * trigger.
1623
1625
  */
1624
1626
  onHostClick(event: MouseEvent): void;
1625
1627
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SelectableRowComponent, never>;