@neasg/design-system 0.4.33 → 0.4.35
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/table.js +5 -1
- package/package.json +5 -1
package/dist/table.js
CHANGED
|
@@ -198,7 +198,11 @@ function stickyClassName(sticky, kind, showShadow = false) {
|
|
|
198
198
|
? "shadow-[inset_-1px_0_0_0_hsl(var(--table-border)),_8px_0_12px_-10px_hsl(var(--foreground)_/_0.35)]"
|
|
199
199
|
: "shadow-[inset_1px_0_0_0_hsl(var(--table-border)),_-8px_0_12px_-10px_hsl(var(--foreground)_/_0.35)]"
|
|
200
200
|
: undefined;
|
|
201
|
-
const background = kind === "head"
|
|
201
|
+
const background = kind === "head"
|
|
202
|
+
? "bg-[hsl(var(--table-header-background))]"
|
|
203
|
+
: kind === "cell"
|
|
204
|
+
? "bg-inherit"
|
|
205
|
+
: "bg-card";
|
|
202
206
|
// Header and filter cells layer above sticky body cells on the other axis.
|
|
203
207
|
const z = kind === "cell" ? "z-10" : "z-20";
|
|
204
208
|
return cn("sticky", background, side, z, shadow);
|
package/package.json
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neasg/design-system",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.35",
|
|
4
4
|
"description": "NEA shared design system primitives, theme tokens, and Storybook docs.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/sandbox-nea/design-system.git"
|
|
8
|
+
},
|
|
5
9
|
"license": "UNLICENSED",
|
|
6
10
|
"type": "module",
|
|
7
11
|
"engines": {
|