@versini/ui-datagrid 3.0.11 → 3.0.12

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
package/dist/298.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -68,33 +68,24 @@ const getTextColorClassesForHeaderFooter = ({ mode, hasBlur })=>clsx({
68
68
  "backdrop-blur-lg": blurEffect === BlurEffects.LARGE
69
69
  });
70
70
  /**
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)
79
- });
71
+ * Loading text classes for loading state. Rendered as a high-contrast pill
72
+ * with a fixed dark background and light text so the message stays legible
73
+ * against the blurred content behind it regardless of the grid mode.
74
+ */ const getLoadingTextClasses = ()=>"px-5 py-2 rounded-full shadow-lg text-sm font-semibold bg-surface-darker text-copy-light";
80
75
  /**
81
76
  * Overlay classes for loading state. Uses z-30/z-40 to layer above the sticky
82
77
  * header/footer (z-20), which sit later in the DOM within the same stacking
83
78
  * context and would otherwise paint on top of an equal-z overlay.
84
- */ const getOverlayClasses = ({ mode })=>({
79
+ */ const getOverlayClasses = ()=>({
85
80
  inner: "relative",
86
81
  overlay: clsx("absolute inset-0 z-30 cursor-not-allowed rounded-lg", "backdrop-blur-xs bg-white/30 dark:bg-black/30"),
87
82
  loadingWrapper: clsx("absolute z-40 top-0 left-0 right-0 h-[min(100%,100vh)]", "flex items-center justify-center", "pointer-events-none"),
88
- loadingText: getLoadingTextClasses({
89
- mode
90
- })
83
+ loadingText: getLoadingTextClasses()
91
84
  });
92
85
  /**
93
86
  * Generates classes for the main DataGrid wrapper and grid.
94
87
  */ const getDataGridClasses = ({ mode, className, wrapperClassName, stickyHeader, stickyFooter, loading })=>{
95
- const overlayClasses = loading ? getOverlayClasses({
96
- mode
97
- }) : null;
88
+ const overlayClasses = loading ? getOverlayClasses() : null;
98
89
  const hasSticky = stickyHeader || stickyFooter;
99
90
  return {
100
91
  overlay: overlayClasses?.overlay ?? "",
package/dist/46.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
package/dist/511.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
package/dist/926.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*!
2
- @versini/ui-datagrid v3.0.11
2
+ @versini/ui-datagrid v3.0.12
3
3
  © 2026 gizmette.com
4
4
  */
5
5
 
@@ -35,21 +35,17 @@ export declare const getBlurClasses: ({ blurEffect }: {
35
35
  blurEffect?: BlurEffect;
36
36
  }) => string;
37
37
  /**
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.
38
+ * Loading text classes for loading state. Rendered as a high-contrast pill
39
+ * with a fixed dark background and light text so the message stays legible
40
+ * against the blurred content behind it regardless of the grid mode.
41
41
  */
42
- export declare const getLoadingTextClasses: ({ mode }: {
43
- mode: ThemeMode;
44
- }) => string;
42
+ export declare const getLoadingTextClasses: () => string;
45
43
  /**
46
44
  * Overlay classes for loading state. Uses z-30/z-40 to layer above the sticky
47
45
  * header/footer (z-20), which sit later in the DOM within the same stacking
48
46
  * context and would otherwise paint on top of an equal-z overlay.
49
47
  */
50
- export declare const getOverlayClasses: ({ mode }: {
51
- mode: ThemeMode;
52
- }) => {
48
+ export declare const getOverlayClasses: () => {
53
49
  inner: string;
54
50
  overlay: string;
55
51
  loadingWrapper: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/ui-datagrid",
3
- "version": "3.0.11",
3
+ "version": "3.0.12",
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": "0588fe5fb0a43f60469546467a1ab7fd9179b0cd"
101
+ "gitHead": "fc3839da4f630dd7954e8d9537f5cbf1762f9d85"
102
102
  }