@ethlete/core 5.0.0-next.32 → 5.0.0-next.33

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,23 +1,23 @@
1
1
  {
2
2
  "name": "@ethlete/core",
3
- "version": "5.0.0-next.32",
3
+ "version": "5.0.0-next.33",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
7
- "@analogjs/vite-plugin-angular": "2.6.2",
8
- "@angular/cdk": "22.0.3",
9
- "@angular/common": "22.0.5",
10
- "@angular/core": "22.0.5",
11
- "@angular/forms": "22.0.5",
12
- "@angular/platform-browser": "22.0.5",
13
- "@angular/router": "22.0.5",
7
+ "@analogjs/vite-plugin-angular": "2.6.3",
8
+ "@angular/cdk": "22.0.5",
9
+ "@angular/common": "22.0.7",
10
+ "@angular/core": "22.0.7",
11
+ "@angular/forms": "22.0.7",
12
+ "@angular/platform-browser": "22.0.7",
13
+ "@angular/router": "22.0.7",
14
14
  "@ethlete/types": "^2.0.0-beta.4",
15
- "@floating-ui/dom": "1.7.6",
16
- "@nx/devkit": "23.1.0-beta.7",
15
+ "@floating-ui/dom": "1.8.0",
16
+ "@nx/devkit": "23.1.0",
17
17
  "rxjs": "7.8.2",
18
18
  "ts-morph": "21.0.1",
19
19
  "typescript": "6.0.3",
20
- "vite": "8.0.13"
20
+ "vite": "8.1.5"
21
21
  },
22
22
  "generators": "./generators/generators.json",
23
23
  "module": "fesm2022/ethlete-core.mjs",
@@ -274,17 +274,18 @@ declare class AutoSurfaceDirective {
274
274
  * surface provider from the surrounding (trigger) context when not set.
275
275
  */
276
276
  surfaceProvider: _angular_core.InputSignal<ProvideSurfaceDirective | null>;
277
- private consultsOverlayContext;
277
+ private isOverlaySurface;
278
278
  resolvedSurface: _angular_core.Signal<string | null>;
279
279
  /**
280
- * Opt this auto-surface out of the overlay surface-context tracker. An overlay
281
- * *panel* (menu, select/date/cascader panel, tooltip, toggletip) is its overlay's
282
- * own painted surface, so it must adopt the overlay elevation from its injector or
283
- * explicit `surfaceProvider` — not stack a level above it. The tracker exists for
284
- * content rendered *inside* such a panel, whose injector points back at the trigger
285
- * location and therefore cannot see the overlay it visually lives in.
280
+ * Mark this auto-surface as its overlay's *own painted surface*. An overlay *panel*
281
+ * (menu, select/date/cascader panel, tooltip, toggletip, rich-text-editor popups) is
282
+ * the overlay's surface, so it must paint the overlay's registered elevation exactly —
283
+ * not stack a level above a parent surface. The elevation is read from the surface-context
284
+ * tracker (the pane it renders into), which is authoritative across the portal boundary;
285
+ * the panel's own declaration injector points back at the trigger location and cannot be
286
+ * trusted.
286
287
  */
287
- ignoreOverlaySurfaceContext(): void;
288
+ matchOverlaySurface(): void;
288
289
  constructor();
289
290
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<AutoSurfaceDirective, never>;
290
291
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AutoSurfaceDirective, "[etAutoSurface]", never, { "surfaceProvider": { "alias": "surfaceProvider"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof ProvideSurfaceDirective; inputs: {}; outputs: {}; }]>;
@@ -937,7 +938,7 @@ type ControlValueSignalOptions = {
937
938
  */
938
939
  debounceFirst?: boolean;
939
940
  };
940
- declare const controlValueSignal: <TControlInput extends Signal<AbstractControl | null> | AbstractControl, TControl extends TControlInput extends Signal<infer TSignalControl> ? TSignalControl : TControlInput>(control: TControlInput, options?: ControlValueSignalOptions) => Signal<ReturnType<NonNullable<TControl>["getRawValue"]> | null>;
941
+ declare const controlValueSignal: <TControlInput extends Signal<AbstractControl | null> | AbstractControl, TControl extends (TControlInput extends Signal<infer TSignalControl> ? TSignalControl : TControlInput)>(control: TControlInput, options?: ControlValueSignalOptions) => Signal<ReturnType<NonNullable<TControl>["getRawValue"]> | null>;
941
942
  /**
942
943
  * The first item in the pair is the previous value and the second item is the current value.
943
944
  */