@frame-kit/ui-ng-patterns 0.2.20 → 0.2.22
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": "@frame-kit/ui-ng-patterns",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.22",
|
|
4
4
|
"description": "Opinionated, dashboard-ready Angular component patterns composed from @frame-kit/ui-ng.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@angular/forms": "^21.2.0",
|
|
18
18
|
"@angular/platform-browser": "^21.2.0",
|
|
19
19
|
"@angular/router": "^21.2.0",
|
|
20
|
-
"@frame-kit/ui-ng": "0.2.
|
|
20
|
+
"@frame-kit/ui-ng": "0.2.22",
|
|
21
21
|
"rxjs": "^7.0.0"
|
|
22
22
|
},
|
|
23
23
|
"sideEffects": false,
|
|
@@ -248,6 +248,13 @@ interface SidebarNavLink {
|
|
|
248
248
|
* plain button — e.g. a parent whose only job is to disclose its children).
|
|
249
249
|
*/
|
|
250
250
|
routerLink?: string | string[];
|
|
251
|
+
/**
|
|
252
|
+
* A destination outside the app, as a full URL. The row renders as a plain
|
|
253
|
+
* anchor that opens in a new tab (`target="_blank"`, `rel="noopener
|
|
254
|
+
* noreferrer"`), carries an "opens elsewhere" mark after its label, and is
|
|
255
|
+
* never the active row. Takes precedence over `routerLink`.
|
|
256
|
+
*/
|
|
257
|
+
href?: string;
|
|
251
258
|
/**
|
|
252
259
|
* Require an exact URL match for the active state. Defaults to `false`
|
|
253
260
|
* (prefix match), which is the right behavior for most nested routes.
|
|
@@ -322,6 +329,11 @@ declare class SidebarNavComponent {
|
|
|
322
329
|
* without a shell present.
|
|
323
330
|
*/
|
|
324
331
|
readonly collapsed: _angular_core.InputSignal<boolean | null>;
|
|
332
|
+
/**
|
|
333
|
+
* Read after the label of an `href` row by assistive technology, so the
|
|
334
|
+
* reader knows the row leaves the app. Supply the app's translated text.
|
|
335
|
+
*/
|
|
336
|
+
readonly externalLinkLabel: _angular_core.InputSignal<string>;
|
|
325
337
|
readonly className: _angular_core.InputSignal<string>;
|
|
326
338
|
private readonly shell;
|
|
327
339
|
private readonly router;
|
|
@@ -391,7 +403,7 @@ declare class SidebarNavComponent {
|
|
|
391
403
|
*/
|
|
392
404
|
private positionFlyoutCaret;
|
|
393
405
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarNavComponent, never>;
|
|
394
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidebarNavComponent, "fk-sidebar-nav", never, { "model": { "alias": "model"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, ["itemTpl"], never, true, never>;
|
|
406
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidebarNavComponent, "fk-sidebar-nav", never, { "model": { "alias": "model"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "externalLinkLabel": { "alias": "externalLinkLabel"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; }, {}, ["itemTpl"], never, true, never>;
|
|
395
407
|
}
|
|
396
408
|
|
|
397
409
|
/**
|