@design.estate/dees-wcctools 3.5.3 → 3.6.0
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_bundle/bundle.js +60 -13
- package/dist_bundle/bundle.js.map +2 -2
- package/dist_ts_web/00_commitinfo_data.js +1 -1
- package/dist_ts_web/elements/wcc-sidebar.d.ts +1 -0
- package/dist_ts_web/elements/wcc-sidebar.js +61 -14
- package/dist_watch/bundle.js +60 -13
- package/dist_watch/bundle.js.map +2 -2
- package/package.json +1 -1
- package/ts_web/00_commitinfo_data.ts +1 -1
- package/ts_web/elements/wcc-sidebar.ts +61 -13
package/dist_bundle/bundle.js
CHANGED
|
@@ -42074,7 +42074,8 @@ var WccSidebar = class extends (_a3 = DeesElement, _selectedItem_dec = [n5({ att
|
|
|
42074
42074
|
--ring: #3b82f6;
|
|
42075
42075
|
--radius: 4px;
|
|
42076
42076
|
|
|
42077
|
-
display: ${this.isHidden ? "none" : "
|
|
42077
|
+
display: ${this.isHidden ? "none" : "flex"};
|
|
42078
|
+
flex-direction: column;
|
|
42078
42079
|
border-right: 1px solid rgba(255, 255, 255, 0.08);
|
|
42079
42080
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
42080
42081
|
font-size: 14px;
|
|
@@ -42084,13 +42085,20 @@ var WccSidebar = class extends (_a3 = DeesElement, _selectedItem_dec = [n5({ att
|
|
|
42084
42085
|
width: ${this.sidebarWidth}px;
|
|
42085
42086
|
top: 0px;
|
|
42086
42087
|
bottom: 0px;
|
|
42087
|
-
overflow
|
|
42088
|
-
overflow-x: hidden;
|
|
42088
|
+
overflow: hidden;
|
|
42089
42089
|
background: var(--background);
|
|
42090
42090
|
color: var(--foreground);
|
|
42091
42091
|
}
|
|
42092
42092
|
|
|
42093
|
+
.sidebar-header {
|
|
42094
|
+
flex-shrink: 0;
|
|
42095
|
+
}
|
|
42096
|
+
|
|
42093
42097
|
.menu {
|
|
42098
|
+
flex: 1;
|
|
42099
|
+
min-height: 0;
|
|
42100
|
+
overflow-y: auto;
|
|
42101
|
+
overflow-x: hidden;
|
|
42094
42102
|
padding: 0.5rem 0;
|
|
42095
42103
|
}
|
|
42096
42104
|
|
|
@@ -42284,6 +42292,7 @@ var WccSidebar = class extends (_a3 = DeesElement, _selectedItem_dec = [n5({ att
|
|
|
42284
42292
|
.search-container {
|
|
42285
42293
|
padding: 0.5rem;
|
|
42286
42294
|
border-bottom: 1px solid var(--border);
|
|
42295
|
+
position: relative;
|
|
42287
42296
|
}
|
|
42288
42297
|
|
|
42289
42298
|
.search-input {
|
|
@@ -42292,7 +42301,7 @@ var WccSidebar = class extends (_a3 = DeesElement, _selectedItem_dec = [n5({ att
|
|
|
42292
42301
|
background: var(--input);
|
|
42293
42302
|
border: 1px solid var(--border);
|
|
42294
42303
|
border-radius: var(--radius);
|
|
42295
|
-
padding: 0.5rem 0.75rem;
|
|
42304
|
+
padding: 0.5rem 1.75rem 0.5rem 0.75rem;
|
|
42296
42305
|
color: var(--foreground);
|
|
42297
42306
|
font-size: 0.75rem;
|
|
42298
42307
|
font-family: inherit;
|
|
@@ -42308,6 +42317,33 @@ var WccSidebar = class extends (_a3 = DeesElement, _selectedItem_dec = [n5({ att
|
|
|
42308
42317
|
color: var(--muted-foreground);
|
|
42309
42318
|
}
|
|
42310
42319
|
|
|
42320
|
+
.search-clear {
|
|
42321
|
+
position: absolute;
|
|
42322
|
+
right: 0.75rem;
|
|
42323
|
+
top: 50%;
|
|
42324
|
+
transform: translateY(-50%);
|
|
42325
|
+
background: none;
|
|
42326
|
+
border: none;
|
|
42327
|
+
padding: 0.25rem;
|
|
42328
|
+
cursor: pointer;
|
|
42329
|
+
color: var(--muted-foreground);
|
|
42330
|
+
display: flex;
|
|
42331
|
+
align-items: center;
|
|
42332
|
+
justify-content: center;
|
|
42333
|
+
border-radius: 2px;
|
|
42334
|
+
transition: color 0.15s ease, background 0.15s ease;
|
|
42335
|
+
}
|
|
42336
|
+
|
|
42337
|
+
.search-clear:hover {
|
|
42338
|
+
color: var(--foreground);
|
|
42339
|
+
background: rgba(255, 255, 255, 0.1);
|
|
42340
|
+
}
|
|
42341
|
+
|
|
42342
|
+
.search-clear .material-symbols-outlined {
|
|
42343
|
+
font-size: 14px;
|
|
42344
|
+
opacity: 1;
|
|
42345
|
+
}
|
|
42346
|
+
|
|
42311
42347
|
.highlight {
|
|
42312
42348
|
background: rgba(59, 130, 246, 0.3);
|
|
42313
42349
|
border-radius: 2px;
|
|
@@ -42397,17 +42433,24 @@ var WccSidebar = class extends (_a3 = DeesElement, _selectedItem_dec = [n5({ att
|
|
|
42397
42433
|
background: var(--primary);
|
|
42398
42434
|
}
|
|
42399
42435
|
</style>
|
|
42400
|
-
<div class="
|
|
42401
|
-
<
|
|
42402
|
-
|
|
42403
|
-
|
|
42404
|
-
|
|
42405
|
-
|
|
42406
|
-
|
|
42407
|
-
|
|
42436
|
+
<div class="sidebar-header">
|
|
42437
|
+
<div class="search-container">
|
|
42438
|
+
<input
|
|
42439
|
+
type="text"
|
|
42440
|
+
class="search-input"
|
|
42441
|
+
placeholder="Search..."
|
|
42442
|
+
.value=${this.searchQuery}
|
|
42443
|
+
@input=${this.handleSearchInput}
|
|
42444
|
+
/>
|
|
42445
|
+
${this.searchQuery ? b2`
|
|
42446
|
+
<button class="search-clear" @click=${this.clearSearch}>
|
|
42447
|
+
<i class="material-symbols-outlined">close</i>
|
|
42448
|
+
</button>
|
|
42449
|
+
` : null}
|
|
42450
|
+
</div>
|
|
42451
|
+
${this.renderPinnedSection()}
|
|
42408
42452
|
</div>
|
|
42409
42453
|
<div class="menu">
|
|
42410
|
-
${this.renderPinnedSection()}
|
|
42411
42454
|
${this.renderSections()}
|
|
42412
42455
|
</div>
|
|
42413
42456
|
<div
|
|
@@ -42675,6 +42718,10 @@ var WccSidebar = class extends (_a3 = DeesElement, _selectedItem_dec = [n5({ att
|
|
|
42675
42718
|
this.searchQuery = input.value;
|
|
42676
42719
|
this.dispatchEvent(new CustomEvent("searchChanged", { detail: this.searchQuery }));
|
|
42677
42720
|
}
|
|
42721
|
+
clearSearch() {
|
|
42722
|
+
this.searchQuery = "";
|
|
42723
|
+
this.dispatchEvent(new CustomEvent("searchChanged", { detail: this.searchQuery }));
|
|
42724
|
+
}
|
|
42678
42725
|
matchesSearch(name) {
|
|
42679
42726
|
if (!this.searchQuery) return true;
|
|
42680
42727
|
return name.toLowerCase().includes(this.searchQuery.toLowerCase());
|