@kouji-ui/core 0.8.1 → 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": "@kouji-ui/core",
3
- "version": "0.8.1",
3
+ "version": "0.8.2",
4
4
  "description": "Headless Angular 21 UI primitives — directives over CDK with WCAG 2.1 AAA semantics and zero CSS.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -7116,7 +7116,13 @@ declare const KJ_CONFIRM_POPUP: InjectionToken<KjConfirmPopupContext>;
7116
7116
  * @doc-category Core/Overlay
7117
7117
  */
7118
7118
  declare class KjConfirmPopup implements KjConfirmPopupContext {
7119
- /** The overlay controller, when the trigger sits on this very element. */
7119
+ /**
7120
+ * The overlay controller, when the trigger sits on this very element.
7121
+ * `self: true` is load-bearing: without it the lookup walks up the injector
7122
+ * tree and, inside a service-launched dialog, resolves the DIALOG's
7123
+ * controller — so confirm / cancel closed the enclosing dialog instead of
7124
+ * the popup.
7125
+ */
7120
7126
  private readonly selfController;
7121
7127
  /**
7122
7128
  * The controller of a nested `[kjConfirmPopupTrigger]`. The documented
@@ -7206,6 +7212,12 @@ declare class KjConfirmPopupContent {
7206
7212
  private readonly platformId;
7207
7213
  private readonly destroyRef;
7208
7214
  private readonly ctx;
7215
+ /**
7216
+ * The panel this directive is layered on (`<kj-popover-content>` composes
7217
+ * `KjOverlayPanel` as a host directive, so it lives on this very element).
7218
+ * `self: true` keeps the lookup from walking up to an enclosing overlay —
7219
+ * e.g. a `<kj-dialog>` — whose panel would be promoted / focused instead.
7220
+ */
7209
7221
  private readonly _panel;
7210
7222
  private get controller();
7211
7223
  /** Optional reference — present when the host is `<kj-popover-content>`. */