@camaradesuk/m3e-angular 0.2.0-alpha.12 → 0.2.0-alpha.13
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camaradesuk/m3e-angular",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.13",
|
|
4
4
|
"description": "Angular Material Expressive is a library that provides a set of components and styles for Angular Material based on the latest Material Design 3 Expressive Design System.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -136,6 +136,11 @@ type MatExpDialogMode = 'alert' | 'adaptive';
|
|
|
136
136
|
type MatExpDialogMotion = 'system' | 'none';
|
|
137
137
|
/** Where an adaptive dialog's actions sit below 600px: the header row or a bottom bar. */
|
|
138
138
|
type MatExpDialogCompactActions = 'header' | 'footer';
|
|
139
|
+
/**
|
|
140
|
+
* Whether an adaptive dialog's layout shows its close button. A hidden button removes only that
|
|
141
|
+
* control: Escape and backdrop clicks still follow `disableClose`.
|
|
142
|
+
*/
|
|
143
|
+
type MatExpDialogCloseButton = 'visible' | 'hidden';
|
|
139
144
|
/** Native options plus the presentation contract. Native data/results are unchanged. */
|
|
140
145
|
type MatExpDialogConfig<D = unknown> = Omit<MatDialogConfig<D>, 'role' | 'enterAnimationDuration' | 'exitAnimationDuration' | 'delayFocusTrap'> & {
|
|
141
146
|
/** Visible layout heading and fallback accessible name. Required and non-empty. */
|
|
@@ -149,6 +154,7 @@ type MatExpDialogConfig<D = unknown> = Omit<MatDialogConfig<D>, 'role' | 'enterA
|
|
|
149
154
|
origin?: never;
|
|
150
155
|
adaptiveWidth?: never;
|
|
151
156
|
compactActions?: never;
|
|
157
|
+
closeButton?: never;
|
|
152
158
|
/** Explicitly choose urgent alert semantics or an ordinary confirmation. */
|
|
153
159
|
role: 'dialog' | 'alertdialog';
|
|
154
160
|
/** ID of the short confirmation message. Required for alert mode. */
|
|
@@ -169,6 +175,13 @@ type MatExpDialogConfig<D = unknown> = Omit<MatDialogConfig<D>, 'role' | 'enterA
|
|
|
169
175
|
* Use `'footer'` for several actions or long labels. @default 'header'
|
|
170
176
|
*/
|
|
171
177
|
compactActions?: MatExpDialogCompactActions;
|
|
178
|
+
/**
|
|
179
|
+
* Show or hide the layout's close button. Change it while open with
|
|
180
|
+
* `MatExpDialogRef.updateCloseButton()`, for example to hide it while work that must not be
|
|
181
|
+
* interrupted runs. Escape and backdrop clicks keep following `disableClose`.
|
|
182
|
+
* @default 'visible'
|
|
183
|
+
*/
|
|
184
|
+
closeButton?: MatExpDialogCloseButton;
|
|
172
185
|
/** Task/forms are ordinary dialogs, never implicitly urgent. @default 'dialog' */
|
|
173
186
|
role?: 'dialog';
|
|
174
187
|
});
|
|
@@ -2629,6 +2642,11 @@ declare class MatExpDialogContainer extends CdkDialogContainer {
|
|
|
2629
2642
|
protected _contentAttached(): void;
|
|
2630
2643
|
attachComponentPortal<T>(portal: ComponentPortal<T>): ComponentRef<T>;
|
|
2631
2644
|
close(): void;
|
|
2645
|
+
/**
|
|
2646
|
+
* The layout's close button is about to be removed. If it has focus, move focus to the dialog's
|
|
2647
|
+
* initial focus target once it is gone, so focus never falls out of the trap to the page.
|
|
2648
|
+
*/
|
|
2649
|
+
closeButtonHiding(): void;
|
|
2632
2650
|
/** Follow content that animates its own size, without a competing surface spring. */
|
|
2633
2651
|
followContentSize(active: boolean): void;
|
|
2634
2652
|
retarget(): void;
|
|
@@ -2659,6 +2677,17 @@ declare class MatExpDialogRef<T, R = unknown> {
|
|
|
2659
2677
|
*/
|
|
2660
2678
|
disableClose: boolean;
|
|
2661
2679
|
/** @internal */
|
|
2680
|
+
private readonly _closeButton;
|
|
2681
|
+
/** @internal */
|
|
2682
|
+
private readonly _closeLabel;
|
|
2683
|
+
/**
|
|
2684
|
+
* Whether the adaptive layout shows its close button. Alert dialogs never have one.
|
|
2685
|
+
* @default 'visible'
|
|
2686
|
+
*/
|
|
2687
|
+
readonly closeButton: Signal<MatExpDialogCloseButton>;
|
|
2688
|
+
/** The adaptive close button's accessible label. @default 'Close dialog' */
|
|
2689
|
+
readonly closeLabel: Signal<string>;
|
|
2690
|
+
/** @internal */
|
|
2662
2691
|
private _state;
|
|
2663
2692
|
/** @internal */
|
|
2664
2693
|
private _result?;
|
|
@@ -2697,6 +2726,19 @@ declare class MatExpDialogRef<T, R = unknown> {
|
|
|
2697
2726
|
* `disableClose` blocked the close, so an app can route a blocked click to its own handler.
|
|
2698
2727
|
*/
|
|
2699
2728
|
closeButtonClick(): rxjs.Observable<MouseEvent>;
|
|
2729
|
+
/**
|
|
2730
|
+
* Show or hide the adaptive layout's close button while the dialog is open, for example to hide
|
|
2731
|
+
* it while work that must not be interrupted runs. Escape and backdrop clicks keep following
|
|
2732
|
+
* `disableClose`, and focus stays trapped in the dialog. Hiding the button while it has focus
|
|
2733
|
+
* moves focus to the dialog's initial focus target (the first tabbable control by default).
|
|
2734
|
+
* No effect on alert dialogs, which have no close button.
|
|
2735
|
+
*/
|
|
2736
|
+
updateCloseButton(closeButton: MatExpDialogCloseButton): this;
|
|
2737
|
+
/**
|
|
2738
|
+
* Change the adaptive close button's accessible label while the dialog is open, for example to
|
|
2739
|
+
* say what closing does in the current state. Must not be blank.
|
|
2740
|
+
*/
|
|
2741
|
+
updateCloseLabel(closeLabel: string): this;
|
|
2700
2742
|
/** @internal The adaptive close button is a dismissal gesture, like Escape and the backdrop. */
|
|
2701
2743
|
_closeButtonClick(event: MouseEvent): void;
|
|
2702
2744
|
/** Native overlay keyboard events. */
|
|
@@ -2771,6 +2813,7 @@ declare class MatExpDialogLayout {
|
|
|
2771
2813
|
motion: "system" | "none";
|
|
2772
2814
|
adaptiveWidth?: string;
|
|
2773
2815
|
compactActions: _camaradesuk_m3e_angular.MatExpDialogCompactActions;
|
|
2816
|
+
closeButton: _camaradesuk_m3e_angular.MatExpDialogCloseButton;
|
|
2774
2817
|
origin?: HTMLElement;
|
|
2775
2818
|
};
|
|
2776
2819
|
/** @internal */
|
|
@@ -2794,6 +2837,8 @@ interface MatExpDialogOptions {
|
|
|
2794
2837
|
readonly adaptiveWidth: string | undefined;
|
|
2795
2838
|
/** Adaptive actions below 600px: the header row or a bottom bar. @default 'header' */
|
|
2796
2839
|
readonly compactActions: MatExpDialogCompactActions;
|
|
2840
|
+
/** Whether adaptive dialogs open with their close button shown. @default 'visible' */
|
|
2841
|
+
readonly closeButton: MatExpDialogCloseButton;
|
|
2797
2842
|
}
|
|
2798
2843
|
declare const MAT_EXP_DIALOG_OPTIONS: InjectionToken<MatExpDialogOptions>;
|
|
2799
2844
|
declare const provideMatExpDialogOptions: (options: Partial<MatExpDialogOptions> | (() => Partial<MatExpDialogOptions>)) => _angular_core.FactoryProvider;
|
|
@@ -2815,4 +2860,4 @@ declare class MatExpDialogClose {
|
|
|
2815
2860
|
}
|
|
2816
2861
|
|
|
2817
2862
|
export { ButtonAdapter, IconButtonAdapter, MAT_EXP_BUTTON_DEFAULT_OPTIONS, MAT_EXP_BUTTON_GROUP, MAT_EXP_BUTTON_GROUP_DEFAULT_OPTIONS, MAT_EXP_BUTTON_GROUP_OPTIONS, MAT_EXP_BUTTON_GROUP_VALUE_ACCESSOR, MAT_EXP_BUTTON_OPTIONS, MAT_EXP_DIALOG_OPTIONS, MAT_EXP_FAB_MENU_OPTIONS, MAT_EXP_ICON_BUTTON_DEFAULT_OPTIONS, MAT_EXP_ICON_BUTTON_OPTIONS, MAT_EXP_LIST_DEFAULT_OPTIONS, MAT_EXP_LIST_OPTIONS, MAT_EXP_LOADING_INDICATOR_DEFAULT_OPTIONS, MAT_EXP_LOADING_INDICATOR_OPTIONS, MAT_EXP_LOADING_INDICATOR_SHAPES, MAT_EXP_LOADING_INDICATOR_VIEW_BOX, MAT_EXP_MENU_DEFAULT_OPTIONS, MAT_EXP_MENU_OPTIONS, MAT_EXP_MENU_SURFACE, MAT_EXP_NAVIGATION_RAIL_OPTIONS, MAT_EXP_PROGRESS_INDICATOR_DEFAULT_OPTIONS, MAT_EXP_PROGRESS_INDICATOR_OPTIONS, MAT_EXP_RICH_TOOLTIP_DEFAULT_OPTIONS, MAT_EXP_RICH_TOOLTIP_OPTIONS, MAT_EXP_SEARCH_DEFAULT_OPTIONS, MAT_EXP_SEARCH_OPTIONS, MAT_EXP_SPLIT_BUTTON_DEFAULT_OPTIONS, MAT_EXP_SPLIT_BUTTON_OPTIONS, MAT_EXP_STEPPER_OPTIONS, MAT_EXP_TOOLBAR_OPTIONS, MatExpAutocomplete, MatExpButton, MatExpButtonGroup, MatExpDialog, MatExpDialogActions, MatExpDialogClose, MatExpDialogLayout, MatExpDialogRef, MatExpFabMenu, MatExpFabMenuButton, MatExpFabMenuTrigger, MatExpIconButton, MatExpList, MatExpListItem, MatExpListMediaDirective, MatExpLoadingIndicator, MatExpMenu, MatExpMenuContent, MatExpMenuContextTrigger, MatExpMenuItemDirective, MatExpMenuItemTemplate, MatExpMenuTrigger, MatExpNavigationRail, MatExpNavigationRailGroup, MatExpNavigationRailItem, MatExpNavigationRailSection, MatExpProgressIndicator, MatExpRichTooltip, MatExpRichTooltipTrigger, MatExpSearch, MatExpSearchResult, MatExpSelect, MatExpSelectableButtonChange, MatExpSplitButton, MatExpStep, MatExpStepper, MatExpToolbar, MatExpToolbarItem, bindButtonGroupChildren, injectMatExpButtonGroupOptions, injectMatExpButtonOptions, injectMatExpFabMenuOptions, injectMatExpIconButtonOptions, injectMatExpLoadingIndicatorOptions, injectMatExpMenuOptions, injectMatExpProgressIndicatorOptions, injectMatExpRichTooltipOptions, injectMatExpSearchOptions, injectMatExpSplitButtonOptions, provideMatExpButtonGroupOptions, provideMatExpButtonOptions, provideMatExpDialogOptions, provideMatExpFabMenuOptions, provideMatExpIconButtonOptions, provideMatExpListOptions, provideMatExpLoadingIndicatorOptions, provideMatExpMenuOptions, provideMatExpNavigationRailOptions, provideMatExpProgressIndicatorOptions, provideMatExpRichTooltipOptions, provideMatExpSearchOptions, provideMatExpSplitButtonOptions, provideMatExpStepperOptions, provideMatExpToolbarOptions, toButtonGroupChild };
|
|
2818
|
-
export type { ButtonGroupChild, ButtonGroupChildBroadcastConfig, MatExpAutocompleteFilterMotion, MatExpButtonGroupAppearance, MatExpButtonGroupOptions, MatExpButtonGroupSelection, MatExpButtonGroupSelectionMultiSelect, MatExpButtonGroupSelectionSingleSelect, MatExpButtonGroupSemantics, MatExpButtonGroupShape, MatExpButtonGroupSize, MatExpButtonGroupVariant, MatExpButtonGroupVariantConnected, MatExpButtonGroupVariantStandard, MatExpButtonOptions, MatExpButtonShape, MatExpButtonShapeRound, MatExpButtonShapeSquare, MatExpButtonSize, MatExpButtonSizeL, MatExpButtonSizeM, MatExpButtonSizeS, MatExpButtonSizeXL, MatExpButtonSizeXS, MatExpButtonState, MatExpButtonStateActive, MatExpButtonStateDisabled, MatExpButtonStateFocused, MatExpButtonStateHovered, MatExpButtonStatePressed, MatExpButtonToggle, MatExpButtonToggleSelected, MatExpButtonToggleUnselected, MatExpDialogCompactActions, MatExpDialogConfig, MatExpDialogConfirmationConfig, MatExpDialogMode, MatExpDialogMotion, MatExpDialogOptions, MatExpFabColor, MatExpFabMenuColor, MatExpFabMenuOptions, MatExpFabMenuTriggerColor, MatExpIconButtonAppearance, MatExpIconButtonOptions, MatExpIconButtonWidth, MatExpIconButtonWidthDefault, MatExpIconButtonWidthNarrow, MatExpIconButtonWidthWide, MatExpListAppearance, MatExpListMedia, MatExpListOptions, MatExpListPosition, MatExpListTextWrap, MatExpLoadingIndicatorConfig, MatExpLoadingIndicatorOptions, MatExpLoadingIndicatorSpeed, MatExpMenuCloseReason, MatExpMenuColor, MatExpMenuDensity, MatExpMenuEntry, MatExpMenuGroup, MatExpMenuItem, MatExpMenuItemContext, MatExpMenuOpenOptions, MatExpMenuOptions, MatExpMenuSeparation, MatExpNavigationRailAlignment, MatExpNavigationRailCollapsedLayout, MatExpNavigationRailDensity, MatExpNavigationRailMode, MatExpNavigationRailOptions, MatExpProgressIndicatorOptions, MatExpProgressMode, MatExpProgressShape, MatExpProgressVariant, MatExpRadioState, MatExpRichTooltipOptions, MatExpRichTooltipPosition, MatExpSearchAlignment, MatExpSearchAppearance, MatExpSearchLayout, MatExpSearchOptions, MatExpSearchState, MatExpSelectOption, MatExpSelectPopupMotion, MatExpSelectableButton, MatExpSplitButtonAppearance, MatExpSplitButtonOptions, MatExpStepState, MatExpStepperLayout, MatExpStepperMotion, MatExpStepperOptions, MatExpToolbarAlignment, MatExpToolbarAppearance, MatExpToolbarExitEdge, MatExpToolbarLayout, MatExpToolbarOptions };
|
|
2863
|
+
export type { ButtonGroupChild, ButtonGroupChildBroadcastConfig, MatExpAutocompleteFilterMotion, MatExpButtonGroupAppearance, MatExpButtonGroupOptions, MatExpButtonGroupSelection, MatExpButtonGroupSelectionMultiSelect, MatExpButtonGroupSelectionSingleSelect, MatExpButtonGroupSemantics, MatExpButtonGroupShape, MatExpButtonGroupSize, MatExpButtonGroupVariant, MatExpButtonGroupVariantConnected, MatExpButtonGroupVariantStandard, MatExpButtonOptions, MatExpButtonShape, MatExpButtonShapeRound, MatExpButtonShapeSquare, MatExpButtonSize, MatExpButtonSizeL, MatExpButtonSizeM, MatExpButtonSizeS, MatExpButtonSizeXL, MatExpButtonSizeXS, MatExpButtonState, MatExpButtonStateActive, MatExpButtonStateDisabled, MatExpButtonStateFocused, MatExpButtonStateHovered, MatExpButtonStatePressed, MatExpButtonToggle, MatExpButtonToggleSelected, MatExpButtonToggleUnselected, MatExpDialogCloseButton, MatExpDialogCompactActions, MatExpDialogConfig, MatExpDialogConfirmationConfig, MatExpDialogMode, MatExpDialogMotion, MatExpDialogOptions, MatExpFabColor, MatExpFabMenuColor, MatExpFabMenuOptions, MatExpFabMenuTriggerColor, MatExpIconButtonAppearance, MatExpIconButtonOptions, MatExpIconButtonWidth, MatExpIconButtonWidthDefault, MatExpIconButtonWidthNarrow, MatExpIconButtonWidthWide, MatExpListAppearance, MatExpListMedia, MatExpListOptions, MatExpListPosition, MatExpListTextWrap, MatExpLoadingIndicatorConfig, MatExpLoadingIndicatorOptions, MatExpLoadingIndicatorSpeed, MatExpMenuCloseReason, MatExpMenuColor, MatExpMenuDensity, MatExpMenuEntry, MatExpMenuGroup, MatExpMenuItem, MatExpMenuItemContext, MatExpMenuOpenOptions, MatExpMenuOptions, MatExpMenuSeparation, MatExpNavigationRailAlignment, MatExpNavigationRailCollapsedLayout, MatExpNavigationRailDensity, MatExpNavigationRailMode, MatExpNavigationRailOptions, MatExpProgressIndicatorOptions, MatExpProgressMode, MatExpProgressShape, MatExpProgressVariant, MatExpRadioState, MatExpRichTooltipOptions, MatExpRichTooltipPosition, MatExpSearchAlignment, MatExpSearchAppearance, MatExpSearchLayout, MatExpSearchOptions, MatExpSearchState, MatExpSelectOption, MatExpSelectPopupMotion, MatExpSelectableButton, MatExpSplitButtonAppearance, MatExpSplitButtonOptions, MatExpStepState, MatExpStepperLayout, MatExpStepperMotion, MatExpStepperOptions, MatExpToolbarAlignment, MatExpToolbarAppearance, MatExpToolbarExitEdge, MatExpToolbarLayout, MatExpToolbarOptions };
|