@sebgroup/green-core-ng 2.35.1 → 2.37.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/fesm2022/sebgroup-green-core-ng.mjs +150 -143
- package/fesm2022/sebgroup-green-core-ng.mjs.map +1 -1
- package/generated/dialog/dialog.component.d.ts +16 -2
- package/generated/green-core-ng.module.d.ts +341 -341
- package/generated/index.d.ts +1 -1
- package/generated/table/table.component.d.ts +16 -2
- package/package.json +2 -2
|
@@ -12,7 +12,10 @@ export declare class GdsDialogComponent implements OnInit, OnChanges, AfterViewI
|
|
|
12
12
|
get element(): GdsDialog;
|
|
13
13
|
constructor();
|
|
14
14
|
/** Whether the dialog is open. The state of the dialog can be controlled either
|
|
15
|
-
by setting this property or by calling the `show()` and `close()` methods.
|
|
15
|
+
by setting this property or by calling the `show()` and `close()` methods.
|
|
16
|
+
|
|
17
|
+
When the state is explicitly changed by setting this prop, the state change cannot
|
|
18
|
+
be cancelled by events. */
|
|
16
19
|
open?: GdsDialog['open'];
|
|
17
20
|
/** The dialog's heading. */
|
|
18
21
|
heading?: GdsDialog['heading'];
|
|
@@ -26,6 +29,17 @@ export declare class GdsDialogComponent implements OnInit, OnChanges, AfterViewI
|
|
|
26
29
|
This property have no effect if the `dialog` slot is used. In that case, you need to add overflow
|
|
27
30
|
styles to the content inside the `dialog` slot. */
|
|
28
31
|
scrollable?: GdsDialog['scrollable'];
|
|
32
|
+
/** Controls which user actions can close the dialog. Maps to the native `<dialog>` `closedby` attribute.
|
|
33
|
+
|
|
34
|
+
- `closerequest` (default): The dialog can be dismissed by platform close gestures (Escape key, iOS swipe, etc.).
|
|
35
|
+
The browser's anti-abuse mechanism applies: after one cancelled close request, subsequent cancellations
|
|
36
|
+
require a user activation in between. This ensures the best mobile UX.
|
|
37
|
+
- `none`: The dialog can only be closed by developer-specified mechanisms (buttons, click outside, or programmatic API).
|
|
38
|
+
A manual Escape key listener is added for desktop users, with fully cancellable behavior (no anti-abuse limit).
|
|
39
|
+
Mobile platform close gestures may not work in this mode.
|
|
40
|
+
- `any`: The dialog can also be dismissed by light dismiss (clicking outside). Note that gds-dialog already
|
|
41
|
+
handles click-outside via its own mechanism. */
|
|
42
|
+
closedby?: GdsDialog['closedby'];
|
|
29
43
|
/** Style Expression Property that controls the `width` property.
|
|
30
44
|
Supports space tokens and all valid CSS `width` values. */
|
|
31
45
|
width?: GdsDialog['width'];
|
|
@@ -81,7 +95,7 @@ export declare class GdsDialogComponent implements OnInit, OnChanges, AfterViewI
|
|
|
81
95
|
ngOnChanges(changes: SimpleChanges): void;
|
|
82
96
|
ngAfterViewInit(): void;
|
|
83
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<GdsDialogComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GdsDialogComponent, "gds-dialog", never, { "open": { "alias": "open"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "width": { "alias": "width"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "inlineSize": { "alias": "inlineSize"; "required": false; }; "minInlineSize": { "alias": "minInlineSize"; "required": false; }; "maxInlineSize": { "alias": "maxInlineSize"; "required": false; }; "height": { "alias": "height"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "blockSize": { "alias": "blockSize"; "required": false; }; "minBlockSize": { "alias": "minBlockSize"; "required": false; }; "maxBlockSize": { "alias": "maxBlockSize"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "paddingInline": { "alias": "paddingInline"; "required": false; }; "paddingBlock": { "alias": "paddingBlock"; "required": false; }; }, { "gdsUiState": "gdsUiState"; "gdsClose": "gdsClose"; "gdsShow": "gdsShow"; }, never, ["*"], true, never>;
|
|
98
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GdsDialogComponent, "gds-dialog", never, { "open": { "alias": "open"; "required": false; }; "heading": { "alias": "heading"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "closedby": { "alias": "closedby"; "required": false; }; "width": { "alias": "width"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "inlineSize": { "alias": "inlineSize"; "required": false; }; "minInlineSize": { "alias": "minInlineSize"; "required": false; }; "maxInlineSize": { "alias": "maxInlineSize"; "required": false; }; "height": { "alias": "height"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "blockSize": { "alias": "blockSize"; "required": false; }; "minBlockSize": { "alias": "minBlockSize"; "required": false; }; "maxBlockSize": { "alias": "maxBlockSize"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "paddingInline": { "alias": "paddingInline"; "required": false; }; "paddingBlock": { "alias": "paddingBlock"; "required": false; }; }, { "gdsUiState": "gdsUiState"; "gdsClose": "gdsClose"; "gdsShow": "gdsShow"; }, never, ["*"], true, never>;
|
|
85
99
|
static ngAcceptInputType_open: unknown;
|
|
86
100
|
static ngAcceptInputType_scrollable: unknown;
|
|
87
101
|
}
|