clavarium 0.2.134-next.1 → 0.2.135-next.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/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
- package/web/app.js +2 -1
- package/web/style.css +5 -3
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clavarium",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.135-next.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "clavarium",
|
|
9
|
-
"version": "0.2.
|
|
9
|
+
"version": "0.2.135-next.1",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@xterm/addon-fit": "^0.11.0",
|
package/package.json
CHANGED
package/web/app.js
CHANGED
|
@@ -4221,7 +4221,8 @@
|
|
|
4221
4221
|
if (c.bcc?.length) w.facts.push(['bcc', chips(c.bcc, ext)]);
|
|
4222
4222
|
if (c.at) w.facts.push(['⏰', `Leaves ${dayWords(c.at)}${hhmm(c.at) ? `, ${hhmm(c.at)}` : ''} — waits in Drafts until then`]);
|
|
4223
4223
|
if (c.files?.length) w.facts.push(['📎', `Joined: ${filesLine(c.files)}`]);
|
|
4224
|
-
|
|
4224
|
+
/* The body as it will read: the Markdown marks taken off. */
|
|
4225
|
+
if (c.body) w.quote = c.body.replace(/\*\*(\S[^*\n]*?)\*\*/g, '$1').replace(/__(\S[^_\n]*?)__/g, '$1').replace(/(^|[^*\w])\*(\S[^*\n]*?)\*(?!\w)/g, '$1$2').replace(/\[([^\]\n]+)\]\(([^)\s]+)\)/g, '$1 ($2)').replace(/^#{1,6}\s+/gm, '');
|
|
4225
4226
|
} else if (c.kind === 'calendar') {
|
|
4226
4227
|
const ev = c.action === 'create' ? c : { ...about, ...Object.fromEntries(Object.entries(c).filter(([k]) => ['title', 'start', 'end', 'where'].includes(k))) };
|
|
4227
4228
|
const answer = { accept: 'Accept', yes: 'Accept', decline: 'Decline', no: 'Decline', refuse: 'Decline', tentative: 'Maybe', maybe: 'Maybe' }[String(c.answer ?? '').toLowerCase()] ?? '';
|
package/web/style.css
CHANGED
|
@@ -1912,8 +1912,10 @@ details.commit > pre { margin: 6px 0 0 1.6em; white-space: pre-wrap; overflow-wr
|
|
|
1912
1912
|
.curve-legend-oom { color: var(--danger); }
|
|
1913
1913
|
|
|
1914
1914
|
/* A request of the AI as a card (#190). */
|
|
1915
|
-
.dm-card { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 12px; cursor: pointer; position: relative; }
|
|
1916
|
-
.dm-
|
|
1915
|
+
.dm-card.given-row { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 6px; padding: 10px 12px; cursor: pointer; position: relative; text-align: left; }
|
|
1916
|
+
.dm-card > * { align-self: stretch; text-align: left; }
|
|
1917
|
+
.dm-card > .dm-risk, .dm-card > .dm-acts { align-self: stretch; }
|
|
1918
|
+
.dm-top { display: flex; justify-content: flex-start; gap: 8px; align-items: center; font-size: .82rem; color: var(--ink2); }
|
|
1917
1919
|
.dm-ico { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(127,127,127,.15); font-size: .8rem; flex: none; }
|
|
1918
1920
|
.dm-chev { margin-left: auto; font-size: 1.2rem; line-height: 1; transition: transform .15s; }
|
|
1919
1921
|
.dm-card.open .dm-chev { transform: rotate(90deg); }
|
|
@@ -1925,7 +1927,7 @@ details.commit > pre { margin: 6px 0 0 1.6em; white-space: pre-wrap; overflow-wr
|
|
|
1925
1927
|
.dm-day-w { background: var(--brass); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .06em; padding: 1px 0; }
|
|
1926
1928
|
.dm-day-n { font-size: 1.15rem; font-weight: 700; padding: 1px 0 3px; }
|
|
1927
1929
|
.dm-risk { padding: 5px 9px; border-radius: 8px; background: rgba(217, 154, 30, .16); color: inherit; font-size: .86rem; font-weight: 600; }
|
|
1928
|
-
.dm-facts { display: grid; grid-template-columns: 1.6em 1fr; gap: 3px 6px; font-size: .9rem; }
|
|
1930
|
+
.dm-facts { display: grid; justify-content: start; justify-items: start; grid-template-columns: 1.6em minmax(0, 1fr); gap: 3px 6px; font-size: .9rem; }
|
|
1929
1931
|
.dm-k { color: var(--ink2); text-align: center; }
|
|
1930
1932
|
.dm-v { min-width: 0; overflow-wrap: anywhere; }
|
|
1931
1933
|
.dm-chips { display: inline-flex; flex-wrap: wrap; gap: 3px; }
|