@skyux/core 14.0.0-alpha.7 → 14.0.0-alpha.8

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": "@skyux/core",
3
- "version": "14.0.0-alpha.7",
3
+ "version": "14.0.0-alpha.8",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -21,7 +21,7 @@
21
21
  "@angular/core": "^21.2.0",
22
22
  "@angular/platform-browser": "^21.2.0",
23
23
  "@angular/router": "^21.2.0",
24
- "@skyux/i18n": "14.0.0-alpha.7"
24
+ "@skyux/i18n": "14.0.0-alpha.8"
25
25
  },
26
26
  "dependencies": {
27
27
  "tslib": "^2.8.1"
@@ -352,8 +352,9 @@ declare class SkyAffixModule {
352
352
  * transitioning. When animations are globally disabled, the output
353
353
  * emits synchronously whenever the `transitionTrigger` input changes.
354
354
  *
355
- * Consumers **must** call `cssPropertyToTrack()` to specify which CSS
356
- * property to monitor before any transition occurs on the host element.
355
+ * The CSS property to monitor can be set via the `transitionPropertyToTrack`
356
+ * input (for template usage) or by calling `setPropertyToTrack()`
357
+ * (for `hostDirectives` usage).
357
358
  */
358
359
  declare class _SkyAnimationTransitionHandlerDirective {
359
360
  #private;
@@ -364,6 +365,12 @@ declare class _SkyAnimationTransitionHandlerDirective {
364
365
  * disabled, `transitionEnd` emits synchronously instead.
365
366
  */
366
367
  readonly transitionTrigger: i0.InputSignal<unknown>;
368
+ /**
369
+ * The CSS property name to monitor for `transitionend` events
370
+ * (e.g. `'opacity'`, `'transform'`). Can be set declaratively in
371
+ * templates.
372
+ */
373
+ readonly transitionPropertyToTrack: i0.InputSignal<string | undefined>;
367
374
  /**
368
375
  * Emits when the tracked CSS property's `transitionend` event fires
369
376
  * on the host element, or synchronously when animations are disabled.
@@ -372,14 +379,13 @@ declare class _SkyAnimationTransitionHandlerDirective {
372
379
  constructor();
373
380
  /**
374
381
  * Sets the CSS property name to monitor for `transitionend` events
375
- * (e.g. `'opacity'`, `'max-height'`). This must be called before a
376
- * transition occurs; otherwise an error is thrown when the host
377
- * element's `transitionend` event fires.
382
+ * programmatically. Use this when applying the directive via
383
+ * `hostDirectives`.
378
384
  */
379
- cssPropertyToTrack(propertyName: string): void;
385
+ setPropertyToTrack(propertyName: string): void;
380
386
  protected onTransitionEnd(evt: TransitionEvent): void;
381
387
  static ɵfac: i0.ɵɵFactoryDeclaration<_SkyAnimationTransitionHandlerDirective, never>;
382
- static ɵdir: i0.ɵɵDirectiveDeclaration<_SkyAnimationTransitionHandlerDirective, never, never, { "transitionTrigger": { "alias": "transitionTrigger"; "required": true; "isSignal": true; }; }, { "transitionEnd": "transitionEnd"; }, never, never, true, never>;
388
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_SkyAnimationTransitionHandlerDirective, "[skyAnimationTransitionHandler]", never, { "transitionTrigger": { "alias": "transitionTrigger"; "required": true; "isSignal": true; }; "transitionPropertyToTrack": { "alias": "transitionPropertyToTrack"; "required": false; "isSignal": true; }; }, { "transitionEnd": "transitionEnd"; }, never, never, true, never>;
383
389
  }
384
390
 
385
391
  /**