invensys-ng 21.3.8 → 21.3.9
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
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@use './variables' as vars;
|
|
2
|
+
|
|
3
|
+
// Shared message/tile layout. Keep Whisper and workflow tiles visually aligned.
|
|
4
|
+
@mixin frame() {
|
|
5
|
+
border-radius: vars.$borderRadius;
|
|
6
|
+
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
min-height: 56px;
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
@mixin content() {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
padding: 12px 16px;
|
|
16
|
+
width: 100%;
|
|
17
|
+
gap: 12px;
|
|
18
|
+
min-height: 56px;
|
|
19
|
+
}
|
|
20
|
+
@mixin icon() {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
justify-content: center;
|
|
24
|
+
flex-shrink: 0;
|
|
25
|
+
margin-top: 2px;
|
|
26
|
+
i { font-size: 20px; }
|
|
27
|
+
}
|
|
28
|
+
@mixin text() {
|
|
29
|
+
flex: 1;
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
gap: 10px;
|
|
33
|
+
min-width: 0;
|
|
34
|
+
}
|
|
35
|
+
@mixin summary() {
|
|
36
|
+
font-weight: 600;
|
|
37
|
+
font-size: 1em;
|
|
38
|
+
line-height: 1.4;
|
|
39
|
+
word-wrap: break-word;
|
|
40
|
+
}
|
|
41
|
+
@mixin detail() {
|
|
42
|
+
font-size: 0.9em;
|
|
43
|
+
line-height: 1.4;
|
|
44
|
+
word-wrap: break-word;
|
|
45
|
+
opacity: 0.9;
|
|
46
|
+
}
|
package/types/invensys-ng.d.ts
CHANGED
|
@@ -220,6 +220,10 @@ declare class IButton implements AfterViewInit {
|
|
|
220
220
|
* @default 'button'
|
|
221
221
|
*/
|
|
222
222
|
type: 'button' | 'submit' | 'reset';
|
|
223
|
+
/** Accessible name for icon-only actions. Visible text is used when omitted. */
|
|
224
|
+
ariaLabel?: string;
|
|
225
|
+
/** Expansion state for a button that reveals or hides content. */
|
|
226
|
+
ariaExpanded: boolean | null;
|
|
223
227
|
/**
|
|
224
228
|
* Whether the button is disabled
|
|
225
229
|
* @default false
|
|
@@ -287,7 +291,7 @@ declare class IButton implements AfterViewInit {
|
|
|
287
291
|
*/
|
|
288
292
|
focus(): void;
|
|
289
293
|
static ɵfac: i0.ɵɵFactoryDeclaration<IButton, never>;
|
|
290
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IButton, "i-button", never, { "severity": { "alias": "severity"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "raised": { "alias": "raised"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
|
|
294
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IButton, "i-button", never, { "severity": { "alias": "severity"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "ariaExpanded": { "alias": "ariaExpanded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "raised": { "alias": "raised"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "fluid": { "alias": "fluid"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, { "clicked": "clicked"; }, never, ["*"], true, never>;
|
|
291
295
|
}
|
|
292
296
|
|
|
293
297
|
/**
|
|
@@ -1452,12 +1456,16 @@ declare class IDialogActions {
|
|
|
1452
1456
|
showCancel: boolean;
|
|
1453
1457
|
showSubmit: boolean;
|
|
1454
1458
|
submitDisabled: boolean;
|
|
1459
|
+
/** Show progress and prevent repeated submission while a request is pending. */
|
|
1460
|
+
submitLoading: boolean;
|
|
1461
|
+
/** Use an outlined action when the dialog is secondary to another workflow. */
|
|
1462
|
+
submitOutlined: boolean;
|
|
1455
1463
|
cancelEvent: EventEmitter<void>;
|
|
1456
1464
|
submitEvent: EventEmitter<void>;
|
|
1457
1465
|
onCancel(): void;
|
|
1458
1466
|
onSubmit(): void;
|
|
1459
1467
|
static ɵfac: i0.ɵɵFactoryDeclaration<IDialogActions, never>;
|
|
1460
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IDialogActions, "i-dialog-actions", never, { "submitLabel": { "alias": "submitLabel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "severity": { "alias": "severity"; "required": false; }; "showCancel": { "alias": "showCancel"; "required": false; }; "showSubmit": { "alias": "showSubmit"; "required": false; }; "submitDisabled": { "alias": "submitDisabled"; "required": false; }; }, { "cancelEvent": "cancelEvent"; "submitEvent": "submitEvent"; }, never, never, true, never>;
|
|
1468
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IDialogActions, "i-dialog-actions", never, { "submitLabel": { "alias": "submitLabel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "severity": { "alias": "severity"; "required": false; }; "showCancel": { "alias": "showCancel"; "required": false; }; "showSubmit": { "alias": "showSubmit"; "required": false; }; "submitDisabled": { "alias": "submitDisabled"; "required": false; }; "submitLoading": { "alias": "submitLoading"; "required": false; }; "submitOutlined": { "alias": "submitOutlined"; "required": false; }; }, { "cancelEvent": "cancelEvent"; "submitEvent": "submitEvent"; }, never, never, true, never>;
|
|
1461
1469
|
}
|
|
1462
1470
|
|
|
1463
1471
|
type IDividerAlign = 'start' | 'center' | 'end';
|