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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to Twico UI are documented here (newest first). This file is generated automatically on each release by [semantic-release](https://semantic-release.gitbook.io/) from [Conventional Commits](https://www.conventionalcommits.org/) — do not edit it by hand. The same notes appear on each [GitHub Release](https://github.com/EncryptionL/twico-ui/releases).
|
|
4
4
|
|
|
5
|
+
## [1.18.2](https://github.com/EncryptionL/twico-ui/compare/v1.18.1...v1.18.2) (2026-07-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **datatable:** scope the reorder grab cursor to the drag handle ([e6bc6cd](https://github.com/EncryptionL/twico-ui/commit/e6bc6cd71a4295fa25635a8a9467720133e041dd)), closes [#263](https://github.com/EncryptionL/twico-ui/issues/263)
|
|
11
|
+
|
|
5
12
|
## [1.18.1](https://github.com/EncryptionL/twico-ui/compare/v1.18.0...v1.18.1) (2026-07-23)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.cjs
CHANGED
|
@@ -8346,8 +8346,8 @@ var DT_CSS = `
|
|
|
8346
8346
|
.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); }
|
|
8347
8347
|
.twc-dt__row[data-pinned-row="bottom"] > .twc-dt__td { border-top: var(--border-medium) solid var(--color-primary-border); }
|
|
8348
8348
|
|
|
8349
|
-
/* Row reordering
|
|
8350
|
-
|
|
8349
|
+
/* Row reordering \u2014 the grab affordance lives on the drag handle only (#263), not the whole row, so
|
|
8350
|
+
hovering a normal data cell isn't presented as draggable (the row stays a drag source for the mouse). */
|
|
8351
8351
|
.twc-dt__row[data-row-dragging] { opacity: 0.4; }
|
|
8352
8352
|
/* #239 diff mode: row op tint + before\u2192after cells (single-line, clipped by the td's own overflow). */
|
|
8353
8353
|
.twc-dt__row[data-op="added"] > .twc-dt__td { background: color-mix(in srgb, var(--color-success) 7%, transparent); }
|
|
@@ -8378,6 +8378,7 @@ var DT_CSS = `
|
|
|
8378
8378
|
.twc-dt__row:hover .twc-dt__row-handle, .twc-dt__row-handle:focus-visible { opacity: 0.7; }
|
|
8379
8379
|
.twc-dt__row-handle:focus-visible { outline: none; box-shadow: var(--ring); color: var(--color-primary); }
|
|
8380
8380
|
.twc-dt__row-handle[data-grabbed="true"] { opacity: 1; color: var(--color-primary); }
|
|
8381
|
+
.twc-dt__row-handle:active, .twc-dt__row-handle[data-grabbed="true"] { cursor: grabbing; }
|
|
8381
8382
|
.twc-dt__row-handle svg { width: 14px; height: 14px; }
|
|
8382
8383
|
/* Visually-hidden aria-live region for reorder announcements */
|
|
8383
8384
|
.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; }
|