@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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @triptease/tt-navbar v0.0.94
2
+ * @triptease/tt-navbar v0.0.96
3
3
  */
4
4
 
5
5
  // src/Config.ts
@@ -1,4 +1,4 @@
1
1
  /**
2
- * @triptease/tt-navbar v0.0.94
2
+ * @triptease/tt-navbar v0.0.96
3
3
  */
4
4
  //# sourceMappingURL=global.d.js.map
package/dist/web/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @triptease/tt-navbar v0.0.94
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-400, red);
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-400, red);
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-400, red);
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-400, darkred);
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);
@@ -2533,125 +2533,43 @@ export {
2533
2533
  *)
2534
2534
 
2535
2535
  @lit/reactive-element/reactive-element.js:
2536
- (**
2537
- * @license
2538
- * Copyright 2017 Google LLC
2539
- * SPDX-License-Identifier: BSD-3-Clause
2540
- *)
2541
-
2542
2536
  lit-html/lit-html.js:
2543
- (**
2544
- * @license
2545
- * Copyright 2017 Google LLC
2546
- * SPDX-License-Identifier: BSD-3-Clause
2547
- *)
2548
-
2549
2537
  lit-element/lit-element.js:
2550
- (**
2551
- * @license
2552
- * Copyright 2017 Google LLC
2553
- * SPDX-License-Identifier: BSD-3-Clause
2554
- *)
2555
-
2556
- lit-html/is-server.js:
2557
- (**
2558
- * @license
2559
- * Copyright 2022 Google LLC
2560
- * SPDX-License-Identifier: BSD-3-Clause
2561
- *)
2562
-
2563
2538
  @lit/reactive-element/decorators/custom-element.js:
2564
- (**
2565
- * @license
2566
- * Copyright 2017 Google LLC
2567
- * SPDX-License-Identifier: BSD-3-Clause
2568
- *)
2569
-
2570
2539
  @lit/reactive-element/decorators/property.js:
2571
- (**
2572
- * @license
2573
- * Copyright 2017 Google LLC
2574
- * SPDX-License-Identifier: BSD-3-Clause
2575
- *)
2576
-
2577
2540
  @lit/reactive-element/decorators/state.js:
2578
- (**
2579
- * @license
2580
- * Copyright 2017 Google LLC
2581
- * SPDX-License-Identifier: BSD-3-Clause
2582
- *)
2583
-
2584
2541
  @lit/reactive-element/decorators/event-options.js:
2585
- (**
2586
- * @license
2587
- * Copyright 2017 Google LLC
2588
- * SPDX-License-Identifier: BSD-3-Clause
2589
- *)
2590
-
2591
2542
  @lit/reactive-element/decorators/base.js:
2592
- (**
2593
- * @license
2594
- * Copyright 2017 Google LLC
2595
- * SPDX-License-Identifier: BSD-3-Clause
2596
- *)
2597
-
2598
2543
  @lit/reactive-element/decorators/query.js:
2599
- (**
2600
- * @license
2601
- * Copyright 2017 Google LLC
2602
- * SPDX-License-Identifier: BSD-3-Clause
2603
- *)
2604
-
2605
2544
  @lit/reactive-element/decorators/query-all.js:
2606
- (**
2607
- * @license
2608
- * Copyright 2017 Google LLC
2609
- * SPDX-License-Identifier: BSD-3-Clause
2610
- *)
2611
-
2612
2545
  @lit/reactive-element/decorators/query-async.js:
2613
- (**
2614
- * @license
2615
- * Copyright 2017 Google LLC
2616
- * SPDX-License-Identifier: BSD-3-Clause
2617
- *)
2618
-
2619
- @lit/reactive-element/decorators/query-assigned-elements.js:
2620
- (**
2621
- * @license
2622
- * Copyright 2021 Google LLC
2623
- * SPDX-License-Identifier: BSD-3-Clause
2624
- *)
2625
-
2626
2546
  @lit/reactive-element/decorators/query-assigned-nodes.js:
2627
- (**
2628
- * @license
2629
- * Copyright 2017 Google LLC
2630
- * SPDX-License-Identifier: BSD-3-Clause
2631
- *)
2632
-
2633
2547
  lit-html/directive.js:
2548
+ lit-html/directives/unsafe-html.js:
2549
+ lit-html/directives/unsafe-svg.js:
2550
+ lit-html/directives/repeat.js:
2634
2551
  (**
2635
2552
  * @license
2636
2553
  * Copyright 2017 Google LLC
2637
2554
  * SPDX-License-Identifier: BSD-3-Clause
2638
2555
  *)
2639
2556
 
2640
- lit-html/directives/unsafe-html.js:
2557
+ lit-html/is-server.js:
2641
2558
  (**
2642
2559
  * @license
2643
- * Copyright 2017 Google LLC
2560
+ * Copyright 2022 Google LLC
2644
2561
  * SPDX-License-Identifier: BSD-3-Clause
2645
2562
  *)
2646
2563
 
2647
- lit-html/directives/unsafe-svg.js:
2564
+ @lit/reactive-element/decorators/query-assigned-elements.js:
2648
2565
  (**
2649
2566
  * @license
2650
- * Copyright 2017 Google LLC
2567
+ * Copyright 2021 Google LLC
2651
2568
  * SPDX-License-Identifier: BSD-3-Clause
2652
2569
  *)
2653
2570
 
2654
2571
  lit-html/directives/if-defined.js:
2572
+ lit-html/directives/guard.js:
2655
2573
  (**
2656
2574
  * @license
2657
2575
  * Copyright 2018 Google LLC
@@ -2664,19 +2582,5 @@ lit-html/directive-helpers.js:
2664
2582
  * Copyright 2020 Google LLC
2665
2583
  * SPDX-License-Identifier: BSD-3-Clause
2666
2584
  *)
2667
-
2668
- lit-html/directives/repeat.js:
2669
- (**
2670
- * @license
2671
- * Copyright 2017 Google LLC
2672
- * SPDX-License-Identifier: BSD-3-Clause
2673
- *)
2674
-
2675
- lit-html/directives/guard.js:
2676
- (**
2677
- * @license
2678
- * Copyright 2018 Google LLC
2679
- * SPDX-License-Identifier: BSD-3-Clause
2680
- *)
2681
2585
  */
2682
2586
  //# sourceMappingURL=index.js.map