@versini/ui-datagrid 3.0.10 → 3.0.11
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/131.js +1 -1
- package/dist/298.js +14 -10
- package/dist/46.js +1 -1
- package/dist/511.js +1 -1
- package/dist/926.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 +1 -1
- 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/dist/utilities/classes.d.ts +6 -2
- package/package.json +2 -2
package/dist/131.js
CHANGED
package/dist/298.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
@versini/ui-datagrid v3.0.
|
|
2
|
+
@versini/ui-datagrid v3.0.11
|
|
3
3
|
© 2026 gizmette.com
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -68,19 +68,23 @@ const getTextColorClassesForHeaderFooter = ({ mode, hasBlur })=>clsx({
|
|
|
68
68
|
"backdrop-blur-lg": blurEffect === BlurEffects.LARGE
|
|
69
69
|
});
|
|
70
70
|
/**
|
|
71
|
-
* Loading text classes for loading state.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
71
|
+
* Loading text classes for loading state. Rendered as a high-contrast pill —
|
|
72
|
+
* background is the inverse of the grid surface so the message stays legible
|
|
73
|
+
* against the blurred content behind it.
|
|
74
|
+
*/ const getLoadingTextClasses = ({ mode })=>clsx("px-5 py-2 rounded-full shadow-lg text-sm font-semibold", {
|
|
75
|
+
"bg-surface-light text-copy-dark": isDark(mode),
|
|
76
|
+
"bg-surface-darker text-copy-light": isLight(mode),
|
|
77
|
+
"bg-surface-darker text-copy-light dark:bg-surface-light dark:text-copy-dark": isSys(mode),
|
|
78
|
+
"bg-surface-light text-copy-dark dark:bg-surface-darker dark:text-copy-light": isAlt(mode)
|
|
77
79
|
});
|
|
78
80
|
/**
|
|
79
|
-
* Overlay classes for loading state.
|
|
81
|
+
* Overlay classes for loading state. Uses z-30/z-40 to layer above the sticky
|
|
82
|
+
* header/footer (z-20), which sit later in the DOM within the same stacking
|
|
83
|
+
* context and would otherwise paint on top of an equal-z overlay.
|
|
80
84
|
*/ const getOverlayClasses = ({ mode })=>({
|
|
81
85
|
inner: "relative",
|
|
82
|
-
overlay: clsx("absolute inset-0 z-
|
|
83
|
-
loadingWrapper: clsx("absolute z-
|
|
86
|
+
overlay: clsx("absolute inset-0 z-30 cursor-not-allowed rounded-lg", "backdrop-blur-xs bg-white/30 dark:bg-black/30"),
|
|
87
|
+
loadingWrapper: clsx("absolute z-40 top-0 left-0 right-0 h-[min(100%,100vh)]", "flex items-center justify-center", "pointer-events-none"),
|
|
84
88
|
loadingText: getLoadingTextClasses({
|
|
85
89
|
mode
|
|
86
90
|
})
|
package/dist/46.js
CHANGED
package/dist/511.js
CHANGED
package/dist/926.js
CHANGED
package/dist/DataGrid/index.js
CHANGED
|
@@ -35,13 +35,17 @@ export declare const getBlurClasses: ({ blurEffect }: {
|
|
|
35
35
|
blurEffect?: BlurEffect;
|
|
36
36
|
}) => string;
|
|
37
37
|
/**
|
|
38
|
-
* Loading text classes for loading state.
|
|
38
|
+
* Loading text classes for loading state. Rendered as a high-contrast pill —
|
|
39
|
+
* background is the inverse of the grid surface so the message stays legible
|
|
40
|
+
* against the blurred content behind it.
|
|
39
41
|
*/
|
|
40
42
|
export declare const getLoadingTextClasses: ({ mode }: {
|
|
41
43
|
mode: ThemeMode;
|
|
42
44
|
}) => string;
|
|
43
45
|
/**
|
|
44
|
-
* Overlay classes for loading state.
|
|
46
|
+
* Overlay classes for loading state. Uses z-30/z-40 to layer above the sticky
|
|
47
|
+
* header/footer (z-20), which sit later in the DOM within the same stacking
|
|
48
|
+
* context and would otherwise paint on top of an equal-z overlay.
|
|
45
49
|
*/
|
|
46
50
|
export declare const getOverlayClasses: ({ mode }: {
|
|
47
51
|
mode: ThemeMode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@versini/ui-datagrid",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Arno Versini",
|
|
6
6
|
"publishConfig": {
|
|
@@ -98,5 +98,5 @@
|
|
|
98
98
|
"sideEffects": [
|
|
99
99
|
"**/*.css"
|
|
100
100
|
],
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "0588fe5fb0a43f60469546467a1ab7fd9179b0cd"
|
|
102
102
|
}
|