@skyux/core 14.0.0-alpha.4 → 14.0.0-alpha.6

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.4",
3
+ "version": "14.0.0-alpha.6",
4
4
  "author": "Blackbaud, Inc.",
5
5
  "keywords": [
6
6
  "blackbaud",
@@ -16,12 +16,12 @@
16
16
  },
17
17
  "homepage": "https://github.com/blackbaud/skyux#readme",
18
18
  "peerDependencies": {
19
- "@angular/cdk": "^21.1.3",
20
- "@angular/common": "^21.1.2",
21
- "@angular/core": "^21.1.2",
22
- "@angular/platform-browser": "^21.1.2",
23
- "@angular/router": "^21.1.2",
24
- "@skyux/i18n": "14.0.0-alpha.4"
19
+ "@angular/cdk": "^21.2.0",
20
+ "@angular/common": "^21.2.0",
21
+ "@angular/core": "^21.2.0",
22
+ "@angular/platform-browser": "^21.2.0",
23
+ "@angular/router": "^21.2.0",
24
+ "@skyux/i18n": "14.0.0-alpha.6"
25
25
  },
26
26
  "dependencies": {
27
27
  "tslib": "^2.8.1"
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { RendererFactory2, ElementRef, Renderer2, NgZone, OnDestroy, OnInit, OnChanges, EventEmitter, SimpleChanges, StaticProvider, Type, ViewContainerRef, EnvironmentInjector, ApplicationRef, ComponentRef, InjectionToken, Provider, Injector, PipeTransform, ChangeDetectorRef, TemplateRef, EmbeddedViewRef, AfterViewInit } from '@angular/core';
2
+ import { RendererFactory2, ElementRef, Renderer2, NgZone, OnDestroy, OnInit, OnChanges, EventEmitter, SimpleChanges, EnvironmentProviders, StaticProvider, Type, ViewContainerRef, EnvironmentInjector, ApplicationRef, ComponentRef, InjectionToken, Provider, Injector, PipeTransform, ChangeDetectorRef, TemplateRef, EmbeddedViewRef, AfterViewInit } from '@angular/core';
3
3
  import { ViewportRuler } from '@angular/cdk/overlay';
4
4
  import { Observable, ReplaySubject, Subscription } from 'rxjs';
5
5
  import * as i1 from '@skyux/i18n';
@@ -344,6 +344,73 @@ declare class SkyAffixModule {
344
344
  static ɵinj: i0.ɵɵInjectorDeclaration<SkyAffixModule>;
345
345
  }
346
346
 
347
+ /**
348
+ * @internal
349
+ *
350
+ * Listens for CSS `transitionend` events on the host element and emits
351
+ * 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.
354
+ *
355
+ * Consumers **must** call `cssPropertyToTrack()` to specify which CSS
356
+ * property to monitor before any transition occurs on the host element.
357
+ */
358
+ declare class _SkyAnimationTransitionHandlerDirective {
359
+ #private;
360
+ /**
361
+ * Drives the CSS transition on the host element. When the value
362
+ * changes and animations are enabled, a CSS transition runs and
363
+ * `transitionEnd` emits on completion. When animations are
364
+ * disabled, `transitionEnd` emits synchronously instead.
365
+ */
366
+ readonly transitionTrigger: i0.InputSignal<unknown>;
367
+ /**
368
+ * Emits when the tracked CSS property's `transitionend` event fires
369
+ * on the host element, or synchronously when animations are disabled.
370
+ */
371
+ readonly transitionEnd: i0.OutputEmitterRef<void>;
372
+ constructor();
373
+ /**
374
+ * 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.
378
+ */
379
+ cssPropertyToTrack(propertyName: string): void;
380
+ protected onTransitionEnd(evt: TransitionEvent): void;
381
+ 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>;
383
+ }
384
+
385
+ /**
386
+ * @internal
387
+ *
388
+ * Animates content open and closed by sliding the host element's
389
+ * height.
390
+ */
391
+ declare class _SkyAnimationSlideComponent {
392
+ readonly opened: i0.InputSignal<boolean>;
393
+ constructor();
394
+ static ɵfac: i0.ɵɵFactoryDeclaration<_SkyAnimationSlideComponent, never>;
395
+ 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"; }; }]>;
396
+ }
397
+
398
+ /**
399
+ * Disables CSS transitions and animations for SKY UX components.
400
+ *
401
+ * Use this in unit tests or in applications that need to suppress
402
+ * motion globally. Provide once at the root level only.
403
+ *
404
+ * @example
405
+ * ```typescript
406
+ * TestBed.configureTestingModule({
407
+ * imports: [MyComponent],
408
+ * providers: [provideNoopSkyAnimations()],
409
+ * });
410
+ * ```
411
+ */
412
+ declare function provideNoopSkyAnimations(): EnvironmentProviders;
413
+
347
414
  /**
348
415
  * Text or an element that describes the content a consumer renders in a component.
349
416
  *
@@ -1653,5 +1720,5 @@ declare class Version {
1653
1720
  */
1654
1721
  declare const VERSION: Version;
1655
1722
 
1656
- 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, provideSkyBreakpointObserver, SkyAffixDirective as λ1, SkyIdDirective as λ2, SkyViewkeeperDirective as λ3, SkyTrimDirective as λ4 };
1723
+ 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 };
1657
1724
  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 };