@versini/ui-datagrid 4.2.7 → 4.2.8
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/262.js +1 -1
- package/dist/354.js +1 -1
- package/dist/631.js +1 -1
- package/dist/937.js +1 -1
- package/dist/DataGrid/index.js +1 -1
- package/dist/DataGridAnimated/index.js +1 -1
- package/dist/DataGridBody/index.js +1 -1
- package/dist/DataGridCell/index.js +1 -1
- package/dist/DataGridCellSort/index.js +8 -3
- package/dist/DataGridConstants/index.js +1 -1
- package/dist/DataGridFooter/index.js +1 -1
- package/dist/DataGridHeader/index.js +1 -1
- package/dist/DataGridInfinite/index.js +1 -1
- package/dist/DataGridRow/index.js +1 -1
- package/dist/DataGridSorting/index.js +1 -1
- package/package.json +3 -3
package/dist/262.js
CHANGED
package/dist/354.js
CHANGED
package/dist/631.js
CHANGED
package/dist/937.js
CHANGED
package/dist/DataGrid/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-datagrid v4.2.
|
|
2
|
+
@versini/ui-datagrid v4.2.8
|
|
3
3
|
© 2026 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -23,7 +23,12 @@ const getActiveIndicatorClasses = (active)=>{
|
|
|
23
23
|
if (!active) {
|
|
24
24
|
return "";
|
|
25
25
|
}
|
|
26
|
-
return clsx("relative",
|
|
26
|
+
return clsx("relative", /**
|
|
27
|
+
* Gated on :focus-visible, not :focus-within: the underline is hidden to make
|
|
28
|
+
* room for the focus ring, and the ring itself is keyboard-only. On
|
|
29
|
+
* :focus-within the underline would also vanish on a mouse click, with no
|
|
30
|
+
* ring taking its place.
|
|
31
|
+
*/ "has-[:focus-visible]:static", "has-[:focus-visible]:after:border-transparent", "after:absolute", "after:content-['']", "after:border-b-2", "after:-bottom-1", "after:left-0", "after:right-0", // the small border at the bottom of the button when it is active (sorted).
|
|
27
32
|
"after:border-table-light");
|
|
28
33
|
};
|
|
29
34
|
const ButtonSort = ({ active = false, className, onClick, labelRight, children, blurEffect, mode })=>{
|
|
@@ -37,7 +42,7 @@ const ButtonSort = ({ active = false, className, onClick, labelRight, children,
|
|
|
37
42
|
mode,
|
|
38
43
|
hasBlur
|
|
39
44
|
}), // Focus styles.
|
|
40
|
-
"focus:outline", "focus:outline-2", "focus:outline-offset-2", "focus:outline-focus-medium", // Hover styles.
|
|
45
|
+
"focus-visible:outline", "focus-visible:outline-2", "focus-visible:outline-offset-2", "focus-visible:outline-focus-medium", // Hover styles.
|
|
41
46
|
"hover:text-copy-light-hover", "hover:bg-action-darker-hover", // Active styles.
|
|
42
47
|
"active:text-copy-medium-active", "active:bg-action-dark-active", // Custom className.
|
|
43
48
|
className);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-datagrid",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.8",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
],
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@testing-library/jest-dom": "7.0.1",
|
|
67
|
-
"@versini/ui-button": "15.3.
|
|
68
|
-
"@versini/ui-styles": "9.7.
|
|
67
|
+
"@versini/ui-button": "15.3.5",
|
|
68
|
+
"@versini/ui-styles": "9.7.6"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@tanstack/react-virtual": "3.14.10",
|