@kouji-ui/components 0.9.3 → 0.9.4

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": "@kouji-ui/components",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "Opinionated styled Angular components built on @kouji-ui/core directives. Themed at runtime via @kouji-ui/themes.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -9109,6 +9109,25 @@ declare class KjCommandPaletteComponent {
9109
9109
  private stackHandle;
9110
9110
  private wrapper;
9111
9111
  constructor();
9112
+ /**
9113
+ * Dismiss-by-scrim is a press the backdrop owns from the start. The
9114
+ * backdrop spans the viewport underneath every overlay opened from
9115
+ * inside the palette, so the browser hands it clicks it never saw the
9116
+ * start of: commit a NEW value in a nested `<kj-select>` and its option
9117
+ * list re-renders, the clicked option leaves the document before the
9118
+ * pointer is released, and the engine retargets the `click` to what is
9119
+ * under the pointer by then — this scrim. Committing the SAME value
9120
+ * re-renders nothing, so the option stays put and the palette survived,
9121
+ * which is what made the bug look value-dependent.
9122
+ *
9123
+ * Arming on `pointerdown` — dispatched at the true origin, before any
9124
+ * re-render can move it — is what separates the two.
9125
+ */
9126
+ private readonly backdropPress;
9127
+ /** @internal — template listener; the press began on the scrim. */
9128
+ protected onBackdropPress(): void;
9129
+ /** @internal — template listener. */
9130
+ protected onBackdropClick(event: MouseEvent): void;
9112
9131
  /** Programmatically close the palette. */
9113
9132
  close(): void;
9114
9133
  /**