@wpic/ui 0.9.65 → 0.9.66
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 +4 -0
- package/dist/wpic-ui.css +5 -4
- package/package.json +1 -1
- package/src/style.css +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
- Add `WComboInput`: a free-text `WInput` with a `WOptionPopover` suggestion list, for fields that are historically free text but should offer previously-used values (unlike `WSelect`'s `creatable` mode, typing and blurring always commits — no need to click a "Create …" row).
|
|
4
4
|
- `WOptionPopover` options now select on `mousedown` instead of `click`, so a text input driving the popover doesn't blur-close it before the click registers.
|
|
5
5
|
|
|
6
|
+
## 0.9.66
|
|
7
|
+
|
|
8
|
+
- Soften `WTable`'s dark header and use a subtle neutral row hover in both themes. The hover can be customized with `--wpic-table-row-hover`.
|
|
9
|
+
|
|
6
10
|
## 0.9.65
|
|
7
11
|
|
|
8
12
|
- Give `WModal` a reliable translucent black backdrop and blur when the host app does not define Tailwind's color variable.
|
package/dist/wpic-ui.css
CHANGED
|
@@ -486,11 +486,12 @@ input[type="range"].wpic-legacy-slider-themed::-webkit-slider-thumb {
|
|
|
486
486
|
Keep header, summary and hover surfaces in sync with the fixed column. */
|
|
487
487
|
.wpic-table__scroll { isolation: isolate; }
|
|
488
488
|
.wpic-table__row { background: var(--wpic-surface, var(--wpic-legacy-bg-card)); }
|
|
489
|
-
/*
|
|
489
|
+
/* Neutral table surfaces; themes may override either shade independently. */
|
|
490
490
|
.wpic-table__header { background: var(--wpic-table-header, #f4f4f5); }
|
|
491
|
-
.dark .wpic-table__header { background: var(--wpic-table-header, #
|
|
492
|
-
.wpic-table__summary,
|
|
493
|
-
.wpic-table__row:hover { background: var(--wpic-
|
|
491
|
+
.dark .wpic-table__header { background: var(--wpic-table-header, color-mix(in srgb, var(--wpic-surface, #18181b) 92%, #a1a1aa 8%)); }
|
|
492
|
+
.wpic-table__summary { background: var(--wpic-raised, var(--wpic-legacy-bg-input)); }
|
|
493
|
+
.wpic-table__row:hover { background: var(--wpic-table-row-hover, color-mix(in srgb, var(--wpic-surface, #fff) 96%, #71717a 4%)); }
|
|
494
|
+
.dark .wpic-table__row:hover { background: var(--wpic-table-row-hover, color-mix(in srgb, var(--wpic-surface, #18181b) 96%, #a1a1aa 4%)); }
|
|
494
495
|
.wpic-table__sticky {
|
|
495
496
|
background: inherit;
|
|
496
497
|
}
|
package/package.json
CHANGED
package/src/style.css
CHANGED
|
@@ -485,11 +485,12 @@ input[type="range"].wpic-legacy-slider-themed::-webkit-slider-thumb {
|
|
|
485
485
|
Keep header, summary and hover surfaces in sync with the fixed column. */
|
|
486
486
|
.wpic-table__scroll { isolation: isolate; }
|
|
487
487
|
.wpic-table__row { background: var(--wpic-surface, var(--wpic-legacy-bg-card)); }
|
|
488
|
-
/*
|
|
488
|
+
/* Neutral table surfaces; themes may override either shade independently. */
|
|
489
489
|
.wpic-table__header { background: var(--wpic-table-header, #f4f4f5); }
|
|
490
|
-
.dark .wpic-table__header { background: var(--wpic-table-header, #
|
|
491
|
-
.wpic-table__summary,
|
|
492
|
-
.wpic-table__row:hover { background: var(--wpic-
|
|
490
|
+
.dark .wpic-table__header { background: var(--wpic-table-header, color-mix(in srgb, var(--wpic-surface, #18181b) 92%, #a1a1aa 8%)); }
|
|
491
|
+
.wpic-table__summary { background: var(--wpic-raised, var(--wpic-legacy-bg-input)); }
|
|
492
|
+
.wpic-table__row:hover { background: var(--wpic-table-row-hover, color-mix(in srgb, var(--wpic-surface, #fff) 96%, #71717a 4%)); }
|
|
493
|
+
.dark .wpic-table__row:hover { background: var(--wpic-table-row-hover, color-mix(in srgb, var(--wpic-surface, #18181b) 96%, #a1a1aa 4%)); }
|
|
493
494
|
.wpic-table__sticky {
|
|
494
495
|
background: inherit;
|
|
495
496
|
}
|