@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
  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);
@@ -2517,125 +2517,43 @@ if (typeof window !== "undefined") {
2517
2517
  *)
2518
2518
 
2519
2519
  @lit/reactive-element/reactive-element.js:
2520
- (**
2521
- * @license
2522
- * Copyright 2017 Google LLC
2523
- * SPDX-License-Identifier: BSD-3-Clause
2524
- *)
2525
-
2526
2520
  lit-html/lit-html.js:
2527
- (**
2528
- * @license
2529
- * Copyright 2017 Google LLC
2530
- * SPDX-License-Identifier: BSD-3-Clause
2531
- *)
2532
-
2533
2521
  lit-element/lit-element.js:
2534
- (**
2535
- * @license
2536
- * Copyright 2017 Google LLC
2537
- * SPDX-License-Identifier: BSD-3-Clause
2538
- *)
2539
-
2540
- lit-html/is-server.js:
2541
- (**
2542
- * @license
2543
- * Copyright 2022 Google LLC
2544
- * SPDX-License-Identifier: BSD-3-Clause
2545
- *)
2546
-
2547
2522
  @lit/reactive-element/decorators/custom-element.js:
2548
- (**
2549
- * @license
2550
- * Copyright 2017 Google LLC
2551
- * SPDX-License-Identifier: BSD-3-Clause
2552
- *)
2553
-
2554
2523
  @lit/reactive-element/decorators/property.js:
2555
- (**
2556
- * @license
2557
- * Copyright 2017 Google LLC
2558
- * SPDX-License-Identifier: BSD-3-Clause
2559
- *)
2560
-
2561
2524
  @lit/reactive-element/decorators/state.js:
2562
- (**
2563
- * @license
2564
- * Copyright 2017 Google LLC
2565
- * SPDX-License-Identifier: BSD-3-Clause
2566
- *)
2567
-
2568
2525
  @lit/reactive-element/decorators/event-options.js:
2569
- (**
2570
- * @license
2571
- * Copyright 2017 Google LLC
2572
- * SPDX-License-Identifier: BSD-3-Clause
2573
- *)
2574
-
2575
2526
  @lit/reactive-element/decorators/base.js:
2576
- (**
2577
- * @license
2578
- * Copyright 2017 Google LLC
2579
- * SPDX-License-Identifier: BSD-3-Clause
2580
- *)
2581
-
2582
2527
  @lit/reactive-element/decorators/query.js:
2583
- (**
2584
- * @license
2585
- * Copyright 2017 Google LLC
2586
- * SPDX-License-Identifier: BSD-3-Clause
2587
- *)
2588
-
2589
2528
  @lit/reactive-element/decorators/query-all.js:
2590
- (**
2591
- * @license
2592
- * Copyright 2017 Google LLC
2593
- * SPDX-License-Identifier: BSD-3-Clause
2594
- *)
2595
-
2596
2529
  @lit/reactive-element/decorators/query-async.js:
2597
- (**
2598
- * @license
2599
- * Copyright 2017 Google LLC
2600
- * SPDX-License-Identifier: BSD-3-Clause
2601
- *)
2602
-
2603
- @lit/reactive-element/decorators/query-assigned-elements.js:
2604
- (**
2605
- * @license
2606
- * Copyright 2021 Google LLC
2607
- * SPDX-License-Identifier: BSD-3-Clause
2608
- *)
2609
-
2610
2530
  @lit/reactive-element/decorators/query-assigned-nodes.js:
2611
- (**
2612
- * @license
2613
- * Copyright 2017 Google LLC
2614
- * SPDX-License-Identifier: BSD-3-Clause
2615
- *)
2616
-
2617
2531
  lit-html/directive.js:
2532
+ lit-html/directives/unsafe-html.js:
2533
+ lit-html/directives/unsafe-svg.js:
2534
+ lit-html/directives/repeat.js:
2618
2535
  (**
2619
2536
  * @license
2620
2537
  * Copyright 2017 Google LLC
2621
2538
  * SPDX-License-Identifier: BSD-3-Clause
2622
2539
  *)
2623
2540
 
2624
- lit-html/directives/unsafe-html.js:
2541
+ lit-html/is-server.js:
2625
2542
  (**
2626
2543
  * @license
2627
- * Copyright 2017 Google LLC
2544
+ * Copyright 2022 Google LLC
2628
2545
  * SPDX-License-Identifier: BSD-3-Clause
2629
2546
  *)
2630
2547
 
2631
- lit-html/directives/unsafe-svg.js:
2548
+ @lit/reactive-element/decorators/query-assigned-elements.js:
2632
2549
  (**
2633
2550
  * @license
2634
- * Copyright 2017 Google LLC
2551
+ * Copyright 2021 Google LLC
2635
2552
  * SPDX-License-Identifier: BSD-3-Clause
2636
2553
  *)
2637
2554
 
2638
2555
  lit-html/directives/if-defined.js:
2556
+ lit-html/directives/guard.js:
2639
2557
  (**
2640
2558
  * @license
2641
2559
  * Copyright 2018 Google LLC
@@ -2648,19 +2566,5 @@ lit-html/directive-helpers.js:
2648
2566
  * Copyright 2020 Google LLC
2649
2567
  * SPDX-License-Identifier: BSD-3-Clause
2650
2568
  *)
2651
-
2652
- lit-html/directives/repeat.js:
2653
- (**
2654
- * @license
2655
- * Copyright 2017 Google LLC
2656
- * SPDX-License-Identifier: BSD-3-Clause
2657
- *)
2658
-
2659
- lit-html/directives/guard.js:
2660
- (**
2661
- * @license
2662
- * Copyright 2018 Google LLC
2663
- * SPDX-License-Identifier: BSD-3-Clause
2664
- *)
2665
2569
  */
2666
2570
  //# sourceMappingURL=tt-navbar.js.map