@triptease/tt-navbar 0.0.61 → 0.0.62
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/Config.js +1 -1
- package/dist/web/Routes.js +1 -1
- package/dist/web/TtNavbar.js +10 -19
- package/dist/web/TtNavbar.js.map +4 -4
- package/dist/web/getInitialNavbarState.js +1 -1
- package/dist/web/global.d.js +1 -1
- package/dist/web/index.js +10 -19
- package/dist/web/index.js.map +4 -4
- package/dist/web/styles.js +1 -1
- package/dist/web/triptease-logo.js +1 -1
- package/dist/web/tt-navbar.js +10 -19
- package/dist/web/tt-navbar.js.map +4 -4
- package/dist/web/urlMappings.js +1 -1
- package/package.json +2 -2
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.62
|
|
3
3
|
*/
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -686,6 +686,11 @@ var t4 = class extends e8 {
|
|
|
686
686
|
t4.directiveName = "unsafeSVG", t4.resultType = 2;
|
|
687
687
|
var o8 = e7(t4);
|
|
688
688
|
|
|
689
|
+
// node_modules/@triptease/icons/dist/src/icons/alert.js
|
|
690
|
+
var alert = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
691
|
+
<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"/>
|
|
692
|
+
</svg>`;
|
|
693
|
+
|
|
689
694
|
// node_modules/@triptease/icons/dist/src/icons/campaigns.js
|
|
690
695
|
var campaigns = `<svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
691
696
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.75 11C13.75 9.47056 14.1646 8.11984 14.7956 7.17338C15.1658 6.61803 15.5905 6.22612 16.0341 5.99602L17.0795 5.75165C17.8298 5.78274 18.5916 6.25415 19.2044 7.17338C19.8354 8.11984 20.25 9.47056 20.25 11C20.25 12.5294 19.8354 13.8802 19.2044 14.8266C18.5916 15.7458 17.8298 16.2173 17.0794 16.2484L16.0341 16.004C15.5905 15.7739 15.1659 15.382 14.7956 14.8266C14.1646 13.8802 13.75 12.5294 13.75 11ZM12.25 11C12.25 9.3468 12.6627 7.80949 13.373 6.61808L5.48783 8.46138C4.46994 8.69932 3.75 9.60698 3.75 10.6523V11.3477C3.75 12.393 4.46994 13.3007 5.48783 13.5386L13.373 15.3819C12.6627 14.1905 12.25 12.6532 12.25 11ZM5.14639 7.00075L15.5263 4.57427C15.9817 4.36663 16.4756 4.25 17 4.25C18.4334 4.25 19.6392 5.12146 20.4525 6.34133C21.2692 7.56645 21.75 9.21573 21.75 11C21.75 12.7843 21.2692 14.4335 20.4525 15.6587C19.6392 16.8785 18.4334 17.75 17 17.75C16.4756 17.75 15.9817 17.6334 15.5263 17.4257L11.75 16.5429V17.5C11.75 19.2949 10.2949 20.75 8.5 20.75C6.70507 20.75 5.25 19.2949 5.25 17.5V15.0235L5.14639 14.9992C3.4499 14.6027 2.25 13.0899 2.25 11.3477V10.6523C2.25 8.91009 3.4499 7.39734 5.14639 7.00075ZM6.75 15.3741V17.5C6.75 18.4665 7.5335 19.25 8.5 19.25C9.4665 19.25 10.25 18.4665 10.25 17.5V16.1923L6.75 15.3741Z" />
|
|
@@ -865,20 +870,6 @@ var i6 = e7(class extends i5 {
|
|
|
865
870
|
}
|
|
866
871
|
});
|
|
867
872
|
|
|
868
|
-
// node_modules/@triptease/tt-combobox/node_modules/@triptease/icons/dist/src/icons/chevron-down.js
|
|
869
|
-
var chevronDown2 = `
|
|
870
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="currentColor" class="bi bi-chevron-down chevron-down"
|
|
871
|
-
viewBox="0 0 16 16" role="presentation">
|
|
872
|
-
<path fill-rule="evenodd"
|
|
873
|
-
d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"
|
|
874
|
-
stroke="currentColor"/>
|
|
875
|
-
</svg>`;
|
|
876
|
-
|
|
877
|
-
// node_modules/@triptease/tt-combobox/node_modules/@triptease/icons/dist/src/icons/alert.js
|
|
878
|
-
var alert2 = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
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
|
-
</svg>`;
|
|
881
|
-
|
|
882
873
|
// node_modules/@triptease/tt-combobox/dist/src/styles.js
|
|
883
874
|
var styles = i`
|
|
884
875
|
:host {
|
|
@@ -1246,7 +1237,7 @@ var TtCombobox = class extends i4 {
|
|
|
1246
1237
|
this._renderChevron = () => x`
|
|
1247
1238
|
<button type="button" aria-label="Expand" @click="${this._onChevronClick}" aria-expanded="${this._expanded}"
|
|
1248
1239
|
aria-controls="${this.id}-list" tabindex="-1" ?disabled=${this.disabled} part="arrow">
|
|
1249
|
-
${o8(
|
|
1240
|
+
${o8(chevronDown)}
|
|
1250
1241
|
</button>
|
|
1251
1242
|
`;
|
|
1252
1243
|
this.internals = this.attachInternals();
|
|
@@ -1405,7 +1396,7 @@ var TtCombobox = class extends i4 {
|
|
|
1405
1396
|
}
|
|
1406
1397
|
_onInput(event) {
|
|
1407
1398
|
const input = event.target;
|
|
1408
|
-
const filter2 = input.value
|
|
1399
|
+
const filter2 = input.value;
|
|
1409
1400
|
if (filter2 !== "" && !this._expanded) {
|
|
1410
1401
|
this._expanded = true;
|
|
1411
1402
|
}
|
|
@@ -1468,7 +1459,7 @@ var TtCombobox = class extends i4 {
|
|
|
1468
1459
|
/>`;
|
|
1469
1460
|
}
|
|
1470
1461
|
_renderOption(option) {
|
|
1471
|
-
const hidden = Boolean(this._filter !== "" && !option.value.toLowerCase().includes(this._filter) && !option.innerText.toLowerCase().includes(this._filter) || option.hidden);
|
|
1462
|
+
const hidden = Boolean(this._filter !== "" && !option.value.toLowerCase().includes(this._filter.toLowerCase()) && !option.innerText.toLowerCase().includes(this._filter.toLowerCase()) || option.hidden);
|
|
1472
1463
|
const id = `${this.id}-option-${option.value}`;
|
|
1473
1464
|
const active = this._getActiveOptionId() === id;
|
|
1474
1465
|
const selected = Boolean(this.multiselect && option.selected);
|
|
@@ -1519,7 +1510,7 @@ var TtCombobox = class extends i4 {
|
|
|
1519
1510
|
<slot name="option" @slotchange=${() => this.requestUpdate("options")}></slot>
|
|
1520
1511
|
<div class="errormessage" id="error-msg-${this.id}" role="alert" aria-atomic="true"
|
|
1521
1512
|
?data-hidden="${!this._hasErrorContent()}" part="error">
|
|
1522
|
-
${o8(
|
|
1513
|
+
${o8(alert)}
|
|
1523
1514
|
<slot name="error"></slot>
|
|
1524
1515
|
</div>
|
|
1525
1516
|
`;
|