@servicetitan/navigation 14.2.0 → 14.3.0

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.
Files changed (89) hide show
  1. package/dist/components/titan-layout/__tests__/layout-sidebar-links-internal.test.d.ts +2 -0
  2. package/dist/components/titan-layout/__tests__/layout-sidebar-links-internal.test.d.ts.map +1 -0
  3. package/dist/components/titan-layout/__tests__/navigation-catalog-reset.test.d.ts +2 -0
  4. package/dist/components/titan-layout/__tests__/navigation-catalog-reset.test.d.ts.map +1 -0
  5. package/dist/components/titan-layout/interface.d.ts +66 -0
  6. package/dist/components/titan-layout/interface.d.ts.map +1 -1
  7. package/dist/components/titan-layout/interface.js.map +1 -1
  8. package/dist/components/titan-layout/layout-sidebar-links-internal.d.ts +3 -0
  9. package/dist/components/titan-layout/layout-sidebar-links-internal.d.ts.map +1 -1
  10. package/dist/components/titan-layout/layout-sidebar-links-internal.js +58 -13
  11. package/dist/components/titan-layout/layout-sidebar-links-internal.js.map +1 -1
  12. package/dist/components/titan-layout/layout-sidebar.d.ts +14 -0
  13. package/dist/components/titan-layout/layout-sidebar.d.ts.map +1 -1
  14. package/dist/components/titan-layout/layout-sidebar.js +169 -97
  15. package/dist/components/titan-layout/layout-sidebar.js.map +1 -1
  16. package/dist/components/titan-layout/layout-sidebar.module.less +230 -144
  17. package/dist/components/titan-layout/layout-sidebar.module.less.d.ts +16 -5
  18. package/dist/components/titan-layout/navigation-catalog/index.d.ts +3 -0
  19. package/dist/components/titan-layout/navigation-catalog/index.d.ts.map +1 -0
  20. package/dist/components/titan-layout/navigation-catalog/index.js +4 -0
  21. package/dist/components/titan-layout/navigation-catalog/index.js.map +1 -0
  22. package/dist/components/titan-layout/navigation-catalog/navigation-catalog-footer.d.ts +8 -0
  23. package/dist/components/titan-layout/navigation-catalog/navigation-catalog-footer.d.ts.map +1 -0
  24. package/dist/components/titan-layout/navigation-catalog/navigation-catalog-footer.js +88 -0
  25. package/dist/components/titan-layout/navigation-catalog/navigation-catalog-footer.js.map +1 -0
  26. package/dist/components/titan-layout/navigation-catalog/navigation-catalog-trigger.d.ts +21 -0
  27. package/dist/components/titan-layout/navigation-catalog/navigation-catalog-trigger.d.ts.map +1 -0
  28. package/dist/components/titan-layout/navigation-catalog/navigation-catalog-trigger.js +138 -0
  29. package/dist/components/titan-layout/navigation-catalog/navigation-catalog-trigger.js.map +1 -0
  30. package/dist/components/titan-layout/navigation-catalog/navigation-catalog-trigger.module.less +89 -0
  31. package/dist/components/titan-layout/navigation-catalog/navigation-catalog-trigger.module.less.d.ts +9 -0
  32. package/dist/components/titan-layout/navigation-catalog/navigation-catalog.d.ts +14 -0
  33. package/dist/components/titan-layout/navigation-catalog/navigation-catalog.d.ts.map +1 -0
  34. package/dist/components/titan-layout/navigation-catalog/navigation-catalog.js +382 -0
  35. package/dist/components/titan-layout/navigation-catalog/navigation-catalog.js.map +1 -0
  36. package/dist/components/titan-layout/navigation-catalog/navigation-catalog.module.less +436 -0
  37. package/dist/components/titan-layout/navigation-catalog/navigation-catalog.module.less.d.ts +24 -0
  38. package/dist/components/titan-layout/navigation-scroll-indicators.d.ts +12 -0
  39. package/dist/components/titan-layout/navigation-scroll-indicators.d.ts.map +1 -0
  40. package/dist/components/titan-layout/navigation-scroll-indicators.js +48 -0
  41. package/dist/components/titan-layout/navigation-scroll-indicators.js.map +1 -0
  42. package/dist/components/titan-layout/titan-layout.d.ts +29 -1
  43. package/dist/components/titan-layout/titan-layout.d.ts.map +1 -1
  44. package/dist/components/titan-layout/titan-layout.js +46 -6
  45. package/dist/components/titan-layout/titan-layout.js.map +1 -1
  46. package/dist/components/titan-layout/titan-layout.module.less +2 -1
  47. package/dist/components/titan-layout/use-navigation-scroll.d.ts +20 -0
  48. package/dist/components/titan-layout/use-navigation-scroll.d.ts.map +1 -0
  49. package/dist/components/titan-layout/use-navigation-scroll.js +140 -0
  50. package/dist/components/titan-layout/use-navigation-scroll.js.map +1 -0
  51. package/dist/utils/__tests__/navigation-notifications.test.d.ts +2 -0
  52. package/dist/utils/__tests__/navigation-notifications.test.d.ts.map +1 -0
  53. package/dist/utils/__tests__/submenu-state.test.d.ts +2 -0
  54. package/dist/utils/__tests__/submenu-state.test.d.ts.map +1 -0
  55. package/dist/utils/navigation-notifications.d.ts +21 -0
  56. package/dist/utils/navigation-notifications.d.ts.map +1 -0
  57. package/dist/utils/navigation-notifications.js +39 -0
  58. package/dist/utils/navigation-notifications.js.map +1 -0
  59. package/dist/utils/side-nav.js +3 -1
  60. package/dist/utils/side-nav.js.map +1 -1
  61. package/dist/utils/submenu-state.d.ts +3 -0
  62. package/dist/utils/submenu-state.d.ts.map +1 -0
  63. package/dist/utils/submenu-state.js +15 -0
  64. package/dist/utils/submenu-state.js.map +1 -0
  65. package/package.json +2 -2
  66. package/src/components/titan-layout/__tests__/layout-sidebar-links-internal.test.tsx +225 -0
  67. package/src/components/titan-layout/__tests__/navigation-catalog-reset.test.tsx +186 -0
  68. package/src/components/titan-layout/interface.ts +73 -0
  69. package/src/components/titan-layout/layout-sidebar-links-internal.tsx +86 -14
  70. package/src/components/titan-layout/layout-sidebar.module.less +230 -144
  71. package/src/components/titan-layout/layout-sidebar.module.less.d.ts +16 -5
  72. package/src/components/titan-layout/layout-sidebar.tsx +193 -117
  73. package/src/components/titan-layout/navigation-catalog/index.ts +2 -0
  74. package/src/components/titan-layout/navigation-catalog/navigation-catalog-footer.tsx +88 -0
  75. package/src/components/titan-layout/navigation-catalog/navigation-catalog-trigger.module.less +89 -0
  76. package/src/components/titan-layout/navigation-catalog/navigation-catalog-trigger.module.less.d.ts +9 -0
  77. package/src/components/titan-layout/navigation-catalog/navigation-catalog-trigger.tsx +170 -0
  78. package/src/components/titan-layout/navigation-catalog/navigation-catalog.module.less +436 -0
  79. package/src/components/titan-layout/navigation-catalog/navigation-catalog.module.less.d.ts +24 -0
  80. package/src/components/titan-layout/navigation-catalog/navigation-catalog.tsx +458 -0
  81. package/src/components/titan-layout/navigation-scroll-indicators.tsx +80 -0
  82. package/src/components/titan-layout/titan-layout.module.less +2 -1
  83. package/src/components/titan-layout/titan-layout.tsx +81 -5
  84. package/src/components/titan-layout/use-navigation-scroll.ts +145 -0
  85. package/src/utils/__tests__/navigation-notifications.test.ts +70 -0
  86. package/src/utils/__tests__/submenu-state.test.ts +39 -0
  87. package/src/utils/navigation-notifications.ts +59 -0
  88. package/src/utils/side-nav.ts +1 -1
  89. package/src/utils/submenu-state.ts +16 -0
@@ -3,6 +3,9 @@
3
3
 
4
4
  @text-color: var(--colorsTextInverted, @color-white);
5
5
  @text-color-active: var(--foreground-color-primary, @color-blue-300);
6
+
7
+ // Matches the supplied subdued text/icon swatch (#bcbcbd) on the dark rail.
8
+ @text-color-subdued: @color-neutral-70;
6
9
  @border-color: var(--colorsTextOnGrey, @color-neutral-200);
7
10
  @bg-color: #0f1d26;
8
11
  @bg-color-hover: rgba(255, 255, 255, 0.08);
@@ -30,6 +33,7 @@
30
33
  -o-transition: width 200ms ease-in-out;
31
34
  transition: width 200ms ease-in-out;
32
35
 
36
+ .nav-header,
33
37
  .nav-main {
34
38
  padding-left: @spacing-2;
35
39
  padding-right: @spacing-2;
@@ -115,24 +119,27 @@
115
119
  // desktop version collapsed
116
120
  .nav-slim {
117
121
  width: 60px;
122
+ min-width: 60px;
123
+ max-width: 60px;
124
+ flex-shrink: 0;
125
+ box-sizing: border-box;
118
126
 
119
- .toggle {
120
- width: fit-content;
127
+ .nav-items,
128
+ .nav-top-items {
121
129
  display: flex;
122
- justify-content: center;
123
-
124
- .toggle-content {
125
- margin: @spacing-1 @spacing-1;
126
- padding: @spacing-1;
127
- }
130
+ flex-direction: column;
131
+ gap: 12px;
128
132
  }
129
133
 
130
134
  .nav-item {
131
135
  flex-direction: column;
132
136
  width: 60px;
133
- overflow-x: hidden;
134
- padding-top: @spacing-1;
135
- margin-top: @spacing-half;
137
+ min-height: 36px;
138
+ box-sizing: border-box;
139
+ // Notification badges may extend above the 24px icon box into the item gap.
140
+ overflow: visible;
141
+ padding: @spacing-0;
142
+ margin-top: @spacing-0;
136
143
 
137
144
  .nav-item-counter[data-anv][data-anv] {
138
145
  position: absolute;
@@ -146,8 +153,23 @@
146
153
  }
147
154
 
148
155
  .nav-item-icon-wrapper {
149
- flex: 1;
150
- padding: @spacing-half;
156
+ flex: 0 0 24px;
157
+ width: 24px;
158
+ height: 24px;
159
+ box-sizing: border-box;
160
+ justify-content: center;
161
+ padding: 2px;
162
+ }
163
+
164
+ .nav-icon[data-anv][data-anv] {
165
+ width: 20px;
166
+ height: 20px;
167
+ flex-shrink: 0;
168
+
169
+ & > svg {
170
+ width: 20px;
171
+ height: 20px;
172
+ }
151
173
  }
152
174
 
153
175
  .nav-item-text-expanded {
@@ -156,22 +178,19 @@
156
178
  .nav-item-text-collapsed {
157
179
  font-family: @base-font-family;
158
180
  font-size: @typescale-0;
181
+ font-weight: @font-weight-regular;
159
182
  line-height: 10px;
160
- margin: 2px @spacing-half @spacing-0;
183
+ margin: 2px 2px @spacing-0;
184
+ max-width: 56px;
185
+ overflow-wrap: anywhere;
161
186
  text-align: center;
162
187
  }
163
- .nav-item-text-small {
164
- font-size: 9.5px;
165
- }
166
188
  }
167
189
 
168
- .nav-main {
169
- padding-top: @spacing-half;
170
- }
171
- .nav-top {
172
- .divider {
173
- margin-top: 12px;
174
- }
190
+ .nav-top .top-divider[data-anv][data-anv] {
191
+ // Divider spacing={3} already supplies 12px padding on each side of its line.
192
+ margin-block: @spacing-0;
193
+ margin-inline: @spacing-1;
175
194
  }
176
195
  }
177
196
 
@@ -184,28 +203,6 @@
184
203
  margin-right: @spacing-1;
185
204
  }
186
205
 
187
- .toggle {
188
- .toggle-content {
189
- margin: @spacing-1 @spacing-1;
190
- padding: @spacing-1 @spacing-half;
191
-
192
- .toggle-text {
193
- padding-left: @spacing-1 !important;
194
- }
195
- }
196
- }
197
-
198
- .nav-top {
199
- .divider {
200
- margin-top: 10px;
201
- margin-bottom: 6px;
202
- }
203
- }
204
-
205
- .nav-main {
206
- padding-top: 12px;
207
- }
208
-
209
206
  .nav-group-item {
210
207
  .nav-item {
211
208
  .nav-item-icon-wrapper {
@@ -230,15 +227,31 @@
230
227
  margin-top: @spacing-0;
231
228
  font-weight: normal;
232
229
 
233
- // 44px row height to meet WCAG 2.1 (Level AAA) accessibility standard
230
+ // A 28px xsmall toggle plus 4px above and below determines the minimum row height.
234
231
  .nav-item-icon-wrapper {
235
232
  flex: 1;
236
- padding: 10px @spacing-half;
233
+ min-height: 36px;
234
+ box-sizing: border-box;
235
+ padding: @spacing-half;
236
+ }
237
+
238
+ // Expanded navigation icons are 16px; compact icons are 20px inside a 24px box.
239
+ .nav-icon[data-anv][data-anv] {
240
+ height: @spacing-2;
241
+ width: @spacing-2;
242
+ flex-shrink: 0;
243
+
244
+ & > svg {
245
+ height: @spacing-2;
246
+ width: @spacing-2;
247
+ }
237
248
  }
238
249
 
239
250
  .nav-item-text-expanded {
240
251
  font-family: @base-font-family;
241
- font-size: @typescale-3;
252
+ font-size: @typescale-2;
253
+ font-weight: @font-weight-bold;
254
+ line-height: @spacing-2;
242
255
  padding-left: @spacing-1;
243
256
  flex: 1;
244
257
  }
@@ -258,9 +271,31 @@
258
271
  border-top: 1px solid @border-color;
259
272
  }
260
273
 
274
+ .nav-content {
275
+ display: flex;
276
+ flex-direction: column;
277
+ flex: 1;
278
+ min-height: 0;
279
+ }
280
+
281
+ .nav-header {
282
+ flex-shrink: 0;
283
+ padding-top: @spacing-1;
284
+ }
285
+
286
+ .nav-scroll-region {
287
+ position: relative;
288
+ display: flex;
289
+ flex-direction: column;
290
+ flex: 1;
291
+ min-height: 0;
292
+ }
293
+
261
294
  .nav-main {
262
295
  position: relative;
263
296
  overflow-y: auto;
297
+ overflow-x: hidden;
298
+ min-height: 0;
264
299
  padding-bottom: @spacing-1;
265
300
  flex-grow: 1;
266
301
  flex-basis: 0;
@@ -271,12 +306,89 @@
271
306
  }
272
307
  }
273
308
 
309
+ .scroll-indicator {
310
+ position: absolute;
311
+ left: 0;
312
+ right: 0;
313
+ z-index: 1;
314
+ display: flex;
315
+ justify-content: center;
316
+ pointer-events: none;
317
+ padding: @spacing-1 @spacing-half;
318
+ }
319
+
320
+ .scroll-indicator-above {
321
+ top: 0;
322
+ }
323
+
324
+ .scroll-indicator-below {
325
+ bottom: 0;
326
+ }
327
+
328
+ /*
329
+ * Purely decorative, and a separate element from the pill above on purpose: the pill's measured
330
+ * height insets the rail's counted area, so a row it covers counts as hidden. This gradient
331
+ * covers nothing, so it must never contribute to that inset.
332
+ */
333
+ .scroll-shadow {
334
+ position: absolute;
335
+ left: 0;
336
+ right: 0;
337
+ height: 12px;
338
+ pointer-events: none;
339
+ }
340
+
341
+ .scroll-shadow-above {
342
+ top: 0;
343
+ background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.08), transparent 70%);
344
+ }
345
+
346
+ .scroll-shadow-below {
347
+ bottom: 0;
348
+ background: radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.08), transparent 70%);
349
+ }
350
+
351
+ .notification-button[data-anv][data-anv] {
352
+ pointer-events: auto;
353
+ background-color: @color-red-300;
354
+ color: @color-black;
355
+ border-radius: 999px;
356
+ min-height: 24px;
357
+ padding: 1px @spacing-1;
358
+ gap: @spacing-half;
359
+ font-size: @typescale-2;
360
+ line-height: 20px;
361
+ white-space: nowrap;
362
+
363
+ &:hover {
364
+ background-color: @color-red-200;
365
+ }
366
+
367
+ [data-anv='icon'],
368
+ svg {
369
+ height: @spacing-2;
370
+ width: @spacing-2;
371
+ }
372
+ }
373
+
374
+ .nav-slim .notification-button[data-anv][data-anv] {
375
+ padding-inline: @spacing-half;
376
+ gap: 2px;
377
+ font-size: @typescale-0;
378
+ }
379
+
274
380
  .nav-top {
275
381
  display: flex;
276
382
  flex-direction: column;
277
383
  align-items: stretch;
278
384
  }
279
385
 
386
+ .nav-tools {
387
+ display: flex;
388
+ justify-content: flex-end;
389
+ padding: @spacing-1 @spacing-1 @spacing-2;
390
+ }
391
+
280
392
  .nav-bottom {
281
393
  display: flex;
282
394
  flex-direction: column;
@@ -289,53 +401,20 @@
289
401
  background-color: @bg-color;
290
402
 
291
403
  .toggle-wrapper {
292
- display: block;
293
-
294
- .toggle {
295
- font-family: @base-font-family;
296
- color: @text-color;
297
- position: relative;
298
- cursor: pointer;
299
- outline: none;
300
-
301
- &:focus-visible .toggle-content {
302
- outline: -webkit-focus-ring-color auto 1px;
303
- }
304
-
305
- &:hover {
306
- .toggle-content {
307
- background-color: @bg-color-hover;
308
- }
309
- }
310
-
311
- .toggle-content {
312
- display: flex;
313
- justify-content: flex-start;
314
- align-items: center;
315
- flex-wrap: nowrap;
316
- text-wrap: nowrap;
317
-
318
- border-radius: @border-radius-2;
319
- }
404
+ display: flex;
405
+ padding: @spacing-1 @spacing-1 @spacing-1 14px;
406
+ }
320
407
 
321
- .toggle-icon-wrapper {
322
- height: 24px;
323
- width: 24px;
408
+ .toggle[data-anv][data-anv] {
409
+ color: @text-color;
410
+ }
411
+ }
324
412
 
325
- .toggle-icon[data-anv][data-anv] > svg {
326
- height: 24px;
327
- width: 24px;
328
- color: @text-color;
329
- }
330
- }
413
+ // The separator is inset 4px within the same 8px gutter as the navigation rows.
414
+ .nav-top .top-divider[data-anv][data-anv] {
415
+ --a2-divider-border-color: @border-color;
331
416
 
332
- .toggle-text {
333
- font-family: @base-font-family;
334
- font-size: @typescale-3;
335
- flex: 1;
336
- }
337
- }
338
- }
417
+ margin-inline: 12px;
339
418
  }
340
419
 
341
420
  .nav-item {
@@ -426,11 +505,13 @@
426
505
  margin-right: @spacing-0;
427
506
  }
428
507
  }
508
+ }
429
509
 
430
- &:has(.nav-item-active) {
431
- .nav-item-group-toggle-wrapper {
432
- color: @text-color-active;
433
- }
510
+ &.nav-group-opened .nav-group-item .nav-item {
511
+ color: @text-color-subdued;
512
+
513
+ &.nav-item-active .nav-item-icon-wrapper {
514
+ background-color: transparent;
434
515
  }
435
516
  }
436
517
 
@@ -439,7 +520,7 @@
439
520
  top: 0;
440
521
  bottom: 0;
441
522
  right: @spacing-0;
442
- color: @text-color;
523
+ color: @text-color-subdued;
443
524
  display: flex;
444
525
  justify-content: center;
445
526
  align-items: center;
@@ -470,24 +551,21 @@
470
551
  transition: max-height unset;
471
552
  }
472
553
 
554
+ // Indent headings and row backgrounds 28px from the navigation's 8px outer gutter.
473
555
  .submenu {
474
- margin-left: @spacing-3;
475
-
476
- padding-top: @spacing-1;
477
- padding-left: @spacing-1;
556
+ margin-left: @spacing-1;
557
+ // Every child list touches its module row, with or without a section heading.
558
+ padding-top: @spacing-0;
559
+ padding-left: 28px;
478
560
  padding-right: @spacing-1;
479
- margin-bottom: @spacing-1;
561
+ margin-bottom: 12px;
480
562
  position: relative;
481
563
  font-family: @base-font-family;
482
564
 
483
- &:has(> .submenu-group-header:first-child) {
484
- padding-top: @spacing-0;
485
- }
486
-
487
- .submenu-group-header {
488
- padding-top: @spacing-2;
565
+ .submenu-group-header[data-anv][data-anv] {
566
+ padding-top: 12px;
489
567
  padding-bottom: @spacing-half;
490
- padding-left: 10px;
568
+ padding-left: @spacing-0;
491
569
  }
492
570
  .submenu-group-header.submenu-group-header-empty {
493
571
  padding-top: @spacing-1;
@@ -498,21 +576,7 @@
498
576
  }
499
577
 
500
578
  .submenu-link-active {
501
- position: relative;
502
- }
503
-
504
- .submenu-link-active:before {
505
- content: '';
506
- position: absolute;
507
- background-color: @text-color-active;
508
- width: 3px;
509
- top: @spacing-1;
510
- bottom: @spacing-1;
511
- left: -12px;
512
- }
513
-
514
- .submenu-item:before:not(.submenu-link-active) {
515
- background-color: @bg-color-hover;
579
+ background-color: @bg-color-active;
516
580
  }
517
581
 
518
582
  .divider + .divider {
@@ -522,21 +586,33 @@
522
586
  .divider:last-child {
523
587
  display: none;
524
588
  }
589
+ }
525
590
 
526
- .submenu-item-wrapper > *,
527
- .submenu-item-wrapper > *[data-anv][data-anv] {
528
- border-left: 3px solid transparent;
529
- padding-left: @spacing-1;
530
- }
591
+ .submenu-item-wrapper {
592
+ min-width: 0;
531
593
  }
532
594
 
533
- // Hide the Anvil Popover caret on the collapsed nav submenu popover
534
- .submenu-popover-content > :global(span[class*='_arrow_']) {
535
- display: none;
595
+ .submenu-popover-content[data-anv][data-anv] {
596
+ --a2-popover-content-background-color: @bg-color;
597
+
598
+ // Fix the outer width, including Anvil's border and the content's padding.
599
+ box-sizing: border-box;
600
+ width: 240px;
601
+
602
+ // Anvil currently fixes the positioning offset at 8px. Bring either side 4px closer.
603
+ &[data-position='right'] {
604
+ translate: -4px 0;
605
+ }
606
+
607
+ &[data-position='left'] {
608
+ translate: 4px 0;
609
+ }
536
610
  }
537
611
 
538
612
  .submenu-popover {
539
- min-width: 240px;
613
+ box-sizing: border-box;
614
+ width: 100%;
615
+ min-width: 0;
540
616
  max-height: calc(100vh - 16px);
541
617
  overflow: hidden;
542
618
  padding: @spacing-0 @spacing-1;
@@ -554,20 +630,30 @@
554
630
  margin-bottom: @spacing-0;
555
631
  }
556
632
 
557
- .submenu-item:has(+ .submenu-group-header) {
558
- margin-bottom: calc(@spacing-1 + @spacing-half);
633
+ .submenu-group + .submenu-group {
634
+ margin-top: 12px;
559
635
  }
560
636
 
561
- .submenu-group-header {
637
+ .submenu-group-header[data-anv][data-anv] {
562
638
  padding-bottom: @spacing-half;
563
639
  padding-left: @spacing-1;
564
640
  padding-right: @spacing-1;
565
641
  }
566
642
 
567
643
  .submenu-item {
644
+ box-sizing: border-box;
568
645
  min-height: 44px;
569
- padding-left: @spacing-1;
570
- padding-right: @spacing-1;
646
+ padding: 12px @spacing-1;
647
+
648
+ // Long page titles can wrap without widening the fixed 240px popover.
649
+ > span:first-child {
650
+ min-width: 0;
651
+ overflow-wrap: anywhere;
652
+ }
653
+ }
654
+
655
+ .submenu-item-wrapper .submenu-item {
656
+ font-weight: @font-weight-regular;
571
657
  }
572
658
 
573
659
  .submenu-link-active {
@@ -590,17 +676,17 @@
590
676
  display: flex;
591
677
  flex-direction: column;
592
678
 
593
- .submenu-group-header {
679
+ .submenu-group-header[data-anv][data-anv] {
680
+ display: block;
681
+ margin: @spacing-0;
594
682
  color: @color-neutral-70;
595
-
596
- font-size: @typescale-1;
597
- font-weight: @font-weight-semibold;
598
- text-transform: uppercase;
599
683
  }
600
684
 
601
685
  .submenu-item {
602
686
  color: @text-color;
603
687
  font-size: @typescale-2;
688
+ font-weight: @font-weight-semibold;
689
+ line-height: 20px;
604
690
  border-radius: @border-radius-2;
605
691
  display: flex;
606
692
  flex-direction: row;
@@ -4,12 +4,15 @@ export const nav: string;
4
4
  export const navBottom: string;
5
5
  export const navClose: string;
6
6
  export const navCloseWrapper: string;
7
+ export const navContent: string;
7
8
  export const navDrawer: string;
8
9
  export const navDrawerBackdrop: string;
9
10
  export const navDrawerOpened: string;
10
11
  export const navFooter: string;
11
12
  export const navGroupItem: string;
13
+ export const navGroupOpened: string;
12
14
  export const navGroupWrapper: string;
15
+ export const navHeader: string;
13
16
  export const navIcon: string;
14
17
  export const navIconActive: string;
15
18
  export const navIconInactive: string;
@@ -24,14 +27,25 @@ export const navItemIconSwitch: string;
24
27
  export const navItemIconWrapper: string;
25
28
  export const navItemTextCollapsed: string;
26
29
  export const navItemTextExpanded: string;
27
- export const navItemTextSmall: string;
30
+ export const navItems: string;
28
31
  export const navLink: string;
29
32
  export const navMain: string;
33
+ export const navScrollRegion: string;
30
34
  export const navSlim: string;
35
+ export const navTools: string;
31
36
  export const navTop: string;
37
+ export const navTopItems: string;
32
38
  export const navWide: string;
39
+ export const notificationButton: string;
33
40
  export const pointerEventsNone: string;
41
+ export const scrollIndicator: string;
42
+ export const scrollIndicatorAbove: string;
43
+ export const scrollIndicatorBelow: string;
44
+ export const scrollShadow: string;
45
+ export const scrollShadowAbove: string;
46
+ export const scrollShadowBelow: string;
34
47
  export const submenu: string;
48
+ export const submenuGroup: string;
35
49
  export const submenuGroupHeader: string;
36
50
  export const submenuGroupHeaderEmpty: string;
37
51
  export const submenuItem: string;
@@ -47,9 +61,6 @@ export const submenuPopoverTitle: string;
47
61
  export const submenuWrapper: string;
48
62
  export const submenuWrapperCollapsed: string;
49
63
  export const toggle: string;
50
- export const toggleContent: string;
51
- export const toggleIcon: string;
52
- export const toggleIconWrapper: string;
53
- export const toggleText: string;
54
64
  export const toggleWrapper: string;
65
+ export const topDivider: string;
55
66
 
@@ -0,0 +1,3 @@
1
+ export * from './navigation-catalog';
2
+ export * from './navigation-catalog-trigger';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/titan-layout/navigation-catalog/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './navigation-catalog';
2
+ export * from './navigation-catalog-trigger';
3
+
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/components/titan-layout/navigation-catalog/index.ts"],"sourcesContent":["export * from './navigation-catalog';\nexport * from './navigation-catalog-trigger';\n"],"names":[],"mappings":"AAAA,cAAc,uBAAuB;AACrC,cAAc,+BAA+B"}
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+ interface NavigationCatalogFooterProps {
3
+ /** Present only when the current favorites differ from the host's defaults. */
4
+ onRestore?: () => void;
5
+ }
6
+ export declare const NavigationCatalogFooter: FC<NavigationCatalogFooterProps>;
7
+ export {};
8
+ //# sourceMappingURL=navigation-catalog-footer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-catalog-footer.d.ts","sourceRoot":"","sources":["../../../../src/components/titan-layout/navigation-catalog/navigation-catalog-footer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAgD,MAAM,OAAO,CAAC;AAGzE,UAAU,4BAA4B;IAClC,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,eAAO,MAAM,uBAAuB,EAAE,EAAE,CAAC,4BAA4B,CA6EpE,CAAC"}