@triptease/tt-navbar 0.0.94 → 0.0.96
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 +15 -0
- package/dist/web/Config.js +1 -1
- package/dist/web/Routes.js +1 -1
- package/dist/web/TtNavbar.js +31 -127
- package/dist/web/TtNavbar.js.map +2 -2
- package/dist/web/getInitialNavbarState.js +1 -1
- package/dist/web/global.d.js +1 -1
- package/dist/web/index.js +31 -127
- package/dist/web/index.js.map +2 -2
- package/dist/web/styles.js +15 -27
- package/dist/web/styles.js.map +1 -1
- package/dist/web/triptease-logo.js +1 -1
- package/dist/web/tt-navbar.js +31 -127
- package/dist/web/tt-navbar.js.map +2 -2
- package/dist/web/urlMappings.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @triptease/tt-navbar
|
|
2
2
|
|
|
3
|
+
## 0.0.96
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @triptease/tt-combobox@5.6.7
|
|
9
|
+
|
|
10
|
+
## 0.0.95
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
- @triptease/icons@1.3.14
|
|
16
|
+
- @triptease/tt-combobox@5.6.6
|
|
17
|
+
|
|
3
18
|
## 0.0.94
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/web/Config.js
CHANGED
package/dist/web/Routes.js
CHANGED
package/dist/web/TtNavbar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @triptease/tt-navbar v0.0.
|
|
2
|
+
* @triptease/tt-navbar v0.0.96
|
|
3
3
|
*/
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -15,7 +15,7 @@ var __decorateClass = (decorators, target2, key, kind) => {
|
|
|
15
15
|
// ../../node_modules/@lit/reactive-element/css-tag.js
|
|
16
16
|
var t = globalThis;
|
|
17
17
|
var e = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
|
|
18
|
-
var s = Symbol();
|
|
18
|
+
var s = /* @__PURE__ */ Symbol();
|
|
19
19
|
var o = /* @__PURE__ */ new WeakMap();
|
|
20
20
|
var n = class {
|
|
21
21
|
constructor(t6, e10, o10) {
|
|
@@ -37,15 +37,15 @@ var n = class {
|
|
|
37
37
|
};
|
|
38
38
|
var r = (t6) => new n("string" == typeof t6 ? t6 : t6 + "", void 0, s);
|
|
39
39
|
var i = (t6, ...e10) => {
|
|
40
|
-
const o10 = 1 === t6.length ? t6[0] : e10.reduce((e11, s5, o11) => e11 + ((t7) => {
|
|
40
|
+
const o10 = 1 === t6.length ? t6[0] : e10.reduce(((e11, s5, o11) => e11 + ((t7) => {
|
|
41
41
|
if (true === t7._$cssResult$) return t7.cssText;
|
|
42
42
|
if ("number" == typeof t7) return t7;
|
|
43
43
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + t7 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
44
|
-
})(s5) + t6[o11 + 1], t6[0]);
|
|
44
|
+
})(s5) + t6[o11 + 1]), t6[0]);
|
|
45
45
|
return new n(o10, t6, s);
|
|
46
46
|
};
|
|
47
47
|
var S = (s5, o10) => {
|
|
48
|
-
if (e) s5.adoptedStyleSheets = o10.map((t6) => t6 instanceof CSSStyleSheet ? t6 : t6.styleSheet);
|
|
48
|
+
if (e) s5.adoptedStyleSheets = o10.map(((t6) => t6 instanceof CSSStyleSheet ? t6 : t6.styleSheet));
|
|
49
49
|
else for (const e10 of o10) {
|
|
50
50
|
const o11 = document.createElement("style"), n5 = t.litNonce;
|
|
51
51
|
void 0 !== n5 && o11.setAttribute("nonce", n5), o11.textContent = e10.cssText, s5.appendChild(o11);
|
|
@@ -95,7 +95,7 @@ var u = { toAttribute(t6, s5) {
|
|
|
95
95
|
} };
|
|
96
96
|
var f = (t6, s5) => !i2(t6, s5);
|
|
97
97
|
var b = { attribute: true, type: String, converter: u, reflect: false, useDefault: false, hasChanged: f };
|
|
98
|
-
Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), a.litPropertyMetadata ?? (a.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
98
|
+
Symbol.metadata ?? (Symbol.metadata = /* @__PURE__ */ Symbol("metadata")), a.litPropertyMetadata ?? (a.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
99
99
|
var y = class extends HTMLElement {
|
|
100
100
|
static addInitializer(t6) {
|
|
101
101
|
this._$Ei(), (this.l ?? (this.l = [])).push(t6);
|
|
@@ -105,7 +105,7 @@ var y = class extends HTMLElement {
|
|
|
105
105
|
}
|
|
106
106
|
static createProperty(t6, s5 = b) {
|
|
107
107
|
if (s5.state && (s5.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t6) && ((s5 = Object.create(s5)).wrapped = true), this.elementProperties.set(t6, s5), !s5.noAccessor) {
|
|
108
|
-
const i7 = Symbol(), h3 = this.getPropertyDescriptor(t6, i7, s5);
|
|
108
|
+
const i7 = /* @__PURE__ */ Symbol(), h3 = this.getPropertyDescriptor(t6, i7, s5);
|
|
109
109
|
void 0 !== h3 && e2(this.prototype, t6, h3);
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -162,7 +162,7 @@ var y = class extends HTMLElement {
|
|
|
162
162
|
super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
|
|
163
163
|
}
|
|
164
164
|
_$Ev() {
|
|
165
|
-
this._$ES = new Promise((t6) => this.enableUpdating = t6), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t6) => t6(this));
|
|
165
|
+
this._$ES = new Promise(((t6) => this.enableUpdating = t6)), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(((t6) => t6(this)));
|
|
166
166
|
}
|
|
167
167
|
addController(t6) {
|
|
168
168
|
(this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t6), void 0 !== this.renderRoot && this.isConnected && t6.hostConnected?.();
|
|
@@ -180,12 +180,12 @@ var y = class extends HTMLElement {
|
|
|
180
180
|
return S(t6, this.constructor.elementStyles), t6;
|
|
181
181
|
}
|
|
182
182
|
connectedCallback() {
|
|
183
|
-
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(true), this._$EO?.forEach((t6) => t6.hostConnected?.());
|
|
183
|
+
this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(true), this._$EO?.forEach(((t6) => t6.hostConnected?.()));
|
|
184
184
|
}
|
|
185
185
|
enableUpdating(t6) {
|
|
186
186
|
}
|
|
187
187
|
disconnectedCallback() {
|
|
188
|
-
this._$EO?.forEach((t6) => t6.hostDisconnected?.());
|
|
188
|
+
this._$EO?.forEach(((t6) => t6.hostDisconnected?.()));
|
|
189
189
|
}
|
|
190
190
|
attributeChangedCallback(t6, s5, i7) {
|
|
191
191
|
this._$AK(t6, i7);
|
|
@@ -244,7 +244,7 @@ var y = class extends HTMLElement {
|
|
|
244
244
|
let t6 = false;
|
|
245
245
|
const s5 = this._$AL;
|
|
246
246
|
try {
|
|
247
|
-
t6 = this.shouldUpdate(s5), t6 ? (this.willUpdate(s5), this._$EO?.forEach((t7) => t7.hostUpdate?.()), this.update(s5)) : this._$EM();
|
|
247
|
+
t6 = this.shouldUpdate(s5), t6 ? (this.willUpdate(s5), this._$EO?.forEach(((t7) => t7.hostUpdate?.())), this.update(s5)) : this._$EM();
|
|
248
248
|
} catch (s6) {
|
|
249
249
|
throw t6 = false, this._$EM(), s6;
|
|
250
250
|
}
|
|
@@ -253,7 +253,7 @@ var y = class extends HTMLElement {
|
|
|
253
253
|
willUpdate(t6) {
|
|
254
254
|
}
|
|
255
255
|
_$AE(t6) {
|
|
256
|
-
this._$EO?.forEach((t7) => t7.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t6)), this.updated(t6);
|
|
256
|
+
this._$EO?.forEach(((t7) => t7.hostUpdated?.())), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t6)), this.updated(t6);
|
|
257
257
|
}
|
|
258
258
|
_$EM() {
|
|
259
259
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
|
|
@@ -268,7 +268,7 @@ var y = class extends HTMLElement {
|
|
|
268
268
|
return true;
|
|
269
269
|
}
|
|
270
270
|
update(t6) {
|
|
271
|
-
this._$Eq && (this._$Eq = this._$Eq.forEach((t7) => this._$ET(t7, this[t7]))), this._$EM();
|
|
271
|
+
this._$Eq && (this._$Eq = this._$Eq.forEach(((t7) => this._$ET(t7, this[t7])))), this._$EM();
|
|
272
272
|
}
|
|
273
273
|
updated(t6) {
|
|
274
274
|
}
|
|
@@ -303,8 +303,8 @@ var y2 = (t6) => (i7, ...s5) => ({ _$litType$: t6, strings: i7, values: s5 });
|
|
|
303
303
|
var x = y2(1);
|
|
304
304
|
var b2 = y2(2);
|
|
305
305
|
var w = y2(3);
|
|
306
|
-
var T = Symbol.for("lit-noChange");
|
|
307
|
-
var E = Symbol.for("lit-nothing");
|
|
306
|
+
var T = /* @__PURE__ */ Symbol.for("lit-noChange");
|
|
307
|
+
var E = /* @__PURE__ */ Symbol.for("lit-nothing");
|
|
308
308
|
var A = /* @__PURE__ */ new WeakMap();
|
|
309
309
|
var C = r3.createTreeWalker(r3, 129);
|
|
310
310
|
function P(t6, i7) {
|
|
@@ -604,8 +604,8 @@ function e5(e10, r8) {
|
|
|
604
604
|
return (n5, s5, i7) => {
|
|
605
605
|
const o10 = (t6) => t6.renderRoot?.querySelector(e10) ?? null;
|
|
606
606
|
if (r8) {
|
|
607
|
-
const { get: e11, set: r9 } = "object" == typeof s5 ? n5 : i7 ?? (() => {
|
|
608
|
-
const t6 = Symbol();
|
|
607
|
+
const { get: e11, set: r9 } = "object" == typeof s5 ? n5 : i7 ?? /* @__PURE__ */ (() => {
|
|
608
|
+
const t6 = /* @__PURE__ */ Symbol();
|
|
609
609
|
return { get() {
|
|
610
610
|
return this[t6];
|
|
611
611
|
}, set(e12) {
|
|
@@ -637,7 +637,7 @@ function o6(o10) {
|
|
|
637
637
|
const { slot: r8, selector: s5 } = o10 ?? {}, c5 = "slot" + (r8 ? `[name=${r8}]` : ":not([name])");
|
|
638
638
|
return e4(e10, n5, { get() {
|
|
639
639
|
const t6 = this.renderRoot?.querySelector(c5), e11 = t6?.assignedElements(o10) ?? [];
|
|
640
|
-
return void 0 === s5 ? e11 : e11.filter((t7) => t7.matches(s5));
|
|
640
|
+
return void 0 === s5 ? e11 : e11.filter(((t7) => t7.matches(s5)));
|
|
641
641
|
} });
|
|
642
642
|
};
|
|
643
643
|
}
|
|
@@ -856,7 +856,7 @@ var i6 = e7(class extends i5 {
|
|
|
856
856
|
}
|
|
857
857
|
update(t6, [s5, e10]) {
|
|
858
858
|
if (Array.isArray(s5)) {
|
|
859
|
-
if (Array.isArray(this.ot) && this.ot.length === s5.length && s5.every((r8, t7) => r8 === this.ot[t7])) return T;
|
|
859
|
+
if (Array.isArray(this.ot) && this.ot.length === s5.length && s5.every(((r8, t7) => r8 === this.ot[t7]))) return T;
|
|
860
860
|
} else if (this.ot === s5) return T;
|
|
861
861
|
return this.ot = Array.isArray(s5) ? Array.from(s5) : s5, this.render(s5, e10);
|
|
862
862
|
}
|
|
@@ -893,7 +893,7 @@ var styles = i`
|
|
|
893
893
|
|
|
894
894
|
:host([invalid]) .tt-combobox-container,
|
|
895
895
|
:host(:state(interacted):invalid) .tt-combobox-container {
|
|
896
|
-
outline: 1px solid var(--color-alert-
|
|
896
|
+
outline: 1px solid var(--color-alert-strong);
|
|
897
897
|
}
|
|
898
898
|
|
|
899
899
|
.errormessage {
|
|
@@ -901,7 +901,7 @@ var styles = i`
|
|
|
901
901
|
display: flex;
|
|
902
902
|
align-items: center;
|
|
903
903
|
gap: var(--space-scale-0-5);
|
|
904
|
-
color: var(--color-alert-
|
|
904
|
+
color: var(--color-alert-strong);
|
|
905
905
|
|
|
906
906
|
&[data-hidden] {
|
|
907
907
|
display: none;
|
|
@@ -909,7 +909,7 @@ var styles = i`
|
|
|
909
909
|
}
|
|
910
910
|
|
|
911
911
|
.errormessage svg path {
|
|
912
|
-
fill: var(--color-alert-
|
|
912
|
+
fill: var(--color-alert-strong);
|
|
913
913
|
height: 20px;
|
|
914
914
|
}
|
|
915
915
|
|
|
@@ -918,7 +918,7 @@ var styles = i`
|
|
|
918
918
|
}
|
|
919
919
|
|
|
920
920
|
:has([role='combobox'][aria-invalid='true']) ::slotted([slot='error']) {
|
|
921
|
-
color: var(--color-alert-
|
|
921
|
+
color: var(--color-alert-strong);
|
|
922
922
|
font-size: var(--font-size-100);
|
|
923
923
|
margin: 0;
|
|
924
924
|
font-weight: var(--font-weight-regular);
|
|
@@ -2513,125 +2513,43 @@ export {
|
|
|
2513
2513
|
*)
|
|
2514
2514
|
|
|
2515
2515
|
@lit/reactive-element/reactive-element.js:
|
|
2516
|
-
(**
|
|
2517
|
-
* @license
|
|
2518
|
-
* Copyright 2017 Google LLC
|
|
2519
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2520
|
-
*)
|
|
2521
|
-
|
|
2522
2516
|
lit-html/lit-html.js:
|
|
2523
|
-
(**
|
|
2524
|
-
* @license
|
|
2525
|
-
* Copyright 2017 Google LLC
|
|
2526
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2527
|
-
*)
|
|
2528
|
-
|
|
2529
2517
|
lit-element/lit-element.js:
|
|
2530
|
-
(**
|
|
2531
|
-
* @license
|
|
2532
|
-
* Copyright 2017 Google LLC
|
|
2533
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2534
|
-
*)
|
|
2535
|
-
|
|
2536
|
-
lit-html/is-server.js:
|
|
2537
|
-
(**
|
|
2538
|
-
* @license
|
|
2539
|
-
* Copyright 2022 Google LLC
|
|
2540
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2541
|
-
*)
|
|
2542
|
-
|
|
2543
2518
|
@lit/reactive-element/decorators/custom-element.js:
|
|
2544
|
-
(**
|
|
2545
|
-
* @license
|
|
2546
|
-
* Copyright 2017 Google LLC
|
|
2547
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2548
|
-
*)
|
|
2549
|
-
|
|
2550
2519
|
@lit/reactive-element/decorators/property.js:
|
|
2551
|
-
(**
|
|
2552
|
-
* @license
|
|
2553
|
-
* Copyright 2017 Google LLC
|
|
2554
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2555
|
-
*)
|
|
2556
|
-
|
|
2557
2520
|
@lit/reactive-element/decorators/state.js:
|
|
2558
|
-
(**
|
|
2559
|
-
* @license
|
|
2560
|
-
* Copyright 2017 Google LLC
|
|
2561
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2562
|
-
*)
|
|
2563
|
-
|
|
2564
2521
|
@lit/reactive-element/decorators/event-options.js:
|
|
2565
|
-
(**
|
|
2566
|
-
* @license
|
|
2567
|
-
* Copyright 2017 Google LLC
|
|
2568
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2569
|
-
*)
|
|
2570
|
-
|
|
2571
2522
|
@lit/reactive-element/decorators/base.js:
|
|
2572
|
-
(**
|
|
2573
|
-
* @license
|
|
2574
|
-
* Copyright 2017 Google LLC
|
|
2575
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2576
|
-
*)
|
|
2577
|
-
|
|
2578
2523
|
@lit/reactive-element/decorators/query.js:
|
|
2579
|
-
(**
|
|
2580
|
-
* @license
|
|
2581
|
-
* Copyright 2017 Google LLC
|
|
2582
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2583
|
-
*)
|
|
2584
|
-
|
|
2585
2524
|
@lit/reactive-element/decorators/query-all.js:
|
|
2586
|
-
(**
|
|
2587
|
-
* @license
|
|
2588
|
-
* Copyright 2017 Google LLC
|
|
2589
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2590
|
-
*)
|
|
2591
|
-
|
|
2592
2525
|
@lit/reactive-element/decorators/query-async.js:
|
|
2593
|
-
(**
|
|
2594
|
-
* @license
|
|
2595
|
-
* Copyright 2017 Google LLC
|
|
2596
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2597
|
-
*)
|
|
2598
|
-
|
|
2599
|
-
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
2600
|
-
(**
|
|
2601
|
-
* @license
|
|
2602
|
-
* Copyright 2021 Google LLC
|
|
2603
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2604
|
-
*)
|
|
2605
|
-
|
|
2606
2526
|
@lit/reactive-element/decorators/query-assigned-nodes.js:
|
|
2607
|
-
(**
|
|
2608
|
-
* @license
|
|
2609
|
-
* Copyright 2017 Google LLC
|
|
2610
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2611
|
-
*)
|
|
2612
|
-
|
|
2613
2527
|
lit-html/directive.js:
|
|
2528
|
+
lit-html/directives/unsafe-html.js:
|
|
2529
|
+
lit-html/directives/unsafe-svg.js:
|
|
2530
|
+
lit-html/directives/repeat.js:
|
|
2614
2531
|
(**
|
|
2615
2532
|
* @license
|
|
2616
2533
|
* Copyright 2017 Google LLC
|
|
2617
2534
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2618
2535
|
*)
|
|
2619
2536
|
|
|
2620
|
-
lit-html/
|
|
2537
|
+
lit-html/is-server.js:
|
|
2621
2538
|
(**
|
|
2622
2539
|
* @license
|
|
2623
|
-
* Copyright
|
|
2540
|
+
* Copyright 2022 Google LLC
|
|
2624
2541
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2625
2542
|
*)
|
|
2626
2543
|
|
|
2627
|
-
lit-
|
|
2544
|
+
@lit/reactive-element/decorators/query-assigned-elements.js:
|
|
2628
2545
|
(**
|
|
2629
2546
|
* @license
|
|
2630
|
-
* Copyright
|
|
2547
|
+
* Copyright 2021 Google LLC
|
|
2631
2548
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2632
2549
|
*)
|
|
2633
2550
|
|
|
2634
2551
|
lit-html/directives/if-defined.js:
|
|
2552
|
+
lit-html/directives/guard.js:
|
|
2635
2553
|
(**
|
|
2636
2554
|
* @license
|
|
2637
2555
|
* Copyright 2018 Google LLC
|
|
@@ -2644,19 +2562,5 @@ lit-html/directive-helpers.js:
|
|
|
2644
2562
|
* Copyright 2020 Google LLC
|
|
2645
2563
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2646
2564
|
*)
|
|
2647
|
-
|
|
2648
|
-
lit-html/directives/repeat.js:
|
|
2649
|
-
(**
|
|
2650
|
-
* @license
|
|
2651
|
-
* Copyright 2017 Google LLC
|
|
2652
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2653
|
-
*)
|
|
2654
|
-
|
|
2655
|
-
lit-html/directives/guard.js:
|
|
2656
|
-
(**
|
|
2657
|
-
* @license
|
|
2658
|
-
* Copyright 2018 Google LLC
|
|
2659
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
2660
|
-
*)
|
|
2661
2565
|
*/
|
|
2662
2566
|
//# sourceMappingURL=TtNavbar.js.map
|