@wpic/ui 0.9.66 → 0.9.80
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/CHANGELOG.md +7 -0
- package/COMPONENTS.md +22 -1
- package/dist/components/WChatComposer.vue.d.ts +4 -0
- package/dist/components/WChatPanel.vue.d.ts +6 -0
- package/dist/components/WSlidePanel.vue.d.ts +26 -3
- package/dist/components/WTable.vue.d.ts +84 -37
- package/dist/wpic-ui.cjs +63 -63
- package/dist/wpic-ui.css +20 -4
- package/dist/wpic-ui.js +3457 -3261
- package/package.json +1 -1
- package/src/style.css +19 -3
package/package.json
CHANGED
package/src/style.css
CHANGED
|
@@ -221,10 +221,12 @@
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
/* ── Custom scrollbar ─────────────────────────────────────────────────── */
|
|
224
|
-
.wpic-scrollbar::-webkit-scrollbar { width:
|
|
224
|
+
.wpic-scrollbar::-webkit-scrollbar { width: 8px; height: 8px; }
|
|
225
225
|
.wpic-scrollbar::-webkit-scrollbar-track { background: transparent; }
|
|
226
|
-
.wpic-scrollbar::-webkit-scrollbar-thumb { background: rgba(
|
|
227
|
-
.wpic-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(
|
|
226
|
+
.wpic-scrollbar::-webkit-scrollbar-thumb { background: rgba(82,82,91,0.48); border-radius: 8px; }
|
|
227
|
+
.wpic-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(82,82,91,0.7); }
|
|
228
|
+
.dark .wpic-scrollbar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.28); }
|
|
229
|
+
.dark .wpic-scrollbar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.44); }
|
|
228
230
|
|
|
229
231
|
/* ── Range slider ─────────────────────────────────────────────────────── */
|
|
230
232
|
input[type="range"].wpic-legacy-slider-themed {
|
|
@@ -485,6 +487,8 @@ input[type="range"].wpic-legacy-slider-themed::-webkit-slider-thumb {
|
|
|
485
487
|
Keep header, summary and hover surfaces in sync with the fixed column. */
|
|
486
488
|
.wpic-table__scroll { isolation: isolate; }
|
|
487
489
|
.wpic-table__row { background: var(--wpic-surface, var(--wpic-legacy-bg-card)); }
|
|
490
|
+
.wpic-table__expand { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin: -2px -4px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: inherit; cursor: pointer; }
|
|
491
|
+
.wpic-table__expand:focus-visible { outline: 2px solid var(--wpic-focus-ring, #85c531); outline-offset: 1px; }
|
|
488
492
|
/* Neutral table surfaces; themes may override either shade independently. */
|
|
489
493
|
.wpic-table__header { background: var(--wpic-table-header, #f4f4f5); }
|
|
490
494
|
.dark .wpic-table__header { background: var(--wpic-table-header, color-mix(in srgb, var(--wpic-surface, #18181b) 92%, #a1a1aa 8%)); }
|
|
@@ -505,6 +509,18 @@ input[type="range"].wpic-legacy-slider-themed::-webkit-slider-thumb {
|
|
|
505
509
|
.wpic-theme .wpic-card--bordered:has(> .wpic-card__body > .wpic-table) {
|
|
506
510
|
border-color: var(--wpic-table-border, var(--wpic-border));
|
|
507
511
|
}
|
|
512
|
+
/* A table inside a card starts with the same 1px divider as the card edge.
|
|
513
|
+
When it directly follows the card header, that divider replaces the
|
|
514
|
+
header's bottom border so the seam remains one pixel thick. */
|
|
515
|
+
.wpic-theme .wpic-card--bordered > .wpic-card__body > .wpic-table:not(.border-t) .wpic-table__scroll {
|
|
516
|
+
border-top: 1px solid var(--wpic-table-border, var(--wpic-border));
|
|
517
|
+
}
|
|
518
|
+
.wpic-theme .wpic-card--bordered:has(> .wpic-card__body > .wpic-table:first-child:not(.border-t)) > .wpic-card__header--divided {
|
|
519
|
+
border-bottom: 0;
|
|
520
|
+
}
|
|
521
|
+
.wpic-theme .wpic-card--bordered:has(> .wpic-card__body > .wpic-table) > .wpic-card__header--divided {
|
|
522
|
+
border-color: var(--wpic-table-border, var(--wpic-border));
|
|
523
|
+
}
|
|
508
524
|
|
|
509
525
|
/* Touch controls keep their desktop density on wider displays. */
|
|
510
526
|
@media (max-width: 767px) {
|