@celljs/ta-glance 4.22.0 → 4.23.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.
- package/package.json +3 -3
- package/web/index.js +8 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@celljs/ta-glance",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.23.0",
|
|
4
4
|
"description": "A pi package for Ta: replies lead with the answer, short, and show results as cards (key numbers, files, steps, comparisons, choices) rather than paragraphs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"watch": "tsc -b -w --preserveWatchOutput"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@celljs/ta-protocol": "4.
|
|
30
|
-
"@celljs/ta-web": "4.
|
|
29
|
+
"@celljs/ta-protocol": "4.23.0",
|
|
30
|
+
"@celljs/ta-web": "4.23.0",
|
|
31
31
|
"@types/react": "^19.3.0"
|
|
32
32
|
},
|
|
33
33
|
"publishConfig": {
|
package/web/index.js
CHANGED
|
@@ -1737,17 +1737,17 @@ var STYLE = `
|
|
|
1737
1737
|
.tag-card .tag-table td:last-child:not(:first-child) { min-width: 8em; white-space: normal; }
|
|
1738
1738
|
/* More: every column but the names wraps, the table sharing the width out by what each holds */
|
|
1739
1739
|
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) td:not(:first-child) { min-width: 7em; white-space: normal; }
|
|
1740
|
-
/* More, in a narrow card:
|
|
1740
|
+
/* More, in a narrow card: each row is a small card, its name on top and each value beside the name of its column;
|
|
1741
|
+
* the cards sit side by side as the width allows, one under another on a phone; no table to scroll sideways */
|
|
1741
1742
|
@container tag-card (max-width: 520px) {
|
|
1742
1743
|
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) { display: block; }
|
|
1743
1744
|
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) thead { display: none; }
|
|
1744
|
-
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) :
|
|
1745
|
-
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) tr {
|
|
1746
|
-
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2'])
|
|
1747
|
-
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) td:
|
|
1748
|
-
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) td:
|
|
1749
|
-
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) td + td {
|
|
1750
|
-
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 1px; color: var(--ta-muted); font-size: var(--tag-small); line-height: 1.4; }
|
|
1745
|
+
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5em), 1fr)); gap: 8px; padding: var(--tag-y) var(--tag-x); }
|
|
1746
|
+
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) tr { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 4px 12px; padding: 10px 12px; border: 1px solid var(--tag-line); border-radius: 8px; background: var(--ta-raised); }
|
|
1747
|
+
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) td:nth-child(n) { min-width: 0; padding: 0; border: 0; white-space: normal; }
|
|
1748
|
+
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) td:first-child { grid-column: 1 / -1; margin-bottom: 2px; font-weight: 600; line-height: var(--tag-lh); }
|
|
1749
|
+
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) td + td { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline; color: var(--ta-body); line-height: var(--tag-lh); }
|
|
1750
|
+
.tag-card .tag-table table:not([data-columns='1'], [data-columns='2']) td + td::before { content: attr(data-label); color: var(--ta-muted); font-size: var(--tag-small); white-space: nowrap; }
|
|
1751
1751
|
}
|
|
1752
1752
|
.tag-card .ta-mermaid { margin: 0; border: 0; border-radius: 0; background: transparent; }
|
|
1753
1753
|
.tag-card .ta-mermaid .ta-code-bar { padding-left: var(--tag-x); padding-right: calc(var(--tag-x) - 4px); }
|