@arsedizioni/ars-utils 22.5.64 → 22.5.66
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/arsedizioni-ars-utils-ui.navigation.mjs +30 -3
- package/fesm2022/arsedizioni-ars-utils-ui.navigation.mjs.map +1 -1
- package/package.json +1 -1
- package/types/arsedizioni-ars-utils-clipper.ui.d.ts +1 -1
- package/types/arsedizioni-ars-utils-ui.controls.d.ts +1 -1
- package/types/arsedizioni-ars-utils-ui.navigation.d.ts +29 -2
package/package.json
CHANGED
|
@@ -1173,7 +1173,7 @@ declare class ClipperDocumentMenuComponent {
|
|
|
1173
1173
|
private readonly renderer2;
|
|
1174
1174
|
private readonly clipperService;
|
|
1175
1175
|
readonly useSelections: _angular_core.InputSignal<boolean>;
|
|
1176
|
-
readonly selectionSource: _angular_core.InputSignal<"
|
|
1176
|
+
readonly selectionSource: _angular_core.InputSignal<"none" | "bag" | "selection">;
|
|
1177
1177
|
/**
|
|
1178
1178
|
* Computed signal that returns the current effective document selection.
|
|
1179
1179
|
* Re-evaluates when any input signal or the underlying selection model changes.
|
|
@@ -163,7 +163,7 @@ declare class ChipsSelectorComponent implements OnDestroy, ControlValueAccessor
|
|
|
163
163
|
/** When `true`, at least one item must remain selected. */
|
|
164
164
|
readonly mustSelect: _angular_core.InputSignal<boolean>;
|
|
165
165
|
/** Layout mode: `'collapsed'` forces dropdown mode, `'dynamic'` collapses based on `collapseAt`. */
|
|
166
|
-
readonly mode: _angular_core.InputSignal<"
|
|
166
|
+
readonly mode: _angular_core.InputSignal<"dynamic" | "collapsed">;
|
|
167
167
|
/** When `true`, chips are stacked vertically instead of wrapping horizontally. */
|
|
168
168
|
readonly stacked: _angular_core.InputSignal<boolean>;
|
|
169
169
|
/** Chips below this index receive extra padding to align with other UI elements. */
|
|
@@ -123,6 +123,16 @@ interface NavigationItem {
|
|
|
123
123
|
id: string;
|
|
124
124
|
/** Visible label. Also used as the accessible name and as the tooltip fallback. */
|
|
125
125
|
label: string;
|
|
126
|
+
/**
|
|
127
|
+
* Shorter label used ONLY where the label sits under the icon — the navigation
|
|
128
|
+
* bar and the collapsed rail — which is where a long name wraps or is cut.
|
|
129
|
+
* Defaults to `label`. The literal `'none'` drops the label there altogether and
|
|
130
|
+
* leaves the icon alone, for a destination whose icon says it all.
|
|
131
|
+
* The accessible name and the tooltip always keep `label`, so nothing is lost:
|
|
132
|
+
* the short form — or no form — is what is drawn, the full one is what is
|
|
133
|
+
* announced, and the tooltip is what shows it on hover.
|
|
134
|
+
*/
|
|
135
|
+
labelVertical?: string;
|
|
126
136
|
/** Material Symbols ligature rendered when the destination is NOT selected. */
|
|
127
137
|
icon?: string;
|
|
128
138
|
/** Material Symbols ligature rendered when the destination IS selected (usually the filled variant). */
|
|
@@ -415,6 +425,19 @@ declare class NavigationBarComponent {
|
|
|
415
425
|
* collapsed rail and `width` covers the rest.
|
|
416
426
|
*/
|
|
417
427
|
readonly railWidth: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
428
|
+
/**
|
|
429
|
+
* Lower bound in pixels for the width of the expanded variants (rail-expanded,
|
|
430
|
+
* drawer, modal). `0` keeps the default, which sets no floor. It is what keeps
|
|
431
|
+
* the surface readable when its width comes from a percentage or from a
|
|
432
|
+
* container that can shrink, instead of from `width`.
|
|
433
|
+
*/
|
|
434
|
+
readonly minWidth: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
435
|
+
/**
|
|
436
|
+
* Upper bound in pixels for the width of the expanded variants (rail-expanded,
|
|
437
|
+
* drawer, modal). `0` keeps the default, which is the width of the parent: the
|
|
438
|
+
* surface never spills out of it, whatever `width` says.
|
|
439
|
+
*/
|
|
440
|
+
readonly maxWidth: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
418
441
|
/** When `true` the whole surface is hidden (animated off-screen) without being destroyed. */
|
|
419
442
|
readonly hidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
420
443
|
/** Emitted when a destination is activated by the user. */
|
|
@@ -497,13 +520,17 @@ declare class NavigationBarComponent {
|
|
|
497
520
|
* `compact` wraps the icon only (56x32 pill), `wide` wraps icon and label
|
|
498
521
|
* together, exactly as described by the M3 Expressive specs.
|
|
499
522
|
*/
|
|
500
|
-
protected readonly indicatorMode: _angular_core.Signal<"
|
|
523
|
+
protected readonly indicatorMode: _angular_core.Signal<"wide" | "compact">;
|
|
501
524
|
/** Tooltip placement derived from the variant and from the anchoring edge. */
|
|
502
525
|
protected readonly tooltipPosition: _angular_core.Signal<TooltipPosition>;
|
|
503
526
|
/** Inline width override for the rail / drawer, or `undefined` to keep the spec default. */
|
|
504
527
|
protected readonly widthStyle: _angular_core.Signal<string>;
|
|
505
528
|
/** Inline width override for the collapsed rail, or `undefined` to keep the spec default. */
|
|
506
529
|
protected readonly railWidthStyle: _angular_core.Signal<string>;
|
|
530
|
+
/** Inline lower bound for the expanded variants, or `undefined` to keep the default. */
|
|
531
|
+
protected readonly minWidthStyle: _angular_core.Signal<string>;
|
|
532
|
+
/** Inline upper bound for the expanded variants, or `undefined` to keep the default. */
|
|
533
|
+
protected readonly maxWidthStyle: _angular_core.Signal<string>;
|
|
507
534
|
/** Map of destination id to resolved URL. Recomputed only when the destinations change. */
|
|
508
535
|
private readonly hrefs;
|
|
509
536
|
/**
|
|
@@ -692,7 +719,7 @@ declare class NavigationBarComponent {
|
|
|
692
719
|
*/
|
|
693
720
|
private static pathOf;
|
|
694
721
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NavigationBarComponent, never>;
|
|
695
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavigationBarComponent, "navigation-bar", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "sections": { "alias": "sections"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "autoVariants": { "alias": "autoVariants"; "required": false; "isSignal": true; }; "selectedId": { "alias": "selectedId"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "labelVisibility": { "alias": "labelVisibility"; "required": false; "isSignal": true; }; "itemLayout": { "alias": "itemLayout"; "required": false; "isSignal": true; }; "childIcons": { "alias": "childIcons"; "required": false; "isSignal": true; }; "dense": { "alias": "dense"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "headline": { "alias": "headline"; "required": false; "isSignal": true; }; "showMenuButton": { "alias": "showMenuButton"; "required": false; "isSignal": true; }; "menuIcon": { "alias": "menuIcon"; "required": false; "isSignal": true; }; "expandIcon": { "alias": "expandIcon"; "required": false; "isSignal": true; }; "overflowMode": { "alias": "overflowMode"; "required": false; "isSignal": true; }; "overflowIcon": { "alias": "overflowIcon"; "required": false; "isSignal": true; }; "overflowLabel": { "alias": "overflowLabel"; "required": false; "isSignal": true; }; "maxVisibleItems": { "alias": "maxVisibleItems"; "required": false; "isSignal": true; }; "menuAriaLabel": { "alias": "menuAriaLabel"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "scrim": { "alias": "scrim"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "elevated": { "alias": "elevated"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "tooltips": { "alias": "tooltips"; "required": false; "isSignal": true; }; "routerSync": { "alias": "routerSync"; "required": false; "isSignal": true; }; "relativeTo": { "alias": "relativeTo"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "railWidth": { "alias": "railWidth"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; }, { "selectedId": "selectedIdChange"; "expandedIds": "expandedIdsChange"; "open": "openChange"; "itemSelected": "itemSelected"; "menuClick": "menuClick"; }, never, ["[navHeader]", "[navFab]", "[navFooter]"], true, never>;
|
|
722
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NavigationBarComponent, "navigation-bar", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "sections": { "alias": "sections"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "autoVariants": { "alias": "autoVariants"; "required": false; "isSignal": true; }; "selectedId": { "alias": "selectedId"; "required": false; "isSignal": true; }; "expandedIds": { "alias": "expandedIds"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "labelVisibility": { "alias": "labelVisibility"; "required": false; "isSignal": true; }; "itemLayout": { "alias": "itemLayout"; "required": false; "isSignal": true; }; "childIcons": { "alias": "childIcons"; "required": false; "isSignal": true; }; "dense": { "alias": "dense"; "required": false; "isSignal": true; }; "alignment": { "alias": "alignment"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "headline": { "alias": "headline"; "required": false; "isSignal": true; }; "showMenuButton": { "alias": "showMenuButton"; "required": false; "isSignal": true; }; "menuIcon": { "alias": "menuIcon"; "required": false; "isSignal": true; }; "expandIcon": { "alias": "expandIcon"; "required": false; "isSignal": true; }; "overflowMode": { "alias": "overflowMode"; "required": false; "isSignal": true; }; "overflowIcon": { "alias": "overflowIcon"; "required": false; "isSignal": true; }; "overflowLabel": { "alias": "overflowLabel"; "required": false; "isSignal": true; }; "maxVisibleItems": { "alias": "maxVisibleItems"; "required": false; "isSignal": true; }; "menuAriaLabel": { "alias": "menuAriaLabel"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "scrim": { "alias": "scrim"; "required": false; "isSignal": true; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; "isSignal": true; }; "elevated": { "alias": "elevated"; "required": false; "isSignal": true; }; "bordered": { "alias": "bordered"; "required": false; "isSignal": true; }; "tooltips": { "alias": "tooltips"; "required": false; "isSignal": true; }; "routerSync": { "alias": "routerSync"; "required": false; "isSignal": true; }; "relativeTo": { "alias": "relativeTo"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "railWidth": { "alias": "railWidth"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "hidden": { "alias": "hidden"; "required": false; "isSignal": true; }; }, { "selectedId": "selectedIdChange"; "expandedIds": "expandedIdsChange"; "open": "openChange"; "itemSelected": "itemSelected"; "menuClick": "menuClick"; }, never, ["[navHeader]", "[navFab]", "[navFooter]"], true, never>;
|
|
696
723
|
}
|
|
697
724
|
|
|
698
725
|
export { DEFAULT_NAVIGATION_AUTO_VARIANTS, EXPANDED_NAVIGATION_VARIANTS, NAVIGATION_OVERFLOW_ID, NavigationBarComponent };
|