@gravionlabs/helix-shell 22.1.28 → 22.1.29
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 +12 -7
- package/fesm2022/gravionlabs-helix-shell.mjs.map +1 -1
- package/package.json +1 -2
- package/styles.css +33 -159
- package/types/gravionlabs-helix-shell.d.ts +10 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravionlabs/helix-shell",
|
|
3
|
-
"version": "22.1.
|
|
3
|
+
"version": "22.1.29",
|
|
4
4
|
"description": "Helix application shell for Angular — layout (topbar, nav rail, footer), auth pages, landing widgets, and a signal-store-backed layout state.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
"@angular/core": ">=22",
|
|
24
24
|
"@angular/router": ">=22",
|
|
25
25
|
"@ngrx/signals": ">=21",
|
|
26
|
-
"@gravionlabs/helix-core": ">=22",
|
|
27
26
|
"@gravionlabs/helix-ui": ">=0.1.0",
|
|
28
27
|
"primeicons": ">=7"
|
|
29
28
|
},
|
package/styles.css
CHANGED
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
--color-orange-700: oklch(55.3% 0.195 38.402);
|
|
17
17
|
--color-yellow-100: oklch(97.3% 0.071 103.193);
|
|
18
18
|
--color-yellow-200: oklch(94.5% 0.129 101.54);
|
|
19
|
-
--color-yellow-500: oklch(79.5% 0.184 86.047);
|
|
20
19
|
--color-yellow-700: oklch(55.4% 0.135 66.442);
|
|
21
20
|
--color-green-100: oklch(96.2% 0.044 156.743);
|
|
22
21
|
--color-green-400: oklch(79.2% 0.209 151.711);
|
|
@@ -54,11 +53,8 @@
|
|
|
54
53
|
--color-gray-600: oklch(44.6% 0.03 256.802);
|
|
55
54
|
--color-gray-700: oklch(37.3% 0.034 259.733);
|
|
56
55
|
--color-gray-900: oklch(21% 0.034 264.665);
|
|
57
|
-
--color-black: #000;
|
|
58
56
|
--color-white: #fff;
|
|
59
57
|
--spacing: 0.25rem;
|
|
60
|
-
--text-xs: 0.75rem;
|
|
61
|
-
--text-xs--line-height: calc(1 / 0.75);
|
|
62
58
|
--text-sm: 0.875rem;
|
|
63
59
|
--text-sm--line-height: calc(1.25 / 0.875);
|
|
64
60
|
--text-base: 1rem;
|
|
@@ -343,15 +339,6 @@
|
|
|
343
339
|
.m-0 {
|
|
344
340
|
margin: 0px;
|
|
345
341
|
}
|
|
346
|
-
.m-1 {
|
|
347
|
-
margin: var(--spacing);
|
|
348
|
-
}
|
|
349
|
-
.m-2 {
|
|
350
|
-
margin: calc(var(--spacing) * 2);
|
|
351
|
-
}
|
|
352
|
-
.m-3 {
|
|
353
|
-
margin: calc(var(--spacing) * 3);
|
|
354
|
-
}
|
|
355
342
|
.m-auto {
|
|
356
343
|
margin: auto;
|
|
357
344
|
}
|
|
@@ -385,18 +372,15 @@
|
|
|
385
372
|
.mt-1 {
|
|
386
373
|
margin-top: var(--spacing);
|
|
387
374
|
}
|
|
388
|
-
.mt-1\! {
|
|
389
|
-
margin-top: var(--spacing) !important;
|
|
390
|
-
}
|
|
391
375
|
.mt-2 {
|
|
392
376
|
margin-top: calc(var(--spacing) * 2);
|
|
393
377
|
}
|
|
394
|
-
.mt-2\! {
|
|
395
|
-
margin-top: calc(var(--spacing) * 2) !important;
|
|
396
|
-
}
|
|
397
378
|
.mt-3 {
|
|
398
379
|
margin-top: calc(var(--spacing) * 3);
|
|
399
380
|
}
|
|
381
|
+
.mt-3\! {
|
|
382
|
+
margin-top: calc(var(--spacing) * 3) !important;
|
|
383
|
+
}
|
|
400
384
|
.mt-4 {
|
|
401
385
|
margin-top: calc(var(--spacing) * 4);
|
|
402
386
|
}
|
|
@@ -418,9 +402,6 @@
|
|
|
418
402
|
.mr-4 {
|
|
419
403
|
margin-right: calc(var(--spacing) * 4);
|
|
420
404
|
}
|
|
421
|
-
.mr-6 {
|
|
422
|
-
margin-right: calc(var(--spacing) * 6);
|
|
423
|
-
}
|
|
424
405
|
.mr-20 {
|
|
425
406
|
margin-right: calc(var(--spacing) * 20);
|
|
426
407
|
}
|
|
@@ -466,9 +447,6 @@
|
|
|
466
447
|
.ml-6 {
|
|
467
448
|
margin-left: calc(var(--spacing) * 6);
|
|
468
449
|
}
|
|
469
|
-
.ml-auto {
|
|
470
|
-
margin-left: auto;
|
|
471
|
-
}
|
|
472
450
|
.block {
|
|
473
451
|
display: block;
|
|
474
452
|
}
|
|
@@ -520,21 +498,12 @@
|
|
|
520
498
|
.h-14 {
|
|
521
499
|
height: calc(var(--spacing) * 14);
|
|
522
500
|
}
|
|
523
|
-
.h-100 {
|
|
524
|
-
height: calc(var(--spacing) * 100);
|
|
525
|
-
}
|
|
526
|
-
.h-auto {
|
|
527
|
-
height: auto;
|
|
528
|
-
}
|
|
529
501
|
.h-full {
|
|
530
502
|
height: 100%;
|
|
531
503
|
}
|
|
532
504
|
.min-h-screen {
|
|
533
505
|
min-height: 100vh;
|
|
534
506
|
}
|
|
535
|
-
.w-1\/2 {
|
|
536
|
-
width: calc(1 / 2 * 100%);
|
|
537
|
-
}
|
|
538
507
|
.w-5 {
|
|
539
508
|
width: calc(var(--spacing) * 5);
|
|
540
509
|
}
|
|
@@ -547,9 +516,6 @@
|
|
|
547
516
|
.w-10\/12 {
|
|
548
517
|
width: calc(10 / 12 * 100%);
|
|
549
518
|
}
|
|
550
|
-
.w-11 {
|
|
551
|
-
width: calc(var(--spacing) * 11);
|
|
552
|
-
}
|
|
553
519
|
.w-11\/12 {
|
|
554
520
|
width: calc(11 / 12 * 100%);
|
|
555
521
|
}
|
|
@@ -565,27 +531,18 @@
|
|
|
565
531
|
.w-40 {
|
|
566
532
|
width: calc(var(--spacing) * 40);
|
|
567
533
|
}
|
|
568
|
-
.w-44 {
|
|
569
|
-
width: calc(var(--spacing) * 44);
|
|
570
|
-
}
|
|
571
534
|
.w-72 {
|
|
572
535
|
width: calc(var(--spacing) * 72);
|
|
573
536
|
}
|
|
574
537
|
.w-full {
|
|
575
538
|
width: 100%;
|
|
576
539
|
}
|
|
577
|
-
.max-w-\[17\.35rem\] {
|
|
578
|
-
max-width: 17.35rem;
|
|
579
|
-
}
|
|
580
540
|
.min-w-screen {
|
|
581
541
|
min-width: 100vw;
|
|
582
542
|
}
|
|
583
543
|
.flex-1 {
|
|
584
544
|
flex: 1;
|
|
585
545
|
}
|
|
586
|
-
.flex-auto {
|
|
587
|
-
flex: auto;
|
|
588
|
-
}
|
|
589
546
|
.flex-shrink {
|
|
590
547
|
flex-shrink: 1;
|
|
591
548
|
}
|
|
@@ -637,12 +594,6 @@
|
|
|
637
594
|
.flex-col {
|
|
638
595
|
flex-direction: column;
|
|
639
596
|
}
|
|
640
|
-
.flex-row {
|
|
641
|
-
flex-direction: row;
|
|
642
|
-
}
|
|
643
|
-
.flex-row-reverse {
|
|
644
|
-
flex-direction: row-reverse;
|
|
645
|
-
}
|
|
646
597
|
.flex-wrap {
|
|
647
598
|
flex-wrap: wrap;
|
|
648
599
|
}
|
|
@@ -685,9 +636,6 @@
|
|
|
685
636
|
.gap-8 {
|
|
686
637
|
gap: calc(var(--spacing) * 8);
|
|
687
638
|
}
|
|
688
|
-
.gap-20 {
|
|
689
|
-
gap: calc(var(--spacing) * 20);
|
|
690
|
-
}
|
|
691
639
|
.gap-layout {
|
|
692
640
|
gap: var(--spacing-layout);
|
|
693
641
|
}
|
|
@@ -750,12 +698,6 @@
|
|
|
750
698
|
.border-surface-700 {
|
|
751
699
|
border-color: var(--h-surface-700);
|
|
752
700
|
}
|
|
753
|
-
.bg-black\/70 {
|
|
754
|
-
background-color: color-mix(in srgb, #000 70%, transparent);
|
|
755
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
756
|
-
background-color: color-mix(in oklab, var(--color-black) 70%, transparent);
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
701
|
.bg-blue-50 {
|
|
760
702
|
background-color: var(--color-blue-50);
|
|
761
703
|
}
|
|
@@ -828,9 +770,6 @@
|
|
|
828
770
|
.bg-surface-50 {
|
|
829
771
|
background-color: var(--h-surface-50);
|
|
830
772
|
}
|
|
831
|
-
.bg-surface-100 {
|
|
832
|
-
background-color: var(--h-surface-100);
|
|
833
|
-
}
|
|
834
773
|
.bg-surface-300 {
|
|
835
774
|
background-color: var(--h-surface-300);
|
|
836
775
|
}
|
|
@@ -849,9 +788,6 @@
|
|
|
849
788
|
.p-0 {
|
|
850
789
|
padding: 0px;
|
|
851
790
|
}
|
|
852
|
-
.p-1 {
|
|
853
|
-
padding: var(--spacing);
|
|
854
|
-
}
|
|
855
791
|
.p-2 {
|
|
856
792
|
padding: calc(var(--spacing) * 2);
|
|
857
793
|
}
|
|
@@ -867,9 +803,6 @@
|
|
|
867
803
|
.px-2 {
|
|
868
804
|
padding-inline: calc(var(--spacing) * 2);
|
|
869
805
|
}
|
|
870
|
-
.px-3 {
|
|
871
|
-
padding-inline: calc(var(--spacing) * 3);
|
|
872
|
-
}
|
|
873
806
|
.px-4 {
|
|
874
807
|
padding-inline: calc(var(--spacing) * 4);
|
|
875
808
|
}
|
|
@@ -912,21 +845,9 @@
|
|
|
912
845
|
.pt-2 {
|
|
913
846
|
padding-top: calc(var(--spacing) * 2);
|
|
914
847
|
}
|
|
915
|
-
.pt-3 {
|
|
916
|
-
padding-top: calc(var(--spacing) * 3);
|
|
917
|
-
}
|
|
918
848
|
.pt-6 {
|
|
919
849
|
padding-top: calc(var(--spacing) * 6);
|
|
920
850
|
}
|
|
921
|
-
.pt-12 {
|
|
922
|
-
padding-top: calc(var(--spacing) * 12);
|
|
923
|
-
}
|
|
924
|
-
.pr-12 {
|
|
925
|
-
padding-right: calc(var(--spacing) * 12);
|
|
926
|
-
}
|
|
927
|
-
.pb-0 {
|
|
928
|
-
padding-bottom: 0px;
|
|
929
|
-
}
|
|
930
851
|
.pb-2 {
|
|
931
852
|
padding-bottom: calc(var(--spacing) * 2);
|
|
932
853
|
}
|
|
@@ -997,10 +918,6 @@
|
|
|
997
918
|
font-size: var(--text-xl) !important;
|
|
998
919
|
line-height: var(--tw-leading, var(--text-xl--line-height)) !important;
|
|
999
920
|
}
|
|
1000
|
-
.text-xs {
|
|
1001
|
-
font-size: var(--text-xs);
|
|
1002
|
-
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
1003
|
-
}
|
|
1004
921
|
.leading-none {
|
|
1005
922
|
--tw-leading: 1;
|
|
1006
923
|
line-height: 1;
|
|
@@ -1033,9 +950,6 @@
|
|
|
1033
950
|
--tw-font-weight: var(--font-weight-semibold);
|
|
1034
951
|
font-weight: var(--font-weight-semibold);
|
|
1035
952
|
}
|
|
1036
|
-
.whitespace-nowrap {
|
|
1037
|
-
white-space: nowrap;
|
|
1038
|
-
}
|
|
1039
953
|
.bg-highlight {
|
|
1040
954
|
background: var(--h-highlight-background);
|
|
1041
955
|
color: var(--h-highlight-color);
|
|
@@ -1109,9 +1023,6 @@
|
|
|
1109
1023
|
.text-slate-700 {
|
|
1110
1024
|
color: var(--color-slate-700);
|
|
1111
1025
|
}
|
|
1112
|
-
.text-surface-500 {
|
|
1113
|
-
color: var(--h-surface-500);
|
|
1114
|
-
}
|
|
1115
1026
|
.text-surface-600 {
|
|
1116
1027
|
color: var(--h-surface-600);
|
|
1117
1028
|
}
|
|
@@ -1130,9 +1041,6 @@
|
|
|
1130
1041
|
.text-white {
|
|
1131
1042
|
color: var(--color-white);
|
|
1132
1043
|
}
|
|
1133
|
-
.text-yellow-500 {
|
|
1134
|
-
color: var(--color-yellow-500);
|
|
1135
|
-
}
|
|
1136
1044
|
.text-yellow-700 {
|
|
1137
1045
|
color: var(--color-yellow-700);
|
|
1138
1046
|
}
|
|
@@ -1244,12 +1152,6 @@
|
|
|
1244
1152
|
.sm\:col-span-6 {
|
|
1245
1153
|
grid-column: span 6 / span 6;
|
|
1246
1154
|
}
|
|
1247
|
-
.sm\:flex-row {
|
|
1248
|
-
flex-direction: row;
|
|
1249
|
-
}
|
|
1250
|
-
.sm\:items-center {
|
|
1251
|
-
align-items: center;
|
|
1252
|
-
}
|
|
1253
1155
|
.sm\:px-20 {
|
|
1254
1156
|
padding-inline: calc(var(--spacing) * 20);
|
|
1255
1157
|
}
|
|
@@ -1315,30 +1217,18 @@
|
|
|
1315
1217
|
.md\:w-5\/12 {
|
|
1316
1218
|
width: calc(5 / 12 * 100%);
|
|
1317
1219
|
}
|
|
1318
|
-
.md\:w-40 {
|
|
1319
|
-
width: calc(var(--spacing) * 40);
|
|
1320
|
-
}
|
|
1321
1220
|
.md\:w-120 {
|
|
1322
1221
|
width: calc(var(--spacing) * 120);
|
|
1323
1222
|
}
|
|
1324
1223
|
.md\:w-auto {
|
|
1325
1224
|
width: auto;
|
|
1326
1225
|
}
|
|
1327
|
-
.md\:flex-initial {
|
|
1328
|
-
flex: 0 auto;
|
|
1329
|
-
}
|
|
1330
|
-
.md\:flex-col {
|
|
1331
|
-
flex-direction: column;
|
|
1332
|
-
}
|
|
1333
1226
|
.md\:flex-row {
|
|
1334
1227
|
flex-direction: row;
|
|
1335
1228
|
}
|
|
1336
1229
|
.md\:items-center {
|
|
1337
1230
|
align-items: center;
|
|
1338
1231
|
}
|
|
1339
|
-
.md\:items-end {
|
|
1340
|
-
align-items: flex-end;
|
|
1341
|
-
}
|
|
1342
1232
|
.md\:justify-between {
|
|
1343
1233
|
justify-content: space-between;
|
|
1344
1234
|
}
|
|
@@ -1395,12 +1285,6 @@
|
|
|
1395
1285
|
.lg\:hidden\! {
|
|
1396
1286
|
display: none !important;
|
|
1397
1287
|
}
|
|
1398
|
-
.lg\:w-1\/3 {
|
|
1399
|
-
width: calc(1 / 3 * 100%);
|
|
1400
|
-
}
|
|
1401
|
-
.lg\:w-2\/3 {
|
|
1402
|
-
width: calc(2 / 3 * 100%);
|
|
1403
|
-
}
|
|
1404
1288
|
.lg\:w-24 {
|
|
1405
1289
|
width: calc(var(--spacing) * 24);
|
|
1406
1290
|
}
|
|
@@ -1460,9 +1344,6 @@
|
|
|
1460
1344
|
.xl\:col-span-6 {
|
|
1461
1345
|
grid-column: span 6 / span 6;
|
|
1462
1346
|
}
|
|
1463
|
-
.xl\:block {
|
|
1464
|
-
display: block;
|
|
1465
|
-
}
|
|
1466
1347
|
.xl\:grid-cols-2 {
|
|
1467
1348
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1468
1349
|
}
|
|
@@ -1473,9 +1354,6 @@
|
|
|
1473
1354
|
.dark\:border-surface-600:where([class*="app-dark"], [class*="app-dark"] *) {
|
|
1474
1355
|
border-color: var(--h-surface-600);
|
|
1475
1356
|
}
|
|
1476
|
-
.dark\:border-surface-700:where([class*="app-dark"], [class*="app-dark"] *) {
|
|
1477
|
-
border-color: var(--h-surface-700);
|
|
1478
|
-
}
|
|
1479
1357
|
.dark\:bg-blue-400\/10:where([class*="app-dark"], [class*="app-dark"] *) {
|
|
1480
1358
|
background-color: color-mix(in srgb, oklch(70.7% 0.165 254.624) 10%, transparent);
|
|
1481
1359
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1518,9 +1396,6 @@
|
|
|
1518
1396
|
.dark\:bg-surface-900:where([class*="app-dark"], [class*="app-dark"] *) {
|
|
1519
1397
|
background-color: var(--h-surface-900);
|
|
1520
1398
|
}
|
|
1521
|
-
.dark\:bg-surface-900\!:where([class*="app-dark"], [class*="app-dark"] *) {
|
|
1522
|
-
background-color: var(--h-surface-900) !important;
|
|
1523
|
-
}
|
|
1524
1399
|
.dark\:bg-surface-950:where([class*="app-dark"], [class*="app-dark"] *) {
|
|
1525
1400
|
background-color: var(--h-surface-950);
|
|
1526
1401
|
}
|
|
@@ -1539,9 +1414,6 @@
|
|
|
1539
1414
|
.dark\:text-surface-200:where([class*="app-dark"], [class*="app-dark"] *) {
|
|
1540
1415
|
color: var(--h-surface-200);
|
|
1541
1416
|
}
|
|
1542
|
-
.dark\:text-surface-400:where([class*="app-dark"], [class*="app-dark"] *) {
|
|
1543
|
-
color: var(--h-surface-400);
|
|
1544
|
-
}
|
|
1545
1417
|
}
|
|
1546
1418
|
@layer keyframes {
|
|
1547
1419
|
@keyframes enter {
|
|
@@ -1860,34 +1732,36 @@ a {
|
|
|
1860
1732
|
.h-toast.h-toast-top-right, .h-toast.h-toast-top-left, .h-toast.h-toast-top-center {
|
|
1861
1733
|
top: 100px;
|
|
1862
1734
|
}
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1735
|
+
@layer base {
|
|
1736
|
+
h1, h2, h3, h4, h5, h6 {
|
|
1737
|
+
margin: 1.5rem 0 1rem 0;
|
|
1738
|
+
font-family: var(--helix-font-display);
|
|
1739
|
+
font-weight: 700;
|
|
1740
|
+
line-height: 1.3;
|
|
1741
|
+
letter-spacing: -0.02em;
|
|
1742
|
+
color: var(--text-color);
|
|
1743
|
+
}
|
|
1744
|
+
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {
|
|
1745
|
+
margin-top: 0;
|
|
1746
|
+
}
|
|
1747
|
+
h1 {
|
|
1748
|
+
font-size: 2.5rem;
|
|
1749
|
+
}
|
|
1750
|
+
h2 {
|
|
1751
|
+
font-size: 2rem;
|
|
1752
|
+
}
|
|
1753
|
+
h3 {
|
|
1754
|
+
font-size: 1.75rem;
|
|
1755
|
+
}
|
|
1756
|
+
h4 {
|
|
1757
|
+
font-size: 1.5rem;
|
|
1758
|
+
}
|
|
1759
|
+
h5 {
|
|
1760
|
+
font-size: 1.25rem;
|
|
1761
|
+
}
|
|
1762
|
+
h6 {
|
|
1763
|
+
font-size: 1rem;
|
|
1764
|
+
}
|
|
1891
1765
|
}
|
|
1892
1766
|
mark {
|
|
1893
1767
|
background: #fff8e1;
|
|
@@ -2,8 +2,7 @@ import { AbstractControl, ControlValueAccessor } from "@angular/forms";
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { AfterViewInit, ElementRef, InjectionToken, OnDestroy, OnInit, Type } from "@angular/core";
|
|
4
4
|
import { ActivatedRoute, ActivatedRouteSnapshot, CanActivateFn, Route, Router, Routes } from "@angular/router";
|
|
5
|
-
import {
|
|
6
|
-
import { HxPrimaryColor, HxSurface } from "@gravionlabs/helix-ui";
|
|
5
|
+
import { HxMenuItem, HxPrimaryColor, HxSurface } from "@gravionlabs/helix-ui";
|
|
7
6
|
export declare class HelixFormField {
|
|
8
7
|
readonly label: import("@angular/core").InputSignal<string | undefined>;
|
|
9
8
|
readonly control: import("@angular/core").InputSignal<AbstractControl<any, any, any> | null>;
|
|
@@ -99,7 +98,7 @@ interface HelixBreadcrumb {
|
|
|
99
98
|
route?: string;
|
|
100
99
|
}
|
|
101
100
|
export declare const HELIX_BREADCRUMB: InjectionToken<HelixBreadcrumb[]>;
|
|
102
|
-
export declare function helixBreadcrumbsFromRoutes(route: ActivatedRoute):
|
|
101
|
+
export declare function helixBreadcrumbsFromRoutes(route: ActivatedRoute): HxMenuItem[];
|
|
103
102
|
type BadgeSeverity = 'info' | 'warn' | 'error' | 'success';
|
|
104
103
|
export declare class HelixBadge {
|
|
105
104
|
severity: import("@angular/core").InputSignal<BadgeSeverity>;
|
|
@@ -148,10 +147,10 @@ export declare class HelixEnvironmentBadge {
|
|
|
148
147
|
}, {}, never, never, true, never>;
|
|
149
148
|
}
|
|
150
149
|
/**
|
|
151
|
-
* Extends Helix's
|
|
150
|
+
* Extends Helix's HxMenuItem with Angular routing properties.
|
|
152
151
|
* Allows a single array to define both the sidebar menu and the router configuration.
|
|
153
152
|
*/
|
|
154
|
-
interface HelixRouteMenuItem extends
|
|
153
|
+
interface HelixRouteMenuItem extends HxMenuItem {
|
|
155
154
|
/** Angular route path segment (relative to the parent route). */
|
|
156
155
|
path?: string;
|
|
157
156
|
/** Breadcrumb label or resolver for auto-generated breadcrumbs. */
|
|
@@ -164,7 +163,7 @@ interface HelixRouteMenuItem extends MenuItem {
|
|
|
164
163
|
canActivate?: CanActivateFn[];
|
|
165
164
|
/** Additional route data (merged with the auto-injected menu data). */
|
|
166
165
|
data?: Record<string, unknown>;
|
|
167
|
-
/** Typed override of
|
|
166
|
+
/** Typed override of HxMenuItem.items — supports nested HelixRouteMenuItem entries. */
|
|
168
167
|
items?: HelixRouteMenuItem[];
|
|
169
168
|
}
|
|
170
169
|
/**
|
|
@@ -320,8 +319,8 @@ export declare class HelixAppLayout {
|
|
|
320
319
|
toggleSidebar: () => void;
|
|
321
320
|
setMenuHoverActive: (menuHoverActive: boolean) => void;
|
|
322
321
|
updateConfig: (config: Partial<import("@gravionlabs/helix-shell").LayoutConfig>) => void;
|
|
323
|
-
setPrimary: (primary: import("
|
|
324
|
-
setSurface: (surface: import("
|
|
322
|
+
setPrimary: (primary: import("@gravionlabs/helix-ui").HxPrimaryColor | null) => void;
|
|
323
|
+
setSurface: (surface: import("@gravionlabs/helix-ui").HxSurface | null) => void;
|
|
325
324
|
isDesktop: () => boolean;
|
|
326
325
|
setDesktop: (desktop: boolean) => void;
|
|
327
326
|
reset: () => void;
|
|
@@ -339,7 +338,7 @@ export declare class HelixAppLayout {
|
|
|
339
338
|
}>;
|
|
340
339
|
private activatedRoute;
|
|
341
340
|
/** Resolved menu: input takes priority, then route data, then empty. */
|
|
342
|
-
protected effectiveMenu: import("@angular/core").Signal<
|
|
341
|
+
protected effectiveMenu: import("@angular/core").Signal<HxMenuItem[]>;
|
|
343
342
|
protected effectiveNavGroups: import("@angular/core").Signal<HelixNavGroup[]>;
|
|
344
343
|
protected effectiveEnvironment: import("@angular/core").Signal<Environment | undefined>;
|
|
345
344
|
protected effectiveItems: import("@angular/core").Signal<HelixTopbarItem[]>;
|
|
@@ -913,7 +912,7 @@ export declare class HelixMobileMenuAction {
|
|
|
913
912
|
export declare class HelixTopbar implements OnInit, OnDestroy {
|
|
914
913
|
appTitle: import("@angular/core").InputSignal<string>;
|
|
915
914
|
topbarActions: import("@angular/core").InputSignal<HelixTopbarAction[]>;
|
|
916
|
-
breadcrumbs: import("@angular/core").InputSignal<
|
|
915
|
+
breadcrumbs: import("@angular/core").InputSignal<HxMenuItem[] | undefined>;
|
|
917
916
|
/** Accessible name of the button that opens the actions menu on small screens. */
|
|
918
917
|
menuLabel: import("@angular/core").InputSignal<string>;
|
|
919
918
|
items: import("@angular/core").InputSignal<HelixTopbarItem[]>;
|
|
@@ -970,7 +969,7 @@ export declare class HelixTopbar implements OnInit, OnDestroy {
|
|
|
970
969
|
private routeChange;
|
|
971
970
|
ngOnInit(): void;
|
|
972
971
|
ngOnDestroy(): void;
|
|
973
|
-
protected effectiveBreadcrumbs: import("@angular/core").Signal<
|
|
972
|
+
protected effectiveBreadcrumbs: import("@angular/core").Signal<HxMenuItem[]>;
|
|
974
973
|
protected showBreadcrumbs: import("@angular/core").Signal<boolean>;
|
|
975
974
|
static ɵfac: i0.ɵɵFactoryDeclaration<HelixTopbar, never>;
|
|
976
975
|
static ɵcmp: i0.ɵɵComponentDeclaration<HelixTopbar, "helix-topbar", never, {
|