@aeris-ui/core 22.0.0-alpha.1 → 22.0.0-alpha.3
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/README.md +191 -191
- package/fesm2022/aeris-ui-core-accordion.mjs +14 -14
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +3 -3
- package/fesm2022/aeris-ui-core-auto-complete.mjs +17 -17
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-auto-focus.mjs +3 -3
- package/fesm2022/aeris-ui-core-avatar.mjs +9 -9
- package/fesm2022/aeris-ui-core-badge.mjs +10 -10
- package/fesm2022/aeris-ui-core-block-ui.mjs +3 -3
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +14 -14
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-button-group.mjs +3 -3
- package/fesm2022/aeris-ui-core-button.mjs +10 -10
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-card.mjs +20 -20
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-carousel.mjs +14 -14
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-cascade-select.mjs +11 -11
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chart.mjs +5 -5
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-checkbox.mjs +5 -5
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-chip.mjs +11 -11
- package/fesm2022/aeris-ui-core-class-names.mjs +3 -3
- package/fesm2022/aeris-ui-core-color-picker.mjs +7 -7
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-compare.mjs +14 -14
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +18 -18
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +20 -20
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-context-menu.mjs +8 -8
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-date-picker.mjs +5 -5
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dialog.mjs +17 -17
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-divider.mjs +5 -5
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-drawer.mjs +17 -17
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +6 -6
- package/fesm2022/aeris-ui-core-editor.mjs +5 -5
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-file-upload.mjs +26 -26
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-filter-service.mjs +3 -3
- package/fesm2022/aeris-ui-core-fluid.mjs +3 -3
- package/fesm2022/aeris-ui-core-focus-trap.mjs +3 -3
- package/fesm2022/aeris-ui-core-galleria.mjs +29 -29
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-glass.mjs +3 -3
- package/fesm2022/aeris-ui-core-icon-field.mjs +14 -14
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-inplace.mjs +11 -11
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-group.mjs +16 -16
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-mask.mjs +5 -5
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-number.mjs +5 -5
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-otp.mjs +8 -8
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-input-text.mjs +8 -8
- package/fesm2022/aeris-ui-core-key-filter.mjs +3 -3
- package/fesm2022/aeris-ui-core-mega-menu.mjs +8 -8
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menu.mjs +17 -17
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-menubar.mjs +14 -14
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-message.mjs +11 -11
- package/fesm2022/aeris-ui-core-meter-group.mjs +17 -17
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-multi-select.mjs +20 -20
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-order-list.mjs +11 -11
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-organization-chart.mjs +11 -11
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-paginator.mjs +5 -5
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-panel.mjs +17 -17
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-password.mjs +14 -14
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-pick-list.mjs +11 -11
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-popover.mjs +17 -17
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-bar.mjs +11 -11
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +8 -8
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-radio-button.mjs +5 -5
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-rating.mjs +5 -5
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +5 -5
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-scroll-top.mjs +5 -5
- package/fesm2022/aeris-ui-core-select.mjs +38 -38
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-skeleton.mjs +3 -3
- package/fesm2022/aeris-ui-core-slider.mjs +5 -5
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-speed-dial.mjs +5 -5
- package/fesm2022/aeris-ui-core-split-button.mjs +5 -5
- package/fesm2022/aeris-ui-core-splitter.mjs +8 -8
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-stepper.mjs +14 -14
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-style-class.mjs +3 -3
- package/fesm2022/aeris-ui-core-table.mjs +20 -20
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tabs.mjs +33 -21
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-textarea.mjs +8 -8
- package/fesm2022/aeris-ui-core-theme-builder.mjs +61 -43
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-theming.mjs +3 -3
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +8 -8
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-timeline.mjs +17 -17
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toast.mjs +553 -158
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +5 -5
- package/fesm2022/aeris-ui-core-toolbar.mjs +20 -20
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tooltip.mjs +6 -6
- package/fesm2022/aeris-ui-core-tree-select.mjs +20 -20
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree-table.mjs +17 -17
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -1
- package/fesm2022/aeris-ui-core-tree.mjs +14 -14
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -1
- package/fesm2022/aeris-ui-core.mjs +1 -1
- package/fesm2022/aeris-ui-core.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/runtime/theme-builder/aeris-contrast.js +6 -17
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-foundation.js +10 -4
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +28 -5
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -1
- package/schematics/runtime/theme-builder/aeris-theme.js +17 -17
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -1
- package/styles/_fallback-colors.scss +10 -0
- package/styles/_tokens.scss +5 -5
- package/styles/aeris.css +20 -12
- package/styles/controls.css +4 -4
- package/types/aeris-ui-core-badge.d.ts +2 -2
- package/types/aeris-ui-core-breadcrumb.d.ts +1 -1
- package/types/aeris-ui-core-progress-spinner.d.ts +1 -1
- package/types/aeris-ui-core-splitter.d.ts +1 -1
- package/types/aeris-ui-core-tabs.d.ts +1 -1
- package/types/aeris-ui-core-theme-builder.d.ts +18 -17
- package/types/aeris-ui-core-toast.d.ts +45 -8
- package/types/aeris-ui-core.d.ts +1 -1
|
@@ -12,7 +12,7 @@ declare class AerisBadge {
|
|
|
12
12
|
readonly size: _angular_core.InputSignal<AerisBadgeSize>;
|
|
13
13
|
readonly variant: _angular_core.InputSignal<AerisBadgeVariant>;
|
|
14
14
|
readonly shape: _angular_core.InputSignal<AerisBadgeShape>;
|
|
15
|
-
readonly max: _angular_core.InputSignalWithTransform<number | null,
|
|
15
|
+
readonly max: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
16
16
|
readonly dot: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
17
17
|
readonly showZero: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
18
18
|
readonly hidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -33,7 +33,7 @@ declare class AerisBadgeOverlay {
|
|
|
33
33
|
readonly size: _angular_core.InputSignal<AerisBadgeSize>;
|
|
34
34
|
readonly variant: _angular_core.InputSignal<AerisBadgeVariant>;
|
|
35
35
|
readonly shape: _angular_core.InputSignal<AerisBadgeShape>;
|
|
36
|
-
readonly max: _angular_core.InputSignalWithTransform<number | null,
|
|
36
|
+
readonly max: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
37
37
|
readonly dot: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
38
38
|
readonly showZero: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
39
39
|
readonly hidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -74,7 +74,7 @@ declare class AerisBreadcrumb {
|
|
|
74
74
|
readonly variant: _angular_core.InputSignal<AerisBreadcrumbVariant>;
|
|
75
75
|
readonly size: _angular_core.InputSignal<AerisBreadcrumbSize>;
|
|
76
76
|
readonly separator: _angular_core.InputSignal<string>;
|
|
77
|
-
readonly maxItems: _angular_core.InputSignalWithTransform<number | null,
|
|
77
|
+
readonly maxItems: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
78
78
|
readonly wrap: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
79
79
|
readonly fluid: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
80
80
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
@@ -18,7 +18,7 @@ declare class AerisProgressSpinnerValueTemplate {
|
|
|
18
18
|
declare class AerisProgressSpinner {
|
|
19
19
|
protected readonly circumference: number;
|
|
20
20
|
protected readonly valueTemplate: _angular_core.Signal<AerisProgressSpinnerValueTemplate | undefined>;
|
|
21
|
-
readonly value: _angular_core.InputSignalWithTransform<number | null,
|
|
21
|
+
readonly value: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
22
22
|
readonly min: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
23
23
|
readonly max: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
24
24
|
readonly size: _angular_core.InputSignal<AerisProgressSpinnerSize>;
|
|
@@ -38,7 +38,7 @@ interface AerisSplitterHandleState {
|
|
|
38
38
|
declare class AerisSplitterPanel {
|
|
39
39
|
private readonly element;
|
|
40
40
|
private readonly instanceId;
|
|
41
|
-
readonly size: _angular_core.InputSignalWithTransform<number | null,
|
|
41
|
+
readonly size: _angular_core.InputSignalWithTransform<number | null, unknown>;
|
|
42
42
|
readonly minSize: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
43
43
|
readonly maxSize: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
44
44
|
readonly resizable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
@@ -22,7 +22,7 @@ declare class AerisTabHeaderTemplate {
|
|
|
22
22
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<AerisTabHeaderTemplate, "ng-template[aerisTabHeader]", never, {}, {}, never, never, true, never>;
|
|
23
23
|
}
|
|
24
24
|
declare class AerisTabPanel {
|
|
25
|
-
private readonly
|
|
25
|
+
private readonly owner;
|
|
26
26
|
private readonly instanceId;
|
|
27
27
|
readonly value: _angular_core.InputSignal<string>;
|
|
28
28
|
readonly label: _angular_core.InputSignal<string>;
|
|
@@ -55,6 +55,7 @@ interface AerisThemeScheme {
|
|
|
55
55
|
readonly text?: string;
|
|
56
56
|
readonly text2?: string;
|
|
57
57
|
readonly text3?: string;
|
|
58
|
+
/** Low-emphasis neutral boundary used throughout Aeris components. */
|
|
58
59
|
readonly border?: string;
|
|
59
60
|
readonly borderStrong?: string;
|
|
60
61
|
readonly focus?: string;
|
|
@@ -104,29 +105,29 @@ interface AerisThemePreset extends AerisThemeOverride {
|
|
|
104
105
|
declare const AERIS_THEME_PRESETS: {
|
|
105
106
|
readonly earth: {
|
|
106
107
|
readonly palette: {
|
|
107
|
-
readonly surface: "#
|
|
108
|
-
readonly primary: "#
|
|
109
|
-
readonly secondary: "#
|
|
110
|
-
readonly accent: "#
|
|
111
|
-
readonly contrast: "#
|
|
108
|
+
readonly surface: "#f6f3e8";
|
|
109
|
+
readonly primary: "#5f6f36";
|
|
110
|
+
readonly secondary: "#b75e26";
|
|
111
|
+
readonly accent: "#d79a32";
|
|
112
|
+
readonly contrast: "#28351a";
|
|
112
113
|
};
|
|
113
114
|
};
|
|
114
115
|
readonly coastal: {
|
|
115
116
|
readonly palette: {
|
|
116
|
-
readonly surface: "#
|
|
117
|
-
readonly primary: "#
|
|
118
|
-
readonly secondary: "#
|
|
119
|
-
readonly accent: "#
|
|
120
|
-
readonly contrast: "#
|
|
117
|
+
readonly surface: "#eef3f5";
|
|
118
|
+
readonly primary: "#357a9e";
|
|
119
|
+
readonly secondary: "#347b73";
|
|
120
|
+
readonly accent: "#d46f58";
|
|
121
|
+
readonly contrast: "#163e54";
|
|
121
122
|
};
|
|
122
123
|
};
|
|
123
124
|
readonly orchid: {
|
|
124
125
|
readonly palette: {
|
|
125
|
-
readonly surface: "#
|
|
126
|
-
readonly primary: "#
|
|
127
|
-
readonly secondary: "#
|
|
128
|
-
readonly accent: "#
|
|
129
|
-
readonly contrast: "#
|
|
126
|
+
readonly surface: "#f3eef5";
|
|
127
|
+
readonly primary: "#7654ad";
|
|
128
|
+
readonly secondary: "#a94f79";
|
|
129
|
+
readonly accent: "#d59a36";
|
|
130
|
+
readonly contrast: "#3a2949";
|
|
130
131
|
};
|
|
131
132
|
};
|
|
132
133
|
readonly monochrome: {
|
|
@@ -147,7 +148,7 @@ declare const AERIS_THEME_PRESETS: {
|
|
|
147
148
|
readonly text: "#111111";
|
|
148
149
|
readonly text2: "#242424";
|
|
149
150
|
readonly text3: "#454545";
|
|
150
|
-
readonly border: "#
|
|
151
|
+
readonly border: "#efefef";
|
|
151
152
|
readonly borderStrong: "#111111";
|
|
152
153
|
readonly focus: "#111111";
|
|
153
154
|
readonly shadowXs: "0 1px 2px rgb(0 0 0 / 10%)";
|
|
@@ -245,7 +246,7 @@ declare const AERIS_THEME_PRESETS: {
|
|
|
245
246
|
readonly text: "#f8f8f8";
|
|
246
247
|
readonly text2: "#ededed";
|
|
247
248
|
readonly text3: "#d0d0d0";
|
|
248
|
-
readonly border: "#
|
|
249
|
+
readonly border: "#242424";
|
|
249
250
|
readonly borderStrong: "#ffffff";
|
|
250
251
|
readonly focus: "#ffffff";
|
|
251
252
|
readonly shadowXs: "0 1px 2px rgb(0 0 0 / 48%)";
|
|
@@ -4,7 +4,8 @@ import { TemplateRef } from '@angular/core';
|
|
|
4
4
|
type AerisToastPosition = 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'center';
|
|
5
5
|
type AerisToastSeverity = 'info' | 'success' | 'warning' | 'error' | 'neutral' | 'secondary' | 'contrast';
|
|
6
6
|
type AerisToastMode = 'stacked' | 'expanded';
|
|
7
|
-
type
|
|
7
|
+
type AerisToastSwipeDirection = 'up' | 'down' | 'left' | 'right';
|
|
8
|
+
type AerisToastCloseReason = 'timeout' | 'close-button' | 'swipe' | 'api' | 'clear';
|
|
8
9
|
type AerisToastLive = 'polite' | 'assertive';
|
|
9
10
|
type AerisToastRole = 'status' | 'alert';
|
|
10
11
|
interface AerisToastMessageInput<TData = unknown> {
|
|
@@ -56,11 +57,15 @@ interface AerisToastStackItem {
|
|
|
56
57
|
readonly stackIndex: number;
|
|
57
58
|
readonly stackIndexValue: string;
|
|
58
59
|
readonly stackSizeValue: string;
|
|
59
|
-
readonly
|
|
60
|
-
readonly
|
|
61
|
-
readonly
|
|
62
|
-
readonly stackOffsetInverseValue: string;
|
|
60
|
+
readonly heightValue: string;
|
|
61
|
+
readonly frontHeightValue: string;
|
|
62
|
+
readonly heightOffsetValue: string;
|
|
63
63
|
readonly primary: boolean;
|
|
64
|
+
readonly swipeXValue: string;
|
|
65
|
+
readonly swipeYValue: string;
|
|
66
|
+
readonly swipeDirection: AerisToastSwipeDirection | undefined;
|
|
67
|
+
readonly swiping: boolean;
|
|
68
|
+
readonly swipeDismissing: boolean;
|
|
64
69
|
}
|
|
65
70
|
declare class AerisToastContentTemplate {
|
|
66
71
|
readonly template: TemplateRef<AerisToastTemplateContext<unknown>>;
|
|
@@ -87,41 +92,73 @@ declare class AerisToastService {
|
|
|
87
92
|
resume(id: string): void;
|
|
88
93
|
private schedule;
|
|
89
94
|
private clearTimer;
|
|
95
|
+
private removeMany;
|
|
90
96
|
private resolveMessage;
|
|
91
97
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AerisToastService, never>;
|
|
92
98
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AerisToastService>;
|
|
93
99
|
}
|
|
94
100
|
declare class AerisToast {
|
|
101
|
+
private static readonly fallbackHeight;
|
|
102
|
+
private static readonly swipeRemovalDelay;
|
|
103
|
+
private static readonly reverseCancelThreshold;
|
|
104
|
+
private static readonly minimumDragThreshold;
|
|
95
105
|
private readonly toastService;
|
|
106
|
+
private readonly destroyRef;
|
|
107
|
+
private readonly messageElements;
|
|
108
|
+
private readonly measuredHeights;
|
|
109
|
+
private readonly swipeVisuals;
|
|
110
|
+
private readonly swipeCleanupTimers;
|
|
111
|
+
private readonly pendingSwipeRemovals;
|
|
112
|
+
private readonly measureFrame;
|
|
113
|
+
private readonly swipeFrame;
|
|
114
|
+
private swipeSession;
|
|
96
115
|
protected readonly contentTemplate: _angular_core.Signal<AerisToastContentTemplate | undefined>;
|
|
97
116
|
protected readonly iconTemplate: _angular_core.Signal<AerisToastIconTemplate | undefined>;
|
|
98
117
|
readonly position: _angular_core.InputSignal<AerisToastPosition>;
|
|
99
118
|
readonly group: _angular_core.InputSignal<string>;
|
|
100
119
|
readonly mode: _angular_core.InputSignal<AerisToastMode>;
|
|
101
120
|
readonly visibleCount: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
102
|
-
readonly limit: _angular_core.InputSignalWithTransform<number | undefined,
|
|
121
|
+
readonly limit: _angular_core.InputSignalWithTransform<number | undefined, unknown>;
|
|
103
122
|
readonly newestOnTop: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
104
123
|
readonly pauseOnHover: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
105
124
|
readonly showClose: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
125
|
+
readonly swipeDirection: _angular_core.InputSignal<AerisToastSwipeDirection | readonly AerisToastSwipeDirection[]>;
|
|
126
|
+
readonly swipeThreshold: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
106
127
|
readonly ariaLabel: _angular_core.InputSignal<string>;
|
|
107
128
|
readonly closeAriaLabel: _angular_core.InputSignal<string>;
|
|
108
129
|
readonly closed: _angular_core.OutputEmitterRef<AerisToastCloseEvent<unknown>>;
|
|
109
130
|
private readonly stackHovered;
|
|
131
|
+
private readonly resolvedSwipeDirections;
|
|
132
|
+
private readonly resolvedSwipeThreshold;
|
|
110
133
|
protected readonly orderedMessages: _angular_core.Signal<AerisToastMessage<unknown>[]>;
|
|
111
134
|
protected readonly effectiveVisibleCount: _angular_core.Signal<number>;
|
|
112
135
|
protected readonly visibleMessages: _angular_core.Signal<AerisToastMessage<unknown>[]>;
|
|
113
136
|
protected readonly hiddenCount: _angular_core.Signal<number>;
|
|
114
137
|
protected readonly visibleStackSize: _angular_core.Signal<string>;
|
|
138
|
+
protected readonly hasVisibleMessages: _angular_core.Signal<boolean>;
|
|
115
139
|
protected readonly visibleStack: _angular_core.Signal<readonly AerisToastStackItem[]>;
|
|
116
140
|
protected readonly templateContexts: _angular_core.Signal<Record<string, AerisToastTemplateContext<unknown>>>;
|
|
117
141
|
constructor();
|
|
118
142
|
protected close(message: AerisToastMessage): void;
|
|
119
143
|
protected pauseVisible(): void;
|
|
120
144
|
protected resumeVisible(): void;
|
|
145
|
+
protected handlePointerDown(event: PointerEvent, message: AerisToastMessage): void;
|
|
146
|
+
protected handlePointerMove(event: PointerEvent): void;
|
|
147
|
+
protected handlePointerEnd(event: PointerEvent): void;
|
|
148
|
+
private measureMessages;
|
|
149
|
+
private updateSwipeSession;
|
|
150
|
+
private flushSwipeVisual;
|
|
151
|
+
private setSwipeVisual;
|
|
152
|
+
private removeSwipeVisual;
|
|
153
|
+
private scheduleSwipeRemoval;
|
|
154
|
+
private swipeCandidate;
|
|
155
|
+
private swipeDisplacement;
|
|
156
|
+
private dampedSwipeDelta;
|
|
157
|
+
private hasOppositeSwipeDirection;
|
|
121
158
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AerisToast, never>;
|
|
122
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AerisToast, "aeris-toast", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "group": { "alias": "group"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "visibleCount": { "alias": "visibleCount"; "required": false; "isSignal": true; }; "limit": { "alias": "limit"; "required": false; "isSignal": true; }; "newestOnTop": { "alias": "newestOnTop"; "required": false; "isSignal": true; }; "pauseOnHover": { "alias": "pauseOnHover"; "required": false; "isSignal": true; }; "showClose": { "alias": "showClose"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "closeAriaLabel": { "alias": "closeAriaLabel"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, ["contentTemplate", "iconTemplate"], never, true, never>;
|
|
159
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AerisToast, "aeris-toast", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "group": { "alias": "group"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "visibleCount": { "alias": "visibleCount"; "required": false; "isSignal": true; }; "limit": { "alias": "limit"; "required": false; "isSignal": true; }; "newestOnTop": { "alias": "newestOnTop"; "required": false; "isSignal": true; }; "pauseOnHover": { "alias": "pauseOnHover"; "required": false; "isSignal": true; }; "showClose": { "alias": "showClose"; "required": false; "isSignal": true; }; "swipeDirection": { "alias": "swipeDirection"; "required": false; "isSignal": true; }; "swipeThreshold": { "alias": "swipeThreshold"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "closeAriaLabel": { "alias": "closeAriaLabel"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, ["contentTemplate", "iconTemplate"], never, true, never>;
|
|
123
160
|
}
|
|
124
161
|
declare const AerisToastModule: readonly [typeof AerisToast, typeof AerisToastContentTemplate, typeof AerisToastIconTemplate];
|
|
125
162
|
|
|
126
163
|
export { AerisToast, AerisToastContentTemplate, AerisToastIconTemplate, AerisToastModule, AerisToastService };
|
|
127
|
-
export type { AerisToastCloseEvent, AerisToastCloseReason, AerisToastLive, AerisToastMessage, AerisToastMessageInput, AerisToastMode, AerisToastPosition, AerisToastRole, AerisToastSeverity, AerisToastSubscribable, AerisToastSubscription, AerisToastTemplateContext };
|
|
164
|
+
export type { AerisToastCloseEvent, AerisToastCloseReason, AerisToastLive, AerisToastMessage, AerisToastMessageInput, AerisToastMode, AerisToastPosition, AerisToastRole, AerisToastSeverity, AerisToastSubscribable, AerisToastSubscription, AerisToastSwipeDirection, AerisToastTemplateContext };
|
package/types/aeris-ui-core.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ interface AerisInternalFrameScheduler {
|
|
|
79
79
|
}
|
|
80
80
|
declare function aerisInternalCreateFrameScheduler(callback: () => void): AerisInternalFrameScheduler;
|
|
81
81
|
|
|
82
|
-
declare const AERIS_UI_VERSION = "22.0.0-alpha.
|
|
82
|
+
declare const AERIS_UI_VERSION = "22.0.0-alpha.3";
|
|
83
83
|
|
|
84
84
|
export { AERIS_UI_VERSION, aerisInternalApplyMeasuredColumnWidths, aerisInternalClampColumnResizeDelta, aerisInternalClampOverlayPoint, aerisInternalColumnResizeDirection, aerisInternalColumnWidthPixels, aerisInternalCreateFrameScheduler, aerisInternalFocusInitialElement, aerisInternalFocusableElements, aerisInternalIsFocusable, aerisInternalListenForColumnResize, aerisInternalMeasureColumnWidths, aerisInternalPixelWidth, aerisInternalPositionAnchoredOverlay, aerisInternalSetColumnPairWidths, aerisInternalTrapTabFocus, boundarySelectValue, filterSelectOptions, groupSelectOptions, nextEnabledSelectValue, selectVirtualRange, ɵisTopmostAerisOverlay, ɵlockAerisDocumentScroll, ɵregisterAerisOverlay, ɵunlockAerisDocumentScroll, ɵunregisterAerisOverlay };
|
|
85
85
|
export type { AerisInternalAnchoredOverlayPosition, AerisInternalAnchoredOverlayPositionOptions, AerisInternalFocusableOptions, AerisInternalFrameScheduler, AerisInternalOverlayAlignment, AerisInternalOverlayPlacement, AerisInternalOverlayPoint, AerisInternalResizableColumn, AerisSelectFilterMatchMode, AerisSelectOption, AerisSelectOptionGroup, AerisSelectVirtualRange };
|