@servicetitan/navigation 10.6.1 → 11.0.0-canary.237.0c461af.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 (164) hide show
  1. package/dist/components/header-navigation/header-navigation-extra.stories.d.ts.map +1 -1
  2. package/dist/components/header-navigation/header-navigation-extra.stories.js +5 -5
  3. package/dist/components/header-navigation/header-navigation-extra.stories.js.map +1 -1
  4. package/dist/components/header-navigation/header-navigation-links.d.ts.map +1 -1
  5. package/dist/components/header-navigation/header-navigation-links.js +2 -2
  6. package/dist/components/header-navigation/header-navigation-links.js.map +1 -1
  7. package/dist/components/header-navigation/header-navigation-stacked.stories.d.ts.map +1 -1
  8. package/dist/components/header-navigation/header-navigation-stacked.stories.js +1 -1
  9. package/dist/components/header-navigation/header-navigation-stacked.stories.js.map +1 -1
  10. package/dist/components/header-navigation/header-navigation.stories.d.ts.map +1 -1
  11. package/dist/components/header-navigation/header-navigation.stories.js +2 -2
  12. package/dist/components/header-navigation/header-navigation.stories.js.map +1 -1
  13. package/dist/components/header-navigation/with-tooltip.d.ts +1 -1
  14. package/dist/components/header-navigation/with-tooltip.d.ts.map +1 -1
  15. package/dist/components/left-navigation/header-navigation-tiny.stories.d.ts.map +1 -1
  16. package/dist/components/left-navigation/header-navigation-tiny.stories.js +2 -2
  17. package/dist/components/left-navigation/header-navigation-tiny.stories.js.map +1 -1
  18. package/dist/components/left-navigation/interface.d.ts +1 -1
  19. package/dist/components/left-navigation/interface.d.ts.map +1 -1
  20. package/dist/components/left-navigation/side-navigation-links-internal.d.ts +3 -1
  21. package/dist/components/left-navigation/side-navigation-links-internal.d.ts.map +1 -1
  22. package/dist/components/left-navigation/side-navigation-links-internal.js +3 -3
  23. package/dist/components/left-navigation/side-navigation-links-internal.js.map +1 -1
  24. package/dist/components/left-navigation/side-navigation.d.ts.map +1 -1
  25. package/dist/components/left-navigation/side-navigation.js +8 -7
  26. package/dist/components/left-navigation/side-navigation.js.map +1 -1
  27. package/dist/components/left-navigation/side-navigation.module.less +21 -19
  28. package/dist/components/links.d.ts.map +1 -1
  29. package/dist/components/links.js +7 -7
  30. package/dist/components/links.js.map +1 -1
  31. package/dist/components/logo/logo-company-title.d.ts +1 -0
  32. package/dist/components/logo/logo-company-title.d.ts.map +1 -1
  33. package/dist/components/logo/logo-company-title.js +2 -2
  34. package/dist/components/logo/logo-company-title.js.map +1 -1
  35. package/dist/components/profile-dropdown/profile-dropdown.d.ts +15 -9
  36. package/dist/components/profile-dropdown/profile-dropdown.d.ts.map +1 -1
  37. package/dist/components/profile-dropdown/profile-dropdown.js +7 -8
  38. package/dist/components/profile-dropdown/profile-dropdown.js.map +1 -1
  39. package/dist/components/profile-dropdown/profile-dropdown.module.less +4 -0
  40. package/dist/components/profile-dropdown/profile-dropdown.stories.js +2 -2
  41. package/dist/components/profile-dropdown/profile-dropdown.stories.js.map +1 -1
  42. package/dist/components/titan-layout/index.d.ts +6 -0
  43. package/dist/components/titan-layout/index.d.ts.map +1 -0
  44. package/dist/components/titan-layout/index.js +6 -0
  45. package/dist/components/titan-layout/index.js.map +1 -0
  46. package/dist/components/titan-layout/interface-internal.d.ts +6 -0
  47. package/dist/components/titan-layout/interface-internal.d.ts.map +1 -0
  48. package/dist/components/titan-layout/interface-internal.js +2 -0
  49. package/dist/components/titan-layout/interface-internal.js.map +1 -0
  50. package/dist/components/titan-layout/interface.d.ts +21 -0
  51. package/dist/components/titan-layout/interface.d.ts.map +1 -0
  52. package/dist/components/titan-layout/interface.js +2 -0
  53. package/dist/components/titan-layout/interface.js.map +1 -0
  54. package/dist/components/titan-layout/layout-context.d.ts +20 -0
  55. package/dist/components/titan-layout/layout-context.d.ts.map +1 -0
  56. package/dist/components/titan-layout/layout-context.js +12 -0
  57. package/dist/components/titan-layout/layout-context.js.map +1 -0
  58. package/dist/components/titan-layout/layout-header-links.d.ts +7 -0
  59. package/dist/components/titan-layout/layout-header-links.d.ts.map +1 -0
  60. package/dist/components/titan-layout/layout-header-links.js +32 -0
  61. package/dist/components/titan-layout/layout-header-links.js.map +1 -0
  62. package/dist/components/titan-layout/layout-header.d.ts +20 -0
  63. package/dist/components/titan-layout/layout-header.d.ts.map +1 -0
  64. package/dist/components/titan-layout/layout-header.js +11 -0
  65. package/dist/components/titan-layout/layout-header.js.map +1 -0
  66. package/dist/components/titan-layout/layout-header.module.less +174 -0
  67. package/dist/components/titan-layout/layout-logo.d.ts +12 -0
  68. package/dist/components/titan-layout/layout-logo.d.ts.map +1 -0
  69. package/dist/components/titan-layout/layout-logo.js +15 -0
  70. package/dist/components/titan-layout/layout-logo.js.map +1 -0
  71. package/dist/components/titan-layout/layout-logo.stories.d.ts +13 -0
  72. package/dist/components/titan-layout/layout-logo.stories.d.ts.map +1 -0
  73. package/dist/components/titan-layout/layout-logo.stories.js +17 -0
  74. package/dist/components/titan-layout/layout-logo.stories.js.map +1 -0
  75. package/dist/components/titan-layout/layout-profile.d.ts +9 -0
  76. package/dist/components/titan-layout/layout-profile.d.ts.map +1 -0
  77. package/dist/components/titan-layout/layout-profile.js +54 -0
  78. package/dist/components/titan-layout/layout-profile.js.map +1 -0
  79. package/dist/components/titan-layout/layout-profile.stories.d.ts +13 -0
  80. package/dist/components/titan-layout/layout-profile.stories.d.ts.map +1 -0
  81. package/dist/components/titan-layout/layout-profile.stories.js +13 -0
  82. package/dist/components/titan-layout/layout-profile.stories.js.map +1 -0
  83. package/dist/components/titan-layout/layout-sidebar-links-internal.d.ts +46 -0
  84. package/dist/components/titan-layout/layout-sidebar-links-internal.d.ts.map +1 -0
  85. package/dist/components/titan-layout/layout-sidebar-links-internal.js +61 -0
  86. package/dist/components/titan-layout/layout-sidebar-links-internal.js.map +1 -0
  87. package/dist/components/titan-layout/layout-sidebar-links.d.ts +6 -0
  88. package/dist/components/titan-layout/layout-sidebar-links.d.ts.map +1 -0
  89. package/dist/components/titan-layout/layout-sidebar-links.js +21 -0
  90. package/dist/components/titan-layout/layout-sidebar-links.js.map +1 -0
  91. package/dist/components/titan-layout/layout-sidebar.d.ts +17 -0
  92. package/dist/components/titan-layout/layout-sidebar.d.ts.map +1 -0
  93. package/dist/components/titan-layout/layout-sidebar.js +65 -0
  94. package/dist/components/titan-layout/layout-sidebar.js.map +1 -0
  95. package/dist/components/titan-layout/layout-sidebar.module.less +516 -0
  96. package/dist/components/titan-layout/titan-layout.d.ts +38 -0
  97. package/dist/components/titan-layout/titan-layout.d.ts.map +1 -0
  98. package/dist/components/titan-layout/titan-layout.js +147 -0
  99. package/dist/components/titan-layout/titan-layout.js.map +1 -0
  100. package/dist/components/titan-layout/titan-layout.module.less +103 -0
  101. package/dist/components/titan-layout/titan-layout.stories.d.ts +20 -0
  102. package/dist/components/titan-layout/titan-layout.stories.d.ts.map +1 -0
  103. package/dist/components/titan-layout/titan-layout.stories.js +80 -0
  104. package/dist/components/titan-layout/titan-layout.stories.js.map +1 -0
  105. package/dist/components/titan-layout/with-tooltip.d.ts +4 -0
  106. package/dist/components/titan-layout/with-tooltip.d.ts.map +1 -0
  107. package/dist/components/titan-layout/with-tooltip.js +4 -0
  108. package/dist/components/titan-layout/with-tooltip.js.map +1 -0
  109. package/dist/index.d.ts +2 -1
  110. package/dist/index.d.ts.map +1 -1
  111. package/dist/index.js +2 -1
  112. package/dist/index.js.map +1 -1
  113. package/dist/test/data.d.ts.map +1 -1
  114. package/dist/test/data.js +3 -3
  115. package/dist/test/data.js.map +1 -1
  116. package/dist/utils/navigation-legacy.d.ts +3 -1
  117. package/dist/utils/navigation-legacy.d.ts.map +1 -1
  118. package/dist/utils/use-breakpoint.d.ts +7 -0
  119. package/dist/utils/use-breakpoint.d.ts.map +1 -0
  120. package/dist/utils/use-breakpoint.js +13 -0
  121. package/dist/utils/use-breakpoint.js.map +1 -0
  122. package/package.json +5 -6
  123. package/src/components/header-navigation/header-navigation-extra.stories.tsx +7 -0
  124. package/src/components/header-navigation/header-navigation-links.tsx +2 -0
  125. package/src/components/header-navigation/header-navigation-stacked.stories.tsx +5 -1
  126. package/src/components/header-navigation/header-navigation.stories.tsx +6 -1
  127. package/src/components/left-navigation/header-navigation-tiny.stories.tsx +8 -2
  128. package/src/components/left-navigation/interface.ts +2 -2
  129. package/src/components/left-navigation/side-navigation-links-internal.tsx +21 -6
  130. package/src/components/left-navigation/side-navigation-links.tsx +1 -1
  131. package/src/components/left-navigation/side-navigation.module.less +21 -19
  132. package/src/components/left-navigation/side-navigation.module.less.d.ts +2 -1
  133. package/src/components/left-navigation/side-navigation.tsx +15 -8
  134. package/src/components/links.tsx +33 -13
  135. package/src/components/logo/logo-company-title.tsx +8 -6
  136. package/src/components/profile-dropdown/profile-dropdown.module.less +4 -0
  137. package/src/components/profile-dropdown/profile-dropdown.stories.tsx +4 -4
  138. package/src/components/profile-dropdown/profile-dropdown.tsx +55 -51
  139. package/src/components/titan-layout/index.ts +5 -0
  140. package/src/components/titan-layout/interface-internal.ts +6 -0
  141. package/src/components/titan-layout/interface.ts +26 -0
  142. package/src/components/titan-layout/layout-context.tsx +30 -0
  143. package/src/components/titan-layout/layout-header-links.tsx +144 -0
  144. package/src/components/titan-layout/layout-header.module.less +174 -0
  145. package/src/components/titan-layout/layout-header.module.less.d.ts +16 -0
  146. package/src/components/titan-layout/layout-header.tsx +90 -0
  147. package/src/components/titan-layout/layout-logo.stories.tsx +31 -0
  148. package/src/components/titan-layout/layout-logo.tsx +57 -0
  149. package/src/components/titan-layout/layout-profile.stories.tsx +46 -0
  150. package/src/components/titan-layout/layout-profile.tsx +132 -0
  151. package/src/components/titan-layout/layout-sidebar-links-internal.tsx +275 -0
  152. package/src/components/titan-layout/layout-sidebar-links.tsx +59 -0
  153. package/src/components/titan-layout/layout-sidebar.module.less +516 -0
  154. package/src/components/titan-layout/layout-sidebar.module.less.d.ts +48 -0
  155. package/src/components/titan-layout/layout-sidebar.tsx +295 -0
  156. package/src/components/titan-layout/titan-layout.module.less +103 -0
  157. package/src/components/titan-layout/titan-layout.module.less.d.ts +15 -0
  158. package/src/components/titan-layout/titan-layout.stories.tsx +332 -0
  159. package/src/components/titan-layout/titan-layout.tsx +365 -0
  160. package/src/components/titan-layout/with-tooltip.tsx +16 -0
  161. package/src/index.ts +2 -1
  162. package/src/test/data.tsx +3 -2
  163. package/src/utils/navigation-legacy.ts +3 -1
  164. package/src/utils/use-breakpoint.ts +19 -0
@@ -0,0 +1,516 @@
1
+ /* stylelint-disable no-descending-specificity */
2
+ @import (reference) '@servicetitan/tokens/core/tokens.less';
3
+
4
+ @text-color: var(--colorsTextInverted, @color-white);
5
+ @text-color-active: var(--colorsTextPrimarySubdued, @color-blue-300);
6
+ @border-color: var(--colorsTextOnGrey, @color-neutral-200);
7
+ @bg-color: #0f1d26;
8
+ @bg-color-hover: rgba(255, 255, 255, 0.08);
9
+ @bg-color-active: rgba(120, 187, 250, 0.2);
10
+
11
+ .nav {
12
+ background-color: @bg-color;
13
+ display: flex;
14
+ flex-direction: column;
15
+ align-items: stretch;
16
+ }
17
+
18
+ // mobile version
19
+ .nav-drawer {
20
+ display: none;
21
+ position: fixed;
22
+ max-width: 400px;
23
+ width: 0;
24
+ top: 0;
25
+ bottom: 0;
26
+ left: 0;
27
+ z-index: 991;
28
+
29
+ .nav-main {
30
+ padding-left: @spacing-2;
31
+ padding-right: @spacing-2;
32
+ }
33
+ .nav-close-wrapper {
34
+ display: flex;
35
+ justify-content: flex-end;
36
+ margin-right: -@spacing-2;
37
+
38
+ .nav-close {
39
+ padding-top: @spacing-2;
40
+ padding-left: @spacing-2;
41
+ padding-right: @spacing-2;
42
+ }
43
+ }
44
+
45
+ .nav-item {
46
+ margin-bottom: @spacing-half;
47
+ }
48
+ .nav-top {
49
+ margin-bottom: @spacing-half;
50
+ }
51
+ .nav-bottom {
52
+ .divider {
53
+ margin-bottom: @spacing-half;
54
+ }
55
+ }
56
+
57
+ .submenu {
58
+ .submenu-item {
59
+ margin-bottom: @spacing-half;
60
+ }
61
+ }
62
+ }
63
+
64
+ // mobile version opened
65
+ .nav-drawer-opened {
66
+ display: flex;
67
+ width: 90vw;
68
+ }
69
+
70
+ @media only screen and (min-width: 361px) {
71
+ width: 85vw;
72
+ }
73
+ @media only screen and (min-width: 481px) {
74
+ width: 80vw;
75
+ }
76
+
77
+ // desktop version collapsed
78
+ .nav-slim {
79
+ width: 64px;
80
+
81
+ .toggle {
82
+ width: 64px;
83
+ margin-top: @spacing-1;
84
+ margin-bottom: 12px;
85
+ display: flex;
86
+ justify-content: center;
87
+
88
+ .toggle-icon-wrapper {
89
+ padding-left: @spacing-half;
90
+ padding-right: @spacing-half;
91
+ }
92
+ }
93
+
94
+ .nav-item {
95
+ flex-direction: column;
96
+ width: 64px;
97
+ overflow-x: hidden;
98
+ padding-top: @spacing-1;
99
+
100
+ &:not(:first-child) {
101
+ margin-top: @spacing-half;
102
+ }
103
+
104
+ .nav-item-counter[data-anv][data-anv] {
105
+ position: absolute;
106
+ right: 0;
107
+ top: 4px;
108
+ z-index: auto;
109
+
110
+ &.nav-item-counter-long {
111
+ right: 2px;
112
+ }
113
+ }
114
+
115
+ .nav-item-icon-wrapper {
116
+ flex: 1;
117
+ padding: @spacing-half;
118
+ }
119
+
120
+ .nav-item-text-expanded {
121
+ display: none;
122
+ }
123
+ .nav-item-text-collapsed {
124
+ font-family: @base-font-family;
125
+ font-size: 11px;
126
+ line-height: 11px;
127
+ margin: 2px @spacing-half @spacing-0;
128
+ text-align: center;
129
+ }
130
+
131
+ .nav-item-text-collapsed.nav-item-text-small {
132
+ font-size: 10.5px;
133
+ }
134
+ }
135
+
136
+ .nav-top .divider {
137
+ margin-top: @spacing-1;
138
+ }
139
+ }
140
+
141
+ // desktop version expanded
142
+ .nav-wide {
143
+ width: var(--nav-offset-left);
144
+
145
+ .toggle {
146
+ .toggle-content {
147
+ margin: @spacing-2;
148
+
149
+ .toggle-icon-wrapper {
150
+ padding-left: @spacing-half;
151
+ padding-right: @spacing-half;
152
+ }
153
+
154
+ .toggle-text {
155
+ padding-left: @spacing-0 !important;
156
+ }
157
+ }
158
+ }
159
+
160
+ .nav-top .divider {
161
+ margin-top: @spacing-1;
162
+ margin-bottom: @spacing-1;
163
+ }
164
+
165
+ .nav-main {
166
+ padding-top: @spacing-1;
167
+ }
168
+ }
169
+
170
+ .nav-drawer,
171
+ .nav-wide {
172
+ .nav-item {
173
+ flex-direction: row;
174
+ margin-left: @spacing-1;
175
+ margin-right: @spacing-1;
176
+
177
+ .nav-item-icon-wrapper {
178
+ flex: 1;
179
+ padding: @spacing-1 @spacing-half;
180
+ }
181
+
182
+ .nav-item-text-expanded {
183
+ font-family: @base-font-family;
184
+ font-size: @typescale-3;
185
+ padding-left: @spacing-1;
186
+ flex: 1;
187
+ }
188
+
189
+ .nav-item-text-collapsed {
190
+ display: none;
191
+ }
192
+
193
+ .nav-item-counter[data-anv][data-anv] {
194
+ margin-right: @spacing-1;
195
+ position: relative;
196
+ transform: unset;
197
+ }
198
+ }
199
+ }
200
+ .divider {
201
+ border-top: 1px solid @border-color;
202
+ }
203
+
204
+ .nav-main {
205
+ position: relative;
206
+ overflow-y: auto;
207
+ padding-bottom: @spacing-1;
208
+ flex-grow: 1;
209
+ flex-basis: 0;
210
+
211
+ &::-webkit-scrollbar {
212
+ width: 0;
213
+ height: 0;
214
+ }
215
+ }
216
+
217
+ .nav-top {
218
+ display: flex;
219
+ flex-direction: column;
220
+ align-items: stretch;
221
+ }
222
+
223
+ .nav-bottom {
224
+ display: flex;
225
+ flex-direction: column;
226
+ }
227
+
228
+ .nav-footer {
229
+ display: flex;
230
+ flex-direction: column;
231
+ align-items: stretch;
232
+ background-color: @bg-color;
233
+
234
+ .toggle-wrapper {
235
+ display: block;
236
+
237
+ .toggle {
238
+ font-family: @base-font-family;
239
+ color: @text-color;
240
+ position: relative;
241
+ cursor: pointer;
242
+ outline: none;
243
+
244
+ &:hover {
245
+ .toggle-content {
246
+ background-color: @bg-color-hover;
247
+ }
248
+ }
249
+
250
+ .toggle-content {
251
+ display: flex;
252
+ justify-content: flex-start;
253
+ align-items: center;
254
+ flex-wrap: nowrap;
255
+ text-wrap: nowrap;
256
+ height: 32px;
257
+
258
+ border-radius: @border-radius-2;
259
+ }
260
+
261
+ .toggle-icon-wrapper {
262
+ height: 24px;
263
+ width: 24px;
264
+
265
+ .toggle-icon[data-anv][data-anv] > svg {
266
+ height: 24px;
267
+ width: 24px;
268
+ color: @text-color;
269
+ }
270
+ }
271
+
272
+ .toggle-text {
273
+ font-family: @base-font-family;
274
+ font-size: @typescale-3;
275
+ flex: 1;
276
+ }
277
+ }
278
+ }
279
+ }
280
+
281
+ .nav-item {
282
+ font-family: @base-font-family;
283
+ color: @text-color;
284
+ position: relative;
285
+ display: flex;
286
+ flex-direction: row;
287
+ justify-content: flex-start;
288
+ align-items: center;
289
+ outline: none;
290
+ overflow: hidden;
291
+
292
+ .nav-item-icon-wrapper {
293
+ border-radius: @border-radius-2;
294
+ display: flex;
295
+ justify-content: flex-start;
296
+ align-items: center;
297
+ flex-wrap: nowrap;
298
+ text-wrap: nowrap;
299
+ position: relative;
300
+ }
301
+
302
+ &.nav-item-active {
303
+ color: @text-color-active;
304
+
305
+ .nav-item-icon-wrapper {
306
+ background-color: @bg-color-active;
307
+ }
308
+ }
309
+
310
+ &.nav-item-icon-switch {
311
+ &.nav-item-active {
312
+ .nav-icon-inactive[data-anv][data-anv] {
313
+ display: none;
314
+ }
315
+ .nav-icon-active[data-anv][data-anv] {
316
+ display: block;
317
+ }
318
+ }
319
+ &:not(.nav-item-active) {
320
+ .nav-icon-inactive[data-anv][data-anv] {
321
+ display: block;
322
+ }
323
+ .nav-icon-active[data-anv][data-anv] {
324
+ display: none;
325
+ }
326
+ }
327
+ }
328
+
329
+ .nav-item-counter {
330
+ min-width: 12px !important;
331
+ min-height: 12px !important;
332
+ }
333
+
334
+ .nav-item-group-toggle-wrapper {
335
+ position: relative;
336
+ display: flex;
337
+ justify-content: center;
338
+ align-items: center;
339
+
340
+ .nav-item-group-toggle[data-anv][data-anv] {
341
+ color: inherit;
342
+ font-weight: @font-weight-semibold;
343
+ }
344
+
345
+ .nav-item-group-toggle-click {
346
+ position: absolute;
347
+ left: -@spacing-2;
348
+ right: -@spacing-half;
349
+ top: -@spacing-1;
350
+ bottom: -@spacing-1;
351
+ }
352
+ }
353
+
354
+ .nav-icon[data-anv][data-anv] {
355
+ height: 24px;
356
+ width: 24px;
357
+ color: inherit;
358
+
359
+ & > svg {
360
+ height: 24px;
361
+ width: 24px;
362
+ }
363
+ }
364
+ }
365
+
366
+ .nav-link {
367
+ cursor: pointer;
368
+
369
+ &:hover:not(.nav-item-active) .nav-item-icon-wrapper {
370
+ background-color: @bg-color-hover;
371
+ }
372
+ }
373
+ .nav-group-wrapper {
374
+ .nav-group-item {
375
+ position: relative;
376
+ }
377
+
378
+ .submenu-wrapper:not(.submenu-wrapper-collapsed) {
379
+ max-height: 2000px;
380
+ transition: max-height 0.7s ease-in-out;
381
+ }
382
+ }
383
+
384
+ .submenu-wrapper {
385
+ max-height: 0;
386
+ overflow: hidden;
387
+ transition: max-height unset;
388
+ }
389
+
390
+ .submenu {
391
+ margin-left: @spacing-3;
392
+
393
+ padding-left: @spacing-1;
394
+ padding-right: @spacing-1;
395
+ margin-bottom: @spacing-1;
396
+ position: relative;
397
+ font-family: @base-font-family;
398
+
399
+ .submenu-group-header[data-anv][data-anv] {
400
+ padding-top: @spacing-2;
401
+ padding-bottom: @spacing-half;
402
+ }
403
+ .submenu-group-header.submenu-group-header-empty[data-anv][data-anv] {
404
+ padding-top: @spacing-1;
405
+ }
406
+
407
+ .submenu-item {
408
+ padding: @spacing-1;
409
+ }
410
+
411
+ .submenu-link-active {
412
+ position: relative;
413
+ }
414
+
415
+ .submenu-link-active:before {
416
+ content: '';
417
+ position: absolute;
418
+ background-color: @text-color-active;
419
+ width: 3px;
420
+ top: @spacing-1;
421
+ bottom: @spacing-1;
422
+ left: -12px;
423
+ }
424
+
425
+ .submenu-item:before:not(.submenu-link-active) {
426
+ background-color: @bg-color-hover;
427
+ }
428
+
429
+ .divider + .divider {
430
+ display: none;
431
+ }
432
+
433
+ .divider:last-child {
434
+ display: none;
435
+ }
436
+
437
+ > *,
438
+ > *[data-anv][data-anv] {
439
+ border-left: 3px solid transparent;
440
+ padding-left: @spacing-1;
441
+ }
442
+
443
+ > *:last-child {
444
+ margin-bottom: @spacing-0;
445
+ }
446
+ }
447
+
448
+ .submenu-popover {
449
+ margin-left: -@spacing-1;
450
+ margin-right: -@spacing-1;
451
+ min-width: 240px;
452
+
453
+ .submenu-group-header[data-anv][data-anv] {
454
+ margin-top: @spacing-2;
455
+ padding-bottom: @spacing-half;
456
+ }
457
+
458
+ .submenu-group-header.submenu-group-header-empty[data-anv][data-anv] {
459
+ margin-top: @spacing-1;
460
+ }
461
+
462
+ .submenu-item {
463
+ padding-top: @spacing-1;
464
+ padding-bottom: @spacing-1;
465
+ }
466
+
467
+ .submenu-link-active {
468
+ background-color: @bg-color-active;
469
+ }
470
+ .submenu-link:hover:not(.submenu-link-active) {
471
+ background-color: @bg-color-hover;
472
+ }
473
+
474
+ > *,
475
+ > *[data-anv][data-anv] {
476
+ padding-left: @spacing-1;
477
+ padding-right: @spacing-1;
478
+ }
479
+ }
480
+
481
+ .submenu,
482
+ .submenu-popover {
483
+ display: flex;
484
+ flex-direction: column;
485
+
486
+ .submenu-group-header[data-anv][data-anv] {
487
+ color: @color-neutral-70;
488
+ }
489
+
490
+ .submenu-item {
491
+ color: @text-color;
492
+ font-size: @typescale-2;
493
+ border-radius: @border-radius-2;
494
+ display: flex;
495
+ flex-direction: row;
496
+ justify-content: space-between;
497
+ align-items: center;
498
+ }
499
+
500
+ .submenu-link {
501
+ cursor: pointer;
502
+ }
503
+
504
+ .submenu-link-active {
505
+ color: @text-color-active;
506
+ }
507
+
508
+ .submenu-link-counter {
509
+ position: relative !important;
510
+ transform: unset !important;
511
+ }
512
+
513
+ .submenu-link:hover:not(.submenu-link-active) {
514
+ background-color: @bg-color-hover;
515
+ }
516
+ }
@@ -0,0 +1,48 @@
1
+ export const __esModule: true;
2
+ export const divider: string;
3
+ export const nav: string;
4
+ export const navBottom: string;
5
+ export const navClose: string;
6
+ export const navCloseWrapper: string;
7
+ export const navDrawer: string;
8
+ export const navDrawerOpened: string;
9
+ export const navFooter: string;
10
+ export const navGroupItem: string;
11
+ export const navGroupWrapper: string;
12
+ export const navIcon: string;
13
+ export const navIconActive: string;
14
+ export const navIconInactive: string;
15
+ export const navItem: string;
16
+ export const navItemActive: string;
17
+ export const navItemCounter: string;
18
+ export const navItemCounterLong: string;
19
+ export const navItemGroupToggle: string;
20
+ export const navItemGroupToggleClick: string;
21
+ export const navItemGroupToggleWrapper: string;
22
+ export const navItemIconSwitch: string;
23
+ export const navItemIconWrapper: string;
24
+ export const navItemTextCollapsed: string;
25
+ export const navItemTextExpanded: string;
26
+ export const navItemTextSmall: string;
27
+ export const navLink: string;
28
+ export const navMain: string;
29
+ export const navSlim: string;
30
+ export const navTop: string;
31
+ export const navWide: string;
32
+ export const submenu: string;
33
+ export const submenuGroupHeader: string;
34
+ export const submenuGroupHeaderEmpty: string;
35
+ export const submenuItem: string;
36
+ export const submenuLink: string;
37
+ export const submenuLinkActive: string;
38
+ export const submenuLinkCounter: string;
39
+ export const submenuPopover: string;
40
+ export const submenuWrapper: string;
41
+ export const submenuWrapperCollapsed: string;
42
+ export const toggle: string;
43
+ export const toggleContent: string;
44
+ export const toggleIcon: string;
45
+ export const toggleIconWrapper: string;
46
+ export const toggleText: string;
47
+ export const toggleWrapper: string;
48
+