@tristan2828/ui-foundation 4.48.0 → 4.49.0
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.
|
@@ -179,9 +179,11 @@ const GROUP_TOGGLE_CLASS = '-mx-1 inline-flex items-baseline gap-2 rounded-sm px
|
|
|
179
179
|
// ring inside it (a row has no outline of its own room); the picked one
|
|
180
180
|
// takes the muted fill on every cell, over the zebra stripe and the pinned
|
|
181
181
|
// cells' opaque backgrounds as highlightRow's wash does, with a bar in
|
|
182
|
-
// --primary at its start, so it reads without colour too.
|
|
182
|
+
// --primary at its start, so it reads without colour too. Muted text on that
|
|
183
|
+
// fill measures 4.34:1 in light, so inside the row it takes the same darker
|
|
184
|
+
// grey as a highlighted row's (theme.css).
|
|
183
185
|
const SELECTABLE_ROW_CLASS = 'cursor-pointer outline-none focus-visible:[&>td]:shadow-[inset_0_2px_0_0_var(--ring),inset_0_-2px_0_0_var(--ring)]';
|
|
184
|
-
const SELECTED_ROW_CLASS = '[&>td]:bg-muted [&>td:first-child]:shadow-[inset_3px_0_0_0_var(--primary)] ' +
|
|
186
|
+
const SELECTED_ROW_CLASS = '[--muted-foreground:var(--table-highlight-muted-foreground)] [&>td]:bg-muted [&>td:first-child]:shadow-[inset_3px_0_0_0_var(--primary)] ' +
|
|
185
187
|
'focus-visible:[&>td:first-child]:shadow-[inset_3px_0_0_0_var(--primary),inset_0_2px_0_0_var(--ring),inset_0_-2px_0_0_var(--ring)]';
|
|
186
188
|
// The table and the panel side by side once one is picked on a wide
|
|
187
189
|
// screen. The grid is there from the start, so opening the panel never
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tristan2828/ui-foundation",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.49.0",
|
|
4
4
|
"description": "Shared UI foundation for contract-first, database-backed React apps: shadcn primitives, DataTable/EntityForm composites, auth, the gateway error seam, design tokens, lint rules and the AI playbook.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|