twico-ui 1.18.1 → 1.18.2
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/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8325,8 +8325,8 @@ var DT_CSS = `
|
|
|
8325
8325
|
.twc-dt__row[data-pinned-row="top"] > .twc-dt__td { border-bottom: var(--border-medium) solid var(--color-primary-border); box-shadow: 0 1px 0 var(--color-primary-border); }
|
|
8326
8326
|
.twc-dt__row[data-pinned-row="bottom"] > .twc-dt__td { border-top: var(--border-medium) solid var(--color-primary-border); }
|
|
8327
8327
|
|
|
8328
|
-
/* Row reordering
|
|
8329
|
-
|
|
8328
|
+
/* Row reordering \u2014 the grab affordance lives on the drag handle only (#263), not the whole row, so
|
|
8329
|
+
hovering a normal data cell isn't presented as draggable (the row stays a drag source for the mouse). */
|
|
8330
8330
|
.twc-dt__row[data-row-dragging] { opacity: 0.4; }
|
|
8331
8331
|
/* #239 diff mode: row op tint + before\u2192after cells (single-line, clipped by the td's own overflow). */
|
|
8332
8332
|
.twc-dt__row[data-op="added"] > .twc-dt__td { background: color-mix(in srgb, var(--color-success) 7%, transparent); }
|
|
@@ -8357,6 +8357,7 @@ var DT_CSS = `
|
|
|
8357
8357
|
.twc-dt__row:hover .twc-dt__row-handle, .twc-dt__row-handle:focus-visible { opacity: 0.7; }
|
|
8358
8358
|
.twc-dt__row-handle:focus-visible { outline: none; box-shadow: var(--ring); color: var(--color-primary); }
|
|
8359
8359
|
.twc-dt__row-handle[data-grabbed="true"] { opacity: 1; color: var(--color-primary); }
|
|
8360
|
+
.twc-dt__row-handle:active, .twc-dt__row-handle[data-grabbed="true"] { cursor: grabbing; }
|
|
8360
8361
|
.twc-dt__row-handle svg { width: 14px; height: 14px; }
|
|
8361
8362
|
/* Visually-hidden aria-live region for reorder announcements */
|
|
8362
8363
|
.twc-dt__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
|