@coolon/angular-ui-powerups 16.1.0-alpha.312 → 16.1.0-alpha.313
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/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +19 -8
- package/fesm2022/coolon-angular-ui-powerups.mjs +18 -7
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +6 -3
- package/package.json +1 -1
|
@@ -21,7 +21,8 @@ import * as i0 from "@angular/core";
|
|
|
21
21
|
*
|
|
22
22
|
* The rail collapses to an icon strip from the Menu row, and expands over the content when the
|
|
23
23
|
* pointer rests on it. A touch has no hover, so on touch a tap on a collapsed group expands the rail
|
|
24
|
-
* over the content instead of navigating,
|
|
24
|
+
* over the content instead of navigating, showing that group's children alone, whatever
|
|
25
|
+
* {@link groupsStartOpen} says, so they open beside the finger; tapping a page, the backdrop, the
|
|
25
26
|
* Menu row or Esc closes it again. The pinned state is kept in localStorage under {@link persistKey}.
|
|
26
27
|
*
|
|
27
28
|
* {@link currentPath$} names where the user is the way the rail does, for a breadcrumb.
|
|
@@ -111,6 +112,8 @@ export declare class SidePlaceNavigationComponent extends AbstractPlaceNavigatio
|
|
|
111
112
|
* stays until the user goes somewhere or dismisses it: a touch never leaves, as a pointer does.
|
|
112
113
|
*/
|
|
113
114
|
readonly tapOpen$: MutableValueModel<boolean>;
|
|
115
|
+
/** The one group a tap expansion shows, if any. Kept apart from the groups the user has opened. */
|
|
116
|
+
private readonly tappedGroup$;
|
|
114
117
|
/** Labels and children are shown: pinned expanded, or expanded over the content. */
|
|
115
118
|
readonly open$: BooleanValueModelChain;
|
|
116
119
|
/** Expanded over the content, by hover or a tap, as opposed to pinned expanded beside it. */
|
|
@@ -148,8 +151,8 @@ export declare class SidePlaceNavigationComponent extends AbstractPlaceNavigatio
|
|
|
148
151
|
private resetHandle;
|
|
149
152
|
constructor(router: PlaceRouter);
|
|
150
153
|
/**
|
|
151
|
-
* A group header toggles while the rail is open,
|
|
152
|
-
* with it; anything else navigates.
|
|
154
|
+
* A group header toggles while the rail is open, one group at a time while a tap expanded it, and
|
|
155
|
+
* a touch on a collapsed one opens the rail with it; anything else navigates.
|
|
153
156
|
*/
|
|
154
157
|
activate(item: SidePlaceNavigationComponent.Item): void;
|
|
155
158
|
navigateTo(place: PlaceDefinition): void;
|