@skyux/modals 7.0.0-beta.0 → 7.0.0-beta.10
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 +297 -207
- package/esm2020/index.mjs +1 -3
- package/esm2020/lib/modules/confirm/confirm-button.mjs +1 -1
- package/esm2020/lib/modules/confirm/confirm.component.mjs +8 -5
- package/esm2020/lib/modules/modal/modal-header.component.mjs +4 -3
- package/esm2020/lib/modules/modal/modal-host.component.mjs +10 -8
- package/esm2020/lib/modules/modal/modal-host.service.mjs +15 -12
- package/esm2020/lib/modules/modal/modal-scroll-shadow.directive.mjs +4 -4
- package/esm2020/lib/modules/modal/modal.component.mjs +1 -1
- package/esm2020/lib/modules/modal/modal.interface.mjs +1 -3
- package/esm2020/lib/modules/modal/modal.module.mjs +7 -3
- package/esm2020/lib/modules/modal/modal.service.mjs +1 -3
- package/fesm2015/skyux-modals.mjs +46 -38
- package/fesm2015/skyux-modals.mjs.map +1 -1
- package/fesm2020/skyux-modals.mjs +43 -40
- package/fesm2020/skyux-modals.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/lib/modules/confirm/confirm-button.d.ts +1 -1
- package/lib/modules/modal/modal-header.component.d.ts +1 -1
- package/lib/modules/modal/modal-host.component.d.ts +2 -2
- package/lib/modules/modal/modal-host.service.d.ts +1 -1
- package/lib/modules/modal/modal-scroll-shadow.directive.d.ts +2 -2
- package/lib/modules/modal/modal.component.d.ts +1 -1
- package/lib/modules/modal/modal.interface.d.ts +3 -1
- package/lib/modules/modal/modal.module.d.ts +2 -1
- package/lib/modules/modal/modal.service.d.ts +1 -1
- package/package.json +5 -5
|
@@ -32,7 +32,7 @@ export declare class SkyModalComponent implements AfterViewInit, OnDestroy {
|
|
|
32
32
|
modalZIndex: number | undefined;
|
|
33
33
|
scrollShadow: SkyModalScrollShadowEventArgs | undefined;
|
|
34
34
|
size: string;
|
|
35
|
-
|
|
35
|
+
modalContentWrapperElement: ElementRef | undefined;
|
|
36
36
|
constructor(hostService: SkyModalHostService, config: SkyModalConfiguration, elRef: ElementRef, windowRef: SkyAppWindowRef, componentAdapter: SkyModalComponentAdapterService, coreAdapter: SkyCoreAdapterService, dockService: SkyDockService, mediaQueryService?: SkyResizeObserverMediaQueryService);
|
|
37
37
|
onDocumentKeyUp(event: KeyboardEvent): void;
|
|
38
38
|
onDocumentKeyDown(event: KeyboardEvent): void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { StaticProvider } from '@angular/core';
|
|
1
2
|
/**
|
|
2
3
|
* Specifies configuration options for creating a modal.
|
|
3
4
|
*/
|
|
@@ -17,7 +18,7 @@ export interface SkyModalConfigurationInterface {
|
|
|
17
18
|
* In Angular, a provider is something that can create or deliver a service.
|
|
18
19
|
* This property can be used to pass context values from the component that launches the modal to the modal component.
|
|
19
20
|
*/
|
|
20
|
-
providers?:
|
|
21
|
+
providers?: StaticProvider[];
|
|
21
22
|
/**
|
|
22
23
|
* Specifies the HTML element ID (without the leading `#`) of the element that describes
|
|
23
24
|
* the modal. This sets the modal's `aria-describedby` attribute
|
|
@@ -52,6 +53,7 @@ export interface SkyModalConfigurationInterface {
|
|
|
52
53
|
*/
|
|
53
54
|
tiledBody?: boolean;
|
|
54
55
|
/**
|
|
56
|
+
* @deprecated To display a help button in the modal header, include a help button element, such as `sky-help-inline`, in the `sky-modal-header` element and a `sky-control-help` CSS class on that help button element
|
|
55
57
|
* Specifies a `helpKey` string. This property displays
|
|
56
58
|
* the <i class="fa fa-question-circle" aria-hidden="true"></i> button in the modal header.
|
|
57
59
|
* When users click this button, the `helpOpened` event broadcasts the `helpKey` parameter.
|
|
@@ -10,8 +10,9 @@ import * as i8 from "@angular/router";
|
|
|
10
10
|
import * as i9 from "@skyux/indicators";
|
|
11
11
|
import * as i10 from "../shared/sky-modals-resources.module";
|
|
12
12
|
import * as i11 from "@skyux/theme";
|
|
13
|
+
import * as i12 from "@skyux/core";
|
|
13
14
|
export declare class SkyModalModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyModalModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyModalModule, [typeof i1.SkyModalComponent, typeof i2.SkyModalContentComponent, typeof i3.SkyModalFooterComponent, typeof i4.SkyModalHeaderComponent, typeof i5.SkyModalHostComponent, typeof i6.SkyModalScrollShadowDirective], [typeof i7.CommonModule, typeof i8.RouterModule, typeof i9.SkyIconModule, typeof i10.SkyModalsResourcesModule, typeof i11.SkyThemeModule], [typeof i1.SkyModalComponent, typeof i2.SkyModalContentComponent, typeof i3.SkyModalFooterComponent, typeof i4.SkyModalHeaderComponent]>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyModalModule, [typeof i1.SkyModalComponent, typeof i2.SkyModalContentComponent, typeof i3.SkyModalFooterComponent, typeof i4.SkyModalHeaderComponent, typeof i5.SkyModalHostComponent, typeof i6.SkyModalScrollShadowDirective], [typeof i7.CommonModule, typeof i8.RouterModule, typeof i9.SkyIconModule, typeof i10.SkyModalsResourcesModule, typeof i11.SkyThemeModule, typeof i12.SkyTrimModule], [typeof i1.SkyModalComponent, typeof i2.SkyModalContentComponent, typeof i3.SkyModalFooterComponent, typeof i4.SkyModalHeaderComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyModalModule>;
|
|
17
18
|
}
|
|
@@ -9,7 +9,7 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
export declare class SkyModalService {
|
|
10
10
|
#private;
|
|
11
11
|
private static host;
|
|
12
|
-
constructor(dynamicComponentService
|
|
12
|
+
constructor(dynamicComponentService: SkyDynamicComponentService);
|
|
13
13
|
/**
|
|
14
14
|
* @internal
|
|
15
15
|
* Removes the modal host from the DOM.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/modals",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.10",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"@angular/common": "^14.2.0",
|
|
45
45
|
"@angular/core": "^14.2.0",
|
|
46
46
|
"@angular/router": "^14.2.0",
|
|
47
|
-
"@skyux/core": "7.0.0-beta.
|
|
48
|
-
"@skyux/i18n": "7.0.0-beta.
|
|
49
|
-
"@skyux/indicators": "7.0.0-beta.
|
|
50
|
-
"@skyux/theme": "7.0.0-beta.
|
|
47
|
+
"@skyux/core": "7.0.0-beta.10",
|
|
48
|
+
"@skyux/i18n": "7.0.0-beta.10",
|
|
49
|
+
"@skyux/indicators": "7.0.0-beta.10",
|
|
50
|
+
"@skyux/theme": "7.0.0-beta.10"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"tslib": "^2.3.1"
|