@triptease/tt-navbar 0.0.30 → 0.0.32

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/dist/web/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @triptease/tt-navbar v0.0.30
2
+ * @triptease/tt-navbar v0.0.32
3
3
  */
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -865,7 +865,7 @@ var i6 = e7(class extends i5 {
865
865
  }
866
866
  });
867
867
 
868
- // ../../node_modules/@triptease/icons/dist/src/icons/chevron-down.js
868
+ // node_modules/@triptease/tt-combobox/node_modules/@triptease/icons/dist/src/icons/chevron-down.js
869
869
  var chevronDown2 = `
870
870
  <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="currentColor" class="bi bi-chevron-down chevron-down"
871
871
  viewBox="0 0 16 16" role="presentation">
@@ -874,12 +874,12 @@ var chevronDown2 = `
874
874
  stroke="currentColor"/>
875
875
  </svg>`;
876
876
 
877
- // ../../node_modules/@triptease/icons/dist/src/icons/alert.js
877
+ // node_modules/@triptease/tt-combobox/node_modules/@triptease/icons/dist/src/icons/alert.js
878
878
  var alert2 = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
879
879
  <path fill-rule="evenodd" clip-rule="evenodd" d="M10 20C15.5228 20 20 15.5228 20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20ZM9.25 5.75C9.25 5.33579 9.58579 5 10 5C10.4142 5 10.75 5.33579 10.75 5.75V11.25C10.75 11.6642 10.4142 12 10 12C9.58579 12 9.25 11.6642 9.25 11.25V5.75ZM10.75 13.75C10.75 14.1642 10.4142 14.5 10 14.5C9.58579 14.5 9.25 14.1642 9.25 13.75C9.25 13.3358 9.58579 13 10 13C10.4142 13 10.75 13.3358 10.75 13.75Z" fill="#3B353B"/>
880
880
  </svg>`;
881
881
 
882
- // ../../node_modules/@triptease/tt-combobox/dist/src/styles.js
882
+ // node_modules/@triptease/tt-combobox/dist/src/styles.js
883
883
  var styles = i`
884
884
  :host {
885
885
  display: flex;
@@ -1110,7 +1110,7 @@ var styles = i`
1110
1110
  }
1111
1111
 
1112
1112
  [aria-multiselectable="false"] [role="option"][aria-selected="true"] {
1113
- color: var(--color-primary-400);
1113
+ color: var(--tt-combobox-option-selected-color, var(--color-primary-400));
1114
1114
  font-weight: var(--font-weight-medium);
1115
1115
  }
1116
1116
 
@@ -1161,7 +1161,7 @@ var styles = i`
1161
1161
  }
1162
1162
  `;
1163
1163
 
1164
- // ../../node_modules/@triptease/tt-combobox/dist/src/TtCombobox.js
1164
+ // node_modules/@triptease/tt-combobox/dist/src/TtCombobox.js
1165
1165
  var TtCombobox = class extends i4 {
1166
1166
  get form() {
1167
1167
  return this.internals.form;
@@ -1604,7 +1604,7 @@ __decorate([
1604
1604
  n4({ type: Array, attribute: "value" })
1605
1605
  ], TtCombobox.prototype, "value", void 0);
1606
1606
 
1607
- // ../../node_modules/@triptease/tt-combobox/dist/src/tt-combobox.js
1607
+ // node_modules/@triptease/tt-combobox/dist/src/tt-combobox.js
1608
1608
  if (typeof window !== "undefined") {
1609
1609
  if (!window.customElements.get("tt-combobox")) {
1610
1610
  window.customElements.define("tt-combobox", TtCombobox);
@@ -1626,7 +1626,7 @@ var visuallyHiddenCss = i`
1626
1626
  `;
1627
1627
  var styles2 = i`
1628
1628
  :host {
1629
- --nav-bar-width: 250px;
1629
+ --nav-bar-width: 260px;
1630
1630
 
1631
1631
  display: block;
1632
1632
  height: 100vh;
@@ -1980,6 +1980,7 @@ var styles2 = i`
1980
1980
  --tt-combobox-list-max-width: 80ch;
1981
1981
  --tt-combobox-min-width: 244px;
1982
1982
  --tt-combobox-max-width: 244px;
1983
+ --tt-combobox-option-selected-color: var(--color-text-inverted-500);
1983
1984
  }
1984
1985
 
1985
1986
  .single-client-name {