@tristan2828/ui-foundation 4.67.0 → 4.67.1
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/package.json +1 -1
- package/styles/index.css +8 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tristan2828/ui-foundation",
|
|
3
|
-
"version": "4.67.
|
|
3
|
+
"version": "4.67.1",
|
|
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": {
|
package/styles/index.css
CHANGED
|
@@ -228,7 +228,8 @@
|
|
|
228
228
|
- compact, the default: a full grid of hairlines, tight cells, the
|
|
229
229
|
header row on the heading band;
|
|
230
230
|
- boxed: a rounded box, roomier cells, the header row on the muted
|
|
231
|
-
fill
|
|
231
|
+
fill.
|
|
232
|
+
Both stripe their body rows (zebra, as DataTable's).
|
|
232
233
|
Row headers (a header column: src/lib/markdown-table.ts) sit on the
|
|
233
234
|
muted fill, semibold. A coloured cell (its whole text one highlight)
|
|
234
235
|
is painted in that wash, its words' own wash dropped. Unlayered, so a
|
|
@@ -294,9 +295,12 @@
|
|
|
294
295
|
background: var(--muted);
|
|
295
296
|
font-weight: var(--type-label-weight);
|
|
296
297
|
}
|
|
297
|
-
/* Zebra: <Markdown>'s body rows (after its <thead>), or
|
|
298
|
-
whose header row is its only <tbody>'s first.
|
|
299
|
-
|
|
298
|
+
/* Zebra, in both looks: <Markdown>'s body rows (after its <thead>), or
|
|
299
|
+
the editor's, whose header row is its only <tbody>'s first. Until
|
|
300
|
+
4.67.1 only boxed striped, so a compact table (the default) had its
|
|
301
|
+
header row tinted and nothing else. A cell picked by dragging keeps its
|
|
302
|
+
highlight (below) on a striped row. */
|
|
303
|
+
.prose-table :is(thead + tbody > tr:nth-child(even), tbody:only-child > tr:nth-child(odd):not(:first-child)) > :not([data-color], th[scope="row"], [data-row-header], .selectedCell) {
|
|
300
304
|
background: var(--table-stripe);
|
|
301
305
|
}
|
|
302
306
|
.prose-table :is(td, th)[data-color="amber"] { background: var(--highlight-amber); }
|