@skyux/core 14.0.0-alpha.8 → 14.0.0-beta.0

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.8",
3
+ "version": "14.0.0-beta.0",
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.8"
24
+ "@skyux/i18n": "14.0.0-beta.0"
25
25
  },
26
26
  "dependencies": {
27
27
  "tslib": "^2.8.1"
@@ -344,25 +344,61 @@ declare class SkyAffixModule {
344
344
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyAffixModule>;
345
345
  }
346
346
 
347
+ /**
348
+ * @internal
349
+ *
350
+ * Listens for CSS `animationend` events on the host element and emits
351
+ * an `animationEnd` output when an animation completes. When the
352
+ * element's CSS animation is disabled (e.g. `animation-name: none`
353
+ * or `animation-duration: 0s`), the output emits via a microtask
354
+ * whenever the `animationTrigger` input changes.
355
+ */
356
+ declare class _SkyAnimationEndHandlerDirective {
357
+ /**
358
+ * When `true` and the host element uses `animate.enter`, the
359
+ * disabled-animation fallback emits `animationEnd` on the initial
360
+ * render. Use this when the element's insertion into the DOM is
361
+ * the animation event.
362
+ */
363
+ readonly emitOnAnimateEnter: i0.InputSignalWithTransform<boolean, unknown>;
364
+ /**
365
+ * Drives animation lifecycle tracking on the host element. When the
366
+ * value changes and the CSS animation is disabled, `animationEnd`
367
+ * emits via a microtask.
368
+ */
369
+ readonly animationTrigger: i0.InputSignal<unknown>;
370
+ /**
371
+ * Emits when an `animationend` event fires on the host element, or via a
372
+ * microtask when the CSS animation is disabled.
373
+ */
374
+ readonly animationEnd: i0.OutputEmitterRef<void>;
375
+ constructor();
376
+ protected onAnimationEnd(evt: AnimationEvent): void;
377
+ static ɵfac: i0.ɵɵFactoryDeclaration<_SkyAnimationEndHandlerDirective, never>;
378
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_SkyAnimationEndHandlerDirective, "[skyAnimationEndHandler]", never, { "emitOnAnimateEnter": { "alias": "emitOnAnimateEnter"; "required": false; "isSignal": true; }; "animationTrigger": { "alias": "animationTrigger"; "required": true; "isSignal": true; }; }, { "animationEnd": "animationEnd"; }, never, never, true, never>;
379
+ }
380
+
347
381
  /**
348
382
  * @internal
349
383
  *
350
384
  * Listens for CSS `transitionend` events on the host element and emits
351
385
  * a `transitionEnd` output when the tracked CSS property finishes
352
- * transitioning. When animations are globally disabled, the output
353
- * emits synchronously whenever the `transitionTrigger` input changes.
386
+ * transitioning. When the element's CSS transition is disabled
387
+ * (e.g. `transition-property: none` or `transition-duration: 0s`), the
388
+ * output emits via a microtask whenever the `transitionTrigger` input
389
+ * changes.
354
390
  *
355
391
  * The CSS property to monitor can be set via the `transitionPropertyToTrack`
356
392
  * input (for template usage) or by calling `setPropertyToTrack()`
357
393
  * (for `hostDirectives` usage).
358
394
  */
359
- declare class _SkyAnimationTransitionHandlerDirective {
395
+ declare class _SkyTransitionEndHandlerDirective {
360
396
  #private;
361
397
  /**
362
398
  * Drives the CSS transition on the host element. When the value
363
- * changes and animations are enabled, a CSS transition runs and
364
- * `transitionEnd` emits on completion. When animations are
365
- * disabled, `transitionEnd` emits synchronously instead.
399
+ * changes and a CSS transition runs, `transitionEnd` emits on
400
+ * completion. When the transition is disabled, `transitionEnd`
401
+ * emits via a microtask instead.
366
402
  */
367
403
  readonly transitionTrigger: i0.InputSignal<unknown>;
368
404
  /**
@@ -373,7 +409,8 @@ declare class _SkyAnimationTransitionHandlerDirective {
373
409
  readonly transitionPropertyToTrack: i0.InputSignal<string | undefined>;
374
410
  /**
375
411
  * Emits when the tracked CSS property's `transitionend` event fires
376
- * on the host element, or synchronously when animations are disabled.
412
+ * on the host element, or via a microtask when the CSS transition is
413
+ * disabled.
377
414
  */
378
415
  readonly transitionEnd: i0.OutputEmitterRef<void>;
379
416
  constructor();
@@ -384,8 +421,8 @@ declare class _SkyAnimationTransitionHandlerDirective {
384
421
  */
385
422
  setPropertyToTrack(propertyName: string): void;
386
423
  protected onTransitionEnd(evt: TransitionEvent): void;
387
- static ɵfac: i0.ɵɵFactoryDeclaration<_SkyAnimationTransitionHandlerDirective, 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>;
424
+ static ɵfac: i0.ɵɵFactoryDeclaration<_SkyTransitionEndHandlerDirective, never>;
425
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_SkyTransitionEndHandlerDirective, "[skyTransitionEndHandler]", never, { "transitionTrigger": { "alias": "transitionTrigger"; "required": true; "isSignal": true; }; "transitionPropertyToTrack": { "alias": "transitionPropertyToTrack"; "required": false; "isSignal": true; }; }, { "transitionEnd": "transitionEnd"; }, never, never, true, never>;
389
426
  }
390
427
 
391
428
  /**
@@ -398,7 +435,7 @@ declare class _SkyAnimationSlideComponent {
398
435
  readonly opened: i0.InputSignal<boolean>;
399
436
  constructor();
400
437
  static ɵfac: i0.ɵɵFactoryDeclaration<_SkyAnimationSlideComponent, never>;
401
- static ɵcmp: i0.ɵɵComponentDeclaration<_SkyAnimationSlideComponent, "sky-animation-slide", never, { "opened": { "alias": "opened"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof _SkyAnimationTransitionHandlerDirective; inputs: { "transitionTrigger": "opened"; }; outputs: { "transitionEnd": "transitionEnd"; }; }]>;
438
+ static ɵcmp: i0.ɵɵComponentDeclaration<_SkyAnimationSlideComponent, "sky-animation-slide", never, { "opened": { "alias": "opened"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof _SkyTransitionEndHandlerDirective; inputs: { "transitionTrigger": "opened"; }; outputs: { "transitionEnd": "transitionEnd"; }; }]>;
402
439
  }
403
440
 
404
441
  /**
@@ -1726,5 +1763,5 @@ declare class Version {
1726
1763
  */
1727
1764
  declare const VERSION: Version;
1728
1765
 
1729
- export { NumericOptions, SKY_BREAKPOINTS, SKY_BREAKPOINT_OBSERVER, SKY_HELP_GLOBAL_OPTIONS, SKY_LOG_LEVEL, SKY_STACKING_CONTEXT, SkyAffixAutoFitContext, SkyAffixModule, SkyAffixService, SkyAffixer, SkyAppFormat, SkyAppTitleService, SkyAppWindowRef, SkyContainerBreakpointObserver, SkyContentInfoProvider, SkyCoreAdapterModule, SkyCoreAdapterService, SkyDefaultInputProvider, SkyDockItem, SkyDockLocation, SkyDockModule, SkyDockService, SkyDynamicComponentLegacyService, SkyDynamicComponentLocation, SkyDynamicComponentModule, SkyDynamicComponentService, SkyFileReaderService, SkyHelpService, SkyIdModule, SkyIdService, SkyLayoutHostDirective, SkyLayoutHostService, SkyLiveAnnouncerService, SkyLogLevel, SkyLogModule, SkyLogService, SkyMediaBreakpointObserver, SkyMediaBreakpoints, SkyMediaQueryModule, SkyMediaQueryService, SkyMutationObserverService, SkyNumericModule, SkyNumericPipe, SkyNumericService, SkyOverlayInstance, SkyOverlayLegacyService, SkyOverlayModule, SkyOverlayService, SkyPercentPipe, SkyPercentPipeModule, SkyResizeObserverMediaQueryService, SkyResizeObserverService, SkyResponsiveHostDirective, SkyScreenReaderLabelDirective, SkyScrollShadowDirective, SkyScrollableHostService, SkyTrimModule, SkyUIConfigService, SkyViewkeeper, SkyViewkeeperHostOptions, SkyViewkeeperModule, SkyViewkeeperService, VERSION, _SkyAnimationSlideComponent, _SkyAnimationTransitionHandlerDirective, provideNoopSkyAnimations, provideSkyBreakpointObserver, SkyAffixDirective as λ1, SkyIdDirective as λ2, SkyViewkeeperDirective as λ3, SkyTrimDirective as λ4 };
1766
+ export { NumericOptions, SKY_BREAKPOINTS, SKY_BREAKPOINT_OBSERVER, SKY_HELP_GLOBAL_OPTIONS, SKY_LOG_LEVEL, SKY_STACKING_CONTEXT, SkyAffixAutoFitContext, SkyAffixModule, SkyAffixService, SkyAffixer, SkyAppFormat, SkyAppTitleService, SkyAppWindowRef, SkyContainerBreakpointObserver, SkyContentInfoProvider, SkyCoreAdapterModule, SkyCoreAdapterService, SkyDefaultInputProvider, SkyDockItem, SkyDockLocation, SkyDockModule, SkyDockService, SkyDynamicComponentLegacyService, SkyDynamicComponentLocation, SkyDynamicComponentModule, SkyDynamicComponentService, SkyFileReaderService, SkyHelpService, SkyIdModule, SkyIdService, SkyLayoutHostDirective, SkyLayoutHostService, SkyLiveAnnouncerService, SkyLogLevel, SkyLogModule, SkyLogService, SkyMediaBreakpointObserver, SkyMediaBreakpoints, SkyMediaQueryModule, SkyMediaQueryService, SkyMutationObserverService, SkyNumericModule, SkyNumericPipe, SkyNumericService, SkyOverlayInstance, SkyOverlayLegacyService, SkyOverlayModule, SkyOverlayService, SkyPercentPipe, SkyPercentPipeModule, SkyResizeObserverMediaQueryService, SkyResizeObserverService, SkyResponsiveHostDirective, SkyScreenReaderLabelDirective, SkyScrollShadowDirective, SkyScrollableHostService, SkyTrimModule, SkyUIConfigService, SkyViewkeeper, SkyViewkeeperHostOptions, SkyViewkeeperModule, SkyViewkeeperService, VERSION, _SkyAnimationEndHandlerDirective, _SkyAnimationSlideComponent, _SkyTransitionEndHandlerDirective, provideNoopSkyAnimations, provideSkyBreakpointObserver, SkyAffixDirective as λ1, SkyIdDirective as λ2, SkyViewkeeperDirective as λ3, SkyTrimDirective as λ4 };
1730
1767
  export type { SkyAffixConfig, SkyAffixHorizontalAlignment, SkyAffixOffset, SkyAffixOffsetChange, SkyAffixPlacement, SkyAffixPlacementChange, SkyAffixPosition, SkyAffixVerticalAlignment, SkyAppSetTitleArgs, SkyBreakpoint, SkyBreakpointObserver, SkyContentInfo, SkyContentInfoDescriptor, SkyDockInsertComponentConfig, SkyDockItemConfig, SkyDockOptions, SkyDynamicComponentOptions, SkyFocusableChildrenOptions, SkyHelpGlobalOptions, SkyHelpOpenArgs, SkyHelpUpdateArgs, SkyLayoutHostForChildArgs, SkyLiveAnnouncerArgs, SkyLiveAnnouncerPoliteness, SkyMediaQueryListener, SkyNumericOptions, SkyNumericSymbol, SkyOverlayConfig, SkyOverlayPosition, SkyScrollShadowEventArgs, SkyStackingContext, SkyViewkeeperOptions };