@skyux/core 9.0.0-alpha.4 → 9.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/documentation.json +7324 -2943
- package/esm2022/lib/modules/dock/dock.component.mjs +8 -12
- package/esm2022/lib/modules/dock/dock.module.mjs +4 -3
- package/esm2022/lib/modules/dock/dock.service.mjs +10 -15
- package/esm2022/lib/modules/dynamic-component/dynamic-component-options.mjs +1 -1
- package/esm2022/lib/modules/dynamic-component/dynamic-component.service.mjs +10 -15
- package/esm2022/lib/modules/live-announcer/live-announcer.service.mjs +4 -2
- package/esm2022/lib/modules/numeric/numeric.module.mjs +6 -6
- package/esm2022/lib/modules/numeric/numeric.service.mjs +3 -6
- package/esm2022/lib/modules/overlay/overlay.service.mjs +13 -27
- package/esm2022/lib/modules/resize-observer/resize-observer-media-query.service.mjs +37 -16
- package/esm2022/lib/modules/resize-observer/resize-observer.service.mjs +3 -3
- package/esm2022/testing/public-api.mjs +2 -1
- package/esm2022/testing/resize-observer-mock.mjs +35 -0
- package/fesm2022/skyux-core-testing.mjs +36 -1
- package/fesm2022/skyux-core-testing.mjs.map +1 -1
- package/fesm2022/skyux-core.mjs +93 -102
- package/fesm2022/skyux-core.mjs.map +1 -1
- package/lib/modules/dock/dock.component.d.ts +2 -2
- package/lib/modules/dynamic-component/dynamic-component-options.d.ts +1 -1
- package/lib/modules/dynamic-component/dynamic-component.service.d.ts +3 -3
- package/lib/modules/numeric/numeric.module.d.ts +2 -3
- package/lib/modules/overlay/overlay.service.d.ts +1 -4
- package/lib/modules/resize-observer/resize-observer-media-query.service.d.ts +4 -2
- package/package.json +2 -2
- package/testing/public-api.d.ts +1 -0
- package/testing/resize-observer-mock.d.ts +6 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ChangeDetectorRef, ElementRef,
|
1
|
+
import { ChangeDetectorRef, ElementRef, Type, ViewContainerRef } from '@angular/core';
|
2
2
|
import { SkyDockDomAdapterService } from './dock-dom-adapter.service';
|
3
3
|
import { SkyDockInsertComponentConfig } from './dock-insert-component-config';
|
4
4
|
import { SkyDockItemReference } from './dock-item-reference';
|
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
10
10
|
export declare class SkyDockComponent {
|
11
11
|
#private;
|
12
12
|
target: ViewContainerRef | undefined;
|
13
|
-
constructor(changeDetector: ChangeDetectorRef, elementRef: ElementRef,
|
13
|
+
constructor(changeDetector: ChangeDetectorRef, elementRef: ElementRef, domAdapter: SkyDockDomAdapterService);
|
14
14
|
insertComponent<T>(component: Type<T>, config?: SkyDockInsertComponentConfig): SkyDockItemReference<T>;
|
15
15
|
removeItem(item: SkyDockItemReference<any>): void;
|
16
16
|
setOptions(options: SkyDockOptions | undefined): void;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ApplicationRef, ComponentRef,
|
1
|
+
import { ApplicationRef, ComponentRef, RendererFactory2, Type } from '@angular/core';
|
2
2
|
import { SkyAppWindowRef } from '../window/window-ref';
|
3
3
|
import { SkyDynamicComponentOptions } from './dynamic-component-options';
|
4
4
|
import * as i0 from "@angular/core";
|
@@ -8,12 +8,12 @@ import * as i0 from "@angular/core";
|
|
8
8
|
*/
|
9
9
|
export declare class SkyDynamicComponentService {
|
10
10
|
#private;
|
11
|
-
constructor(applicationRef: ApplicationRef, windowRef: SkyAppWindowRef, rendererFactory: RendererFactory2
|
11
|
+
constructor(applicationRef: ApplicationRef, windowRef: SkyAppWindowRef, rendererFactory: RendererFactory2);
|
12
12
|
/**
|
13
13
|
* Creates an instance of the specified component and adds it to the specified location
|
14
14
|
* on the page.
|
15
15
|
*/
|
16
|
-
createComponent<T>(componentType: Type<T>, options
|
16
|
+
createComponent<T>(componentType: Type<T>, options: SkyDynamicComponentOptions): ComponentRef<T>;
|
17
17
|
/**
|
18
18
|
* Removes a component ref from the page
|
19
19
|
* @param componentRef Component ref for the component being removed
|
@@ -1,9 +1,8 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
2
|
import * as i1 from "./numeric.pipe";
|
3
|
-
import * as i2 from "
|
4
|
-
import * as i3 from "../shared/sky-core-resources.module";
|
3
|
+
import * as i2 from "../shared/sky-core-resources.module";
|
5
4
|
export declare class SkyNumericModule {
|
6
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyNumericModule, never>;
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyNumericModule, [typeof i1.SkyNumericPipe], [typeof i2.
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyNumericModule, [typeof i1.SkyNumericPipe], [typeof i2.SkyCoreResourcesModule], [typeof i1.SkyNumericPipe]>;
|
8
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyNumericModule>;
|
9
8
|
}
|
@@ -1,16 +1,13 @@
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, Injector } from '@angular/core';
|
2
|
-
import { SkyOverlayAdapterService } from './overlay-adapter.service';
|
3
1
|
import { SkyOverlayConfig } from './overlay-config';
|
4
2
|
import { SkyOverlayInstance } from './overlay-instance';
|
5
3
|
import * as i0 from "@angular/core";
|
6
4
|
/**
|
7
5
|
* This service is used to create new overlays.
|
8
|
-
* @
|
6
|
+
* @internal
|
9
7
|
*/
|
10
8
|
export declare class SkyOverlayService {
|
11
9
|
#private;
|
12
10
|
private static overlays;
|
13
|
-
constructor(applicationRef: ApplicationRef, componentFactoryResolver: ComponentFactoryResolver, injector: Injector, adapter: SkyOverlayAdapterService);
|
14
11
|
/**
|
15
12
|
* Creates an empty overlay. Use the returned `SkyOverlayInstance` to append content.
|
16
13
|
* @param config Configuration for the overlay.
|
@@ -23,9 +23,11 @@ export declare class SkyResizeObserverMediaQueryService implements OnDestroy {
|
|
23
23
|
* Sets the container element to watch. The `SkyResizeObserverMediaQueryService` will only observe one element at a
|
24
24
|
* time. Any previous subscriptions will be unsubscribed when a new element is observed.
|
25
25
|
*/
|
26
|
-
observe(element: ElementRef
|
26
|
+
observe(element: ElementRef, options?: {
|
27
|
+
updateResponsiveClasses?: boolean;
|
28
|
+
}): SkyResizeObserverMediaQueryService;
|
27
29
|
/**
|
28
|
-
* Stop watching the container element.
|
30
|
+
* Stop watching the container element and remove any added classes.
|
29
31
|
*/
|
30
32
|
unobserve(): void;
|
31
33
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@skyux/core",
|
3
|
-
"version": "9.0.0-alpha.
|
3
|
+
"version": "9.0.0-alpha.6",
|
4
4
|
"author": "Blackbaud, Inc.",
|
5
5
|
"keywords": [
|
6
6
|
"blackbaud",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"@angular/core": "^16.1.7",
|
42
42
|
"@angular/platform-browser": "^16.1.7",
|
43
43
|
"@angular/router": "^16.1.7",
|
44
|
-
"@skyux/i18n": "9.0.0-alpha.
|
44
|
+
"@skyux/i18n": "9.0.0-alpha.6"
|
45
45
|
},
|
46
46
|
"dependencies": {
|
47
47
|
"tslib": "^2.5.0"
|
package/testing/public-api.d.ts
CHANGED
@@ -5,3 +5,4 @@ export { SkyHarnessFilters } from './shared/harness-filters';
|
|
5
5
|
export { SkyCoreTestingModule } from './core-testing.module';
|
6
6
|
export { MockSkyMediaQueryService } from './mock-media-query.service';
|
7
7
|
export { MockSkyUIConfigService } from './mock-ui-config.service';
|
8
|
+
export { mockResizeObserver, mockResizeObserverEntry, mockResizeObserverHandle, } from './resize-observer-mock';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export declare const mockResizeObserverEntry: ResizeObserverEntry;
|
2
|
+
export declare const mockResizeObserverHandle: {
|
3
|
+
callback: ResizeObserverCallback;
|
4
|
+
emit: (entries: ResizeObserverEntry[], observer?: ResizeObserver) => void;
|
5
|
+
};
|
6
|
+
export declare function mockResizeObserver(): void;
|