@nextrap/nte-nav 1.2.0 → 2.0.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.
package/CHANGELOG.md DELETED
@@ -1,586 +0,0 @@
1
- ## 1.2.0 (2025-12-05)
2
-
3
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
4
-
5
- ## 1.1.29 (2025-09-12)
6
-
7
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
8
-
9
- ## 1.1.28 (2025-09-11)
10
-
11
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
12
-
13
- ## 1.1.27 (2025-09-11)
14
-
15
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
16
-
17
- ## 1.1.26 (2025-09-11)
18
-
19
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
20
-
21
- ## 1.1.25 (2025-09-11)
22
-
23
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
24
-
25
- ## 1.1.24 (2025-09-11)
26
-
27
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
28
-
29
- ## 1.1.23 (2025-09-11)
30
-
31
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
32
-
33
- ## 1.1.22 (2025-09-11)
34
-
35
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
36
-
37
- ## 1.1.21 (2025-09-11)
38
-
39
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
40
-
41
- ## 1.1.20 (2025-09-11)
42
-
43
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
44
-
45
- ## 1.1.19 (2025-09-11)
46
-
47
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
48
-
49
- ## 1.1.18 (2025-09-11)
50
-
51
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
52
-
53
- ## 1.1.17 (2025-09-11)
54
-
55
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
56
-
57
- ## 1.1.16 (2025-09-11)
58
-
59
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
60
-
61
- ## 1.1.15 (2025-09-11)
62
-
63
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
64
-
65
- ## 1.1.14 (2025-08-28)
66
-
67
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
68
-
69
- ## 1.1.13 (2025-08-28)
70
-
71
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
72
-
73
- ## 1.1.12 (2025-08-28)
74
-
75
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
76
-
77
- ## 1.1.11 (2025-08-24)
78
-
79
- ### 🧱 Updated Dependencies
80
-
81
- - Updated style-reset to 1.0.0
82
- - Updated style-base to 1.1.11
83
- - Updated nte-offcanvas to 1.0.16
84
-
85
- ## 1.1.10 (2025-08-13)
86
-
87
- ### 🩹 Fixes
88
-
89
- - do not re-export lit via nt-framework ([12ac05f](https://github.com/nextrap/nextrap-monorepo/commit/12ac05f))
90
-
91
- ### ❤️ Thank You
92
-
93
- - Enzo Volkmann @evolkmann
94
-
95
- ## 1.1.9 (2025-08-01)
96
-
97
- ### 🧱 Updated Dependencies
98
-
99
- - Updated nte-offcanvas to 1.0.15
100
-
101
- ## 1.1.8 (2025-08-01)
102
-
103
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
104
-
105
- ## 1.1.7 (2025-08-01)
106
-
107
- ### 🧱 Updated Dependencies
108
-
109
- - Updated nte-offcanvas to 1.0.14
110
-
111
- ## 1.1.6 (2025-08-01)
112
-
113
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
114
-
115
- ## 1.1.5 (2025-07-31)
116
-
117
- ### 🧱 Updated Dependencies
118
-
119
- - Updated nte-offcanvas to 1.0.13
120
-
121
- ## 1.1.4 (2025-07-31)
122
-
123
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
124
-
125
- ## 1.1.3 (2025-07-31)
126
-
127
- ### 🧱 Updated Dependencies
128
-
129
- - Updated style-base to 1.1.10
130
- - Updated nte-offcanvas to 1.0.12
131
-
132
- ## 1.1.2 (2025-07-31)
133
-
134
- ### 🧱 Updated Dependencies
135
-
136
- - Updated nte-offcanvas to 1.0.11
137
-
138
- ## 1.1.1 (2025-07-31)
139
-
140
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
141
-
142
- ## 1.1.0 (2025-07-31)
143
-
144
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
145
-
146
- ## 1.0.25 (2025-07-24)
147
-
148
- ### 🧱 Updated Dependencies
149
-
150
- - Updated style-base to 1.1.9
151
- - Updated nte-offcanvas to 1.0.10
152
-
153
- ## 1.0.24 (2025-07-24)
154
-
155
- ### 🧱 Updated Dependencies
156
-
157
- - Updated style-base to 1.1.8
158
- - Updated nte-offcanvas to 1.0.9
159
-
160
- ## 1.0.23 (2025-07-24)
161
-
162
- ### 🧱 Updated Dependencies
163
-
164
- - Updated style-base to 1.1.7
165
- - Updated nte-offcanvas to 1.0.8
166
-
167
- ## 1.0.22 (2025-07-24)
168
-
169
- ### 🧱 Updated Dependencies
170
-
171
- - Updated style-base to 1.1.6
172
- - Updated nte-offcanvas to 1.0.7
173
-
174
- ## 1.0.21 (2025-07-23)
175
-
176
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
177
-
178
- ## 1.0.20 (2025-07-23)
179
-
180
- ### 🧱 Updated Dependencies
181
-
182
- - Updated nte-burger to 1.1.7
183
-
184
- ## 1.0.19 (2025-07-23)
185
-
186
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
187
-
188
- ## 1.0.18 (2025-07-23)
189
-
190
- ### 🧱 Updated Dependencies
191
-
192
- - Updated nte-burger to 1.1.6
193
-
194
- ## 1.0.17 (2025-07-23)
195
-
196
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
197
-
198
- ## 1.0.16 (2025-07-23)
199
-
200
- ### 🧱 Updated Dependencies
201
-
202
- - Updated nte-offcanvas to 1.0.6
203
-
204
- ## 1.0.15 (2025-07-23)
205
-
206
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
207
-
208
- ## 1.0.14 (2025-07-23)
209
-
210
- ### 🧱 Updated Dependencies
211
-
212
- - Updated nte-burger to 1.1.5
213
-
214
- ## 1.0.13 (2025-07-23)
215
-
216
- ### 🧱 Updated Dependencies
217
-
218
- - Updated nt-framework to 1.1.1
219
- - Updated nte-offcanvas to 1.0.5
220
- - Updated nte-burger to 1.1.4
221
-
222
- ## 1.0.12 (2025-07-23)
223
-
224
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
225
-
226
- ## 1.0.11 (2025-07-23)
227
-
228
- ### 🧱 Updated Dependencies
229
-
230
- - Updated nte-offcanvas to 1.0.4
231
-
232
- ## 1.0.10 (2025-07-23)
233
-
234
- ### 🧱 Updated Dependencies
235
-
236
- - Updated nt-framework to 1.1.0
237
- - Updated nte-offcanvas to 1.0.3
238
- - Updated nte-burger to 1.1.3
239
-
240
- ## 1.0.9 (2025-07-23)
241
-
242
- ### 🧱 Updated Dependencies
243
-
244
- - Updated nte-burger to 1.1.2
245
-
246
- ## 1.0.8 (2025-07-23)
247
-
248
- ### 🧱 Updated Dependencies
249
-
250
- - Updated nt-framework to 1.0.0
251
- - Updated nte-offcanvas to 1.0.2
252
- - Updated nte-burger to 1.1.1
253
-
254
- ## 1.0.7 (2025-07-23)
255
-
256
- ### 🧱 Updated Dependencies
257
-
258
- - Updated nte-burger to 1.1.0
259
-
260
- ## 1.0.6 (2025-07-23)
261
-
262
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
263
-
264
- ## 1.0.5 (2025-07-23)
265
-
266
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
267
-
268
- ## 1.0.4 (2025-07-22)
269
-
270
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
271
-
272
- ## 1.0.3 (2025-07-22)
273
-
274
- ### 🧱 Updated Dependencies
275
-
276
- - Updated nte-offcanvas to 1.0.1
277
-
278
- ## 1.0.2 (2025-07-22)
279
-
280
- ### 🧱 Updated Dependencies
281
-
282
- - Updated nte-burger to 1.0.1
283
-
284
- ## 1.0.1 (2025-07-22)
285
-
286
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
287
-
288
- # 1.0.0 (2025-07-22)
289
-
290
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
291
-
292
- ## 0.2.48 (2025-07-22)
293
-
294
- ### 🧱 Updated Dependencies
295
-
296
- - Updated nte-burger to 1.0.0
297
-
298
- ## 0.2.47 (2025-07-22)
299
-
300
- ### 🧱 Updated Dependencies
301
-
302
- - Updated nte-offcanvas to 1.0.0
303
-
304
- ## 0.2.46 (2025-07-22)
305
-
306
- ### 🧱 Updated Dependencies
307
-
308
- - Updated nte-offcanvas to 0.0.25
309
-
310
- ## 0.2.45 (2025-07-22)
311
-
312
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
313
-
314
- ## 0.2.44 (2025-07-22)
315
-
316
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
317
-
318
- ## 0.2.43 (2025-07-22)
319
-
320
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
321
-
322
- ## 0.2.42 (2025-07-22)
323
-
324
- ### 🧱 Updated Dependencies
325
-
326
- - Updated nt-framework to 0.0.3
327
- - Updated nte-offcanvas to 0.0.24
328
- - Updated nte-burger to 0.1.3
329
-
330
- ## 0.2.41 (2025-07-22)
331
-
332
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
333
-
334
- ## 0.2.40 (2025-07-22)
335
-
336
- ### 🧱 Updated Dependencies
337
-
338
- - Updated nt-framework to 0.0.2
339
- - Updated nte-offcanvas to 0.0.23
340
- - Updated nte-burger to 0.1.2
341
-
342
- ## 0.2.39 (2025-07-22)
343
-
344
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
345
-
346
- ## 0.2.38 (2025-07-22)
347
-
348
- ### 🧱 Updated Dependencies
349
-
350
- - Updated nte-offcanvas to 0.0.22
351
-
352
- ## 0.2.37 (2025-07-22)
353
-
354
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
355
-
356
- ## 0.2.36 (2025-07-21)
357
-
358
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
359
-
360
- ## 0.2.35 (2025-07-21)
361
-
362
- ### 🧱 Updated Dependencies
363
-
364
- - Updated style-base to 1.1.5
365
- - Updated nte-offcanvas to 0.0.21
366
-
367
- ## 0.2.34 (2025-07-21)
368
-
369
- ### 🧱 Updated Dependencies
370
-
371
- - Updated nte-offcanvas to 0.0.20
372
-
373
- ## 0.2.33 (2025-07-21)
374
-
375
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
376
-
377
- ## 0.2.32 (2025-07-21)
378
-
379
- ### 🧱 Updated Dependencies
380
-
381
- - Updated nte-burger to 0.1.1
382
-
383
- ## 0.2.31 (2025-07-21)
384
-
385
- ### 🧱 Updated Dependencies
386
-
387
- - Updated nte-burger to 0.1.0
388
-
389
- ## 0.2.30 (2025-07-21)
390
-
391
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
392
-
393
- ## 0.2.29 (2025-07-21)
394
-
395
- ### 🧱 Updated Dependencies
396
-
397
- - Updated nte-offcanvas to 0.0.19
398
-
399
- ## 0.2.28 (2025-07-21)
400
-
401
- ### 🧱 Updated Dependencies
402
-
403
- - Updated style-base to 1.1.4
404
- - Updated nte-offcanvas to 0.0.18
405
-
406
- ## 0.2.27 (2025-07-21)
407
-
408
- ### 🧱 Updated Dependencies
409
-
410
- - Updated style-base to 1.1.3
411
- - Updated nte-offcanvas to 0.0.17
412
-
413
- ## 0.2.26 (2025-07-21)
414
-
415
- ### 🧱 Updated Dependencies
416
-
417
- - Updated style-base to 1.1.2
418
- - Updated nte-offcanvas to 0.0.16
419
-
420
- ## 0.2.25 (2025-07-21)
421
-
422
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
423
-
424
- ## 0.2.24 (2025-07-21)
425
-
426
- ### 🧱 Updated Dependencies
427
-
428
- - Updated nte-offcanvas to 0.0.15
429
-
430
- ## 0.2.23 (2025-07-21)
431
-
432
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
433
-
434
- ## 0.2.22 (2025-07-21)
435
-
436
- ### 🧱 Updated Dependencies
437
-
438
- - Updated style-base to 1.1.1
439
- - Updated nte-offcanvas to 0.0.14
440
-
441
- ## 0.2.21 (2025-07-21)
442
-
443
- ### 🧱 Updated Dependencies
444
-
445
- - Updated style-base to 1.1.0
446
- - Updated nte-offcanvas to 0.0.13
447
-
448
- ## 0.2.20 (2025-07-21)
449
-
450
- ### 🧱 Updated Dependencies
451
-
452
- - Updated style-base to 1.0.3
453
- - Updated nte-offcanvas to 0.0.12
454
-
455
- ## 0.2.19 (2025-07-21)
456
-
457
- ### 🧱 Updated Dependencies
458
-
459
- - Updated style-base to 1.0.2
460
- - Updated nte-offcanvas to 0.0.11
461
-
462
- ## 0.2.18 (2025-07-21)
463
-
464
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
465
-
466
- ## 0.2.17 (2025-07-21)
467
-
468
- ### 🧱 Updated Dependencies
469
-
470
- - Updated nte-offcanvas to 0.0.10
471
-
472
- ## 0.2.16 (2025-07-21)
473
-
474
- ### 🧱 Updated Dependencies
475
-
476
- - Updated nte-offcanvas to 0.0.9
477
-
478
- ## 0.2.15 (2025-07-21)
479
-
480
- ### 🧱 Updated Dependencies
481
-
482
- - Updated style-base to 1.0.1
483
- - Updated nte-offcanvas to 0.0.8
484
-
485
- ## 0.2.14 (2025-07-21)
486
-
487
- ### 🧱 Updated Dependencies
488
-
489
- - Updated style-base to 1.0.0
490
- - Updated nte-offcanvas to 0.0.7
491
-
492
- ## 0.2.13 (2025-07-21)
493
-
494
- ### 🧱 Updated Dependencies
495
-
496
- - Updated style-base to 0.0.2
497
- - Updated nte-offcanvas to 0.0.6
498
-
499
- ## 0.2.12 (2025-07-21)
500
-
501
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
502
-
503
- ## 0.2.11 (2025-07-21)
504
-
505
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
506
-
507
- ## 0.2.10 (2025-07-21)
508
-
509
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
510
-
511
- ## 0.2.9 (2025-07-21)
512
-
513
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
514
-
515
- ## 0.2.8 (2025-07-21)
516
-
517
- ### 🧱 Updated Dependencies
518
-
519
- - Updated nte-offcanvas to 0.0.5
520
-
521
- ## 0.2.7 (2025-07-21)
522
-
523
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
524
-
525
- ## 0.2.6 (2025-07-21)
526
-
527
- ### 🧱 Updated Dependencies
528
-
529
- - Updated style-reset to 0.1.1
530
- - Updated nte-offcanvas to 0.0.4
531
-
532
- ## 0.2.5 (2025-07-16)
533
-
534
- ### 🧱 Updated Dependencies
535
-
536
- - Updated nte-offcanvas to 0.0.3
537
-
538
- ## 0.3.5 (2025-07-15)
539
-
540
- ### 🧱 Updated Dependencies
541
-
542
- - Updated nte-offcanvas to 0.2.2
543
-
544
- ## 0.3.4 (2025-07-15)
545
-
546
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
547
-
548
- ## 0.3.3 (2025-07-15)
549
-
550
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
551
-
552
- ## 0.3.2 (2025-07-15)
553
-
554
- ### 🧱 Updated Dependencies
555
-
556
- - Updated nte-offcanvas to 0.2.1
557
-
558
- ## 0.3.1 (2025-07-15)
559
-
560
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
561
-
562
- ## 0.3.0 (2025-07-15)
563
-
564
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
565
-
566
- ## 0.2.0 (2025-07-15)
567
-
568
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
569
-
570
- ## 0.1.1 (2025-07-15)
571
-
572
- ### 🧱 Updated Dependencies
573
-
574
- - Updated nte-burger to 0.1.0
575
-
576
- ## 0.1.0 (2025-07-15)
577
-
578
- This was a version bump only for nte-nav to align it with other projects, there were no code changes.
579
-
580
- ## 0.0.3 (2025-07-15)
581
-
582
- ### 🧱 Updated Dependencies
583
-
584
- - Updated nt-framework to 0.1.0
585
- - Updated nte-offcanvas to 0.0.2
586
- - Updated nte-burger to 0.0.2
@@ -1,36 +0,0 @@
1
- import { LitElement } from 'lit';
2
- declare const NteNavBrandRelocator_base: (abstract new (...a: any[]) => {
3
- "__#2347@#ac"?: AbortController;
4
- connectedCallback(): void;
5
- disconnectedCallback(): void;
6
- "__#2347@#bindEventListeners"(): void;
7
- }) & (abstract new (...args: any[]) => {
8
- "__#2348@#debugCached": boolean | null;
9
- "__#2348@#myElementId": number;
10
- invalidateDebugCache(): void;
11
- "__#2348@#myLoggerInstance": import('@trunkjs/browser-utils').Logger | null;
12
- readonly _debug: boolean;
13
- getLogger(instanceId?: string): import('@trunkjs/browser-utils').Logger;
14
- log(...args: any[]): void;
15
- warn(...args: any[]): void;
16
- error(...args: any[]): void;
17
- throwError(...args: any[]): never;
18
- }) & typeof LitElement;
19
- export declare class NteNavBrandRelocator extends NteNavBrandRelocator_base {
20
- #private;
21
- static styles: import('lit').CSSResult[];
22
- accessor brandSelector: string;
23
- accessor active: boolean | null;
24
- accessor mode: string;
25
- private accessor done;
26
- private accessor initialized;
27
- private onScroll;
28
- private onanimationEnd;
29
- private get brandElement();
30
- render(): import('lit-html').TemplateResult<1> | null;
31
- update(changedProperties: Map<string, any>): void;
32
- private get ghostElement();
33
- firstUpdated(): Promise<void>;
34
- connectedCallback(): Promise<void>;
35
- }
36
- export {};
package/index.css DELETED
@@ -1 +0,0 @@
1
- @charset "UTF-8";.nav-vertical{width:100%}.nav-vertical ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;width:100%;gap:.15rem;position:relative}.nav-vertical ul>li{position:relative;display:block}.nav-vertical ul>li>a{display:block;padding:.65em 1.1em;color:var(--text-color);text-decoration:none;transition:background var(--transition),color var(--transition);font-weight:500}.nav-vertical ul>li>a.active,.nav-vertical ul>li>a:active{background-color:var(--hover-color);color:var(--hover-text-color)}.nav-vertical ul>li>a:hover{background-color:var(--hover-color);color:var(--hover-text-color)}.nav-vertical ul>li>a:after{content:"";display:inline-block;margin-left:.47em;margin-bottom:.08em;border:solid currentColor;border-width:0 2px 2px 0;padding:3px;transform:rotate(45deg) scale(.8);opacity:0;transition:opacity var(--transition),transform var(--transition)}.nav-vertical ul>li:has(ul)>a:after{opacity:.55}.nav-vertical ul>li:active>a:after,.nav-vertical ul>li:focus-within>a:after{transform:rotate(135deg) scale(.85)}.nav-vertical ul>li:focus-within>ul{display:flex}.nav-vertical ul>li>ul{list-style:none;margin:0;padding:0 0 0 .7em;display:none;flex-direction:column}li>.nav-vertical ul>li>ul,.nav-vertical ul>li>ul:focus-within{display:flex}.nav-vertical ul>li>ul>li>a{padding:.55em 1.1em;font-size:.95em;font-weight:400;color:var(--text-color);transition:background var(--transition),color var(--transition)}.nav-vertical ul>li>ul>li>a:hover{background:var(--hover-color);color:var(--hover-text-color)}.nav-horizontal.pos-start{--justify-content: flex-start}.nav-horizontal.pos-end{--justify-content: flex-end}.nav-horizontal.pos-center{--justify-content: center}.nav-horizontal.pos-stretch>ul{display:flex}.nav-horizontal.pos-stretch>ul>li{flex-grow:1}.nav-horizontal.pos-stretch>ul>li>a{width:100%;justify-content:center}.nav-horizontal{--item-padding: .65em 1.1em;--padding: 0}.nav-horizontal.size-sm{--item-padding: 2px 15px;--item-margin: 2px .2em;--font-size: .6rem}.nav-horizontal.style-pills{--pill-background: rgba(var(--nt-primary-rgb), .8);--pill-radius: .5em;--pill-text-color: var(--nt-text-on-primary);--pill-hover-background: rgba(var(--nt-primary-rgb), 1)}.nav-horizontal.style-pills>ul>li>a{background:var(--pill-background);border-radius:var(--pill-radius);--text-color: var(--pill-text-color);transition:background var(--transition),color var(--transition)}.nav-horizontal.style-pills>ul>li>a:hover,.nav-horizontal.style-pills>ul>li>a:focus{background:var(--pill-hover-background);--font-color: var(--pill-text-color)}.nav-horizontal.style-pills>ul>li>a.active,.nav-horizontal.style-pills>ul>li>a:active{background:var(--pill-hover-background);--font-color: var(--pill-text-color)}.nav-horizontal.style-undecorated{--item-padding: .65em 1.1em;--item-margin: 0;--text-color: var(--nt-text);--hover-color: transparent;--submenu-hover-color: var(--nt-primary);--hover-text-color: var(--nt-text);--submenu-hover-text-color: var(--nt-primary);--submenu-bg: var(--nt-light);--submenu-text-color: var(--nt-text)}.nav-horizontal.style-undecorated a,.nav-horizontal.style-undecorated a>*{color:rgb(from var(--text-color) r g b/var(--default-alpha));transition:color var(--transition)}.nav-horizontal.style-undecorated a:hover,.nav-horizontal.style-undecorated a:hover>*{color:rgb(from var(--text-color) r g b/1)}.nav-horizontal ul{list-style:none;padding:var(--padding);margin:0;display:flex;flex-direction:row;align-items:center;position:relative;height:100%;justify-content:var(--justify-content)}.nav-horizontal ul>li,.nav-horizontal ul li{position:relative;display:flex;align-items:center;height:inherit}.nav-horizontal ul>li>a,.nav-horizontal ul li>a{display:flex;align-items:center;margin:var(--item-margin, 0);height:100%;padding:var(--item-padding);gap:.5em;text-decoration:none;color:var(--text-color);transition:background var(--transition),color var(--transition);font-weight:500}.nav-horizontal ul>li>a.active,.nav-horizontal ul>li>a:active,.nav-horizontal ul li>a.active,.nav-horizontal ul li>a:active{background:var(--hover-color);color:var(--hover-text-color)}.nav-horizontal ul>li>a:hover,li:hover>.nav-horizontal ul>li>a,.nav-horizontal ul li>a:hover,li:hover>.nav-horizontal ul li>a{background:var(--hover-color);color:var(--hover-text-color)}.nav-horizontal ul>li>a:after,.nav-horizontal ul li>a:after{content:"";display:none;margin-left:.47em;margin-bottom:.08em;border:solid currentColor;border-width:0 2px 2px 0;padding:3px;transform:rotate(45deg) scale(.8);opacity:0;transition:opacity var(--transition),transform var(--transition)}.nav-horizontal ul>li:has(ul)>a:after,.nav-horizontal ul li:has(ul)>a:after{opacity:.55;display:inline-block}.nav-horizontal ul>li:active>a:after,.nav-horizontal ul>li:focus-within>a:after,.nav-horizontal ul li:active>a:after,.nav-horizontal ul li:focus-within>a:after{transform:rotate(-135deg) scale(.85)}.nav-horizontal ul>li>ul,.nav-horizontal ul li>ul{display:block;visibility:hidden;opacity:0;pointer-events:none;min-width:11rem;background:var(--submenu-bg)!important;position:absolute;top:100%;left:0}.nav-horizontal ul>li>ul:last-child,.nav-horizontal ul li>ul:last-child{right:0;left:auto}.nav-horizontal ul>li>ul,.nav-horizontal ul li>ul{margin-top:.3em;flex-direction:column;z-index:3;transition:opacity var(--transition),transform var(--transition),visibility var(--transition);transform:translateY(-.7em)}.nav-horizontal ul>li>ul:hover,.nav-horizontal ul>li>ul:focus-within,.nav-horizontal ul li>ul:hover,.nav-horizontal ul li>ul:focus-within{visibility:visible;opacity:1;pointer-events:all;transform:translateY(0)}.nav-horizontal ul>li>ul>li,.nav-horizontal ul li>ul>li{display:flex;height:auto;background:var(--submenu-bg)}.nav-horizontal ul>li>ul>li>a,.nav-horizontal ul li>ul>li>a{display:block;width:100%;color:var(--text-color);padding:.63em 1.3em;font-size:.99em;font-weight:400;height:auto;transition:background var(--transition),color var(--transition)}.nav-horizontal ul>li>ul>li>a:hover,.nav-horizontal ul li>ul>li>a:hover{background:var(--submenu-hover-color);color:var(--submenu-hover-text-color)}.nav-horizontal ul>li:focus-within>ul,.nav-horizontal ul li:focus-within>ul{visibility:visible;opacity:1;pointer-events:all;transform:translateY(0)}nte-navbar.is-scrolled{--bg: rgb(from var(--nt-white) r g b / 1)}nte-navbar.autoborder{--border-color: var(--nt-light)}nte-navbar.autoborder.is-scrolled::part(navbar){border-bottom:1px solid rgb(from var(--border-color) r g b/.1)}nte-navbar.autoshadow{--shadow-color: var(--nt-dark);--shadow: 0 2px 4px rgb(from var(--shadow-color) r g b / .1)}nte-navbar.autoshadow::part(navbar){transition:box-shadow .5s ease-in-out}nte-navbar.autoshadow.is-scrolled::part(navbar){box-shadow:var(--shadow)}nte-navbar.fixed::part(navbar){position:fixed;top:0;left:0;opacity:1;width:100%}nte-navbar.autohide::part(navbar){transition:transform .3s ease-in-out}nte-navbar.autohide.state-pre-scrolled.state-scrolling-down::part(navbar){transform:translateY(-100%)}nte-navbar.autohide.state-pre-scrolled.state-scrolling-up::part(navbar){transform:translateY(0);position:fixed;top:0;left:0;opacity:1;width:100%}nte-navbar.autohide.state-scrolled::part(navbar){position:fixed;top:0;left:0;opacity:1;width:100%;transform:translateY(-100%)}nte-navbar.autohide.state-scrolled.state-scrolling-up::part(navbar){transform:translateY(0);position:fixed;top:0;left:0;opacity:1;width:100%}nte-navbar-line [slot=brand]{height:100%;width:100%;display:flex;align-items:center}nte-navbar-line [slot=brand] img{height:var(--brand-height);max-height:100%;max-width:100%;width:auto;object-fit:contain}nte-navbar-line [slot=brand] a,nte-navbar-line [slot=brand] div{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;text-decoration:none;width:100%}
package/lib/nte-nav.d.ts DELETED
@@ -1,25 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- /**
3
- * <nte-nav>
4
- * <span slot="brand">Brand</span>
5
- * <a slot="links" href="/">Home</a>
6
- * ...
7
- * [optionally:] <nte-burger slot="burger"></nte-burger>
8
- * </nte-nav>
9
- */
10
- export declare class NteNav extends LitElement {
11
- static styles: import('lit').CSSResult[];
12
- accessor mode: 'master' | 'slave';
13
- accessor breakpoint: string | number;
14
- accessor transferTo: string;
15
- accessor dataGroupName: string;
16
- private accessor _isTransferred;
17
- private getOffcanvas;
18
- private getOffcanvasNav;
19
- constructor();
20
- render(): import('lit-html').TemplateResult<1>;
21
- transferToElement(targetElement: NteNav): void;
22
- protected updated(_changedProperties: PropertyValues): void;
23
- protected firstUpdated(_changedProperties: PropertyValues): void;
24
- connectedCallback(): Promise<void>;
25
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,17 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- export declare class NteNavbar extends LitElement {
3
- static get is(): string;
4
- static styles: import('lit').CSSResult[];
5
- private navbarRef;
6
- private spacerRef;
7
- accessor scrollThreshold: number;
8
- private _lastScrollY;
9
- private _scrollUpPixels;
10
- private _debouncer;
11
- constructor();
12
- private updateScrollState;
13
- connectedCallback(): Promise<void>;
14
- updated(_changedProperties: PropertyValues): Promise<void>;
15
- firstUpdated(_changedProperties: PropertyValues): void;
16
- render(): import('lit-html').TemplateResult<1>;
17
- }