@atelic-action/ui 0.17.0 → 0.17.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/README.md +1 -1
- package/package.json +1 -1
- package/src/styles/artifact.css +8 -7
package/README.md
CHANGED
|
@@ -248,7 +248,7 @@ export function ArtifactShell(props: Omit<ArtifactShellProps, "currentPath">) {
|
|
|
248
248
|
}
|
|
249
249
|
```
|
|
250
250
|
|
|
251
|
-
**The note** is the first touch for a business whose site publishes no email address, served at `/notes` and wrapped in `ArtifactShell` exactly as the writeup is. It is the writeup's sibling, not a variant: a title and a dateline, the opener, two lanes of findings (what the customer sees, what sits under the hood), the steps the work would start with, and the close over the shared `SignOff`. Every prop is plain data, so a routine can write a note as JSON; a paragraph is a string or an array of strings and `{ text, href }` links, and the sign off person's `role` is the one field that also takes a node. A finding is a `Callout` with its `WriteupShot` under it. It reads on a phone first,
|
|
251
|
+
**The note** is the first touch for a business whose site publishes no email address, served at `/notes` and wrapped in `ArtifactShell` exactly as the writeup is. It is the writeup's sibling, not a variant: a title and a dateline, the opener, two lanes of findings (what the customer sees, what sits under the hood), the steps the work would start with, and the close over the shared `SignOff`. Every prop is plain data, so a routine can write a note as JSON; a paragraph is a string or an array of strings and `{ text, href }` links, and the sign off person's `role` is the one field that also takes a node. A finding is a `Callout` with its `WriteupShot` under it. It reads on a phone first, stacks the two lanes as separate sections top to bottom at every width and on paper, never side by side, and prints to one letter sheet under the writeup's `@page`.
|
|
252
252
|
|
|
253
253
|
The documents import no stylesheet of their own. A site imports `@atelic-action/ui/styles/artifact.css` in its base sheet after `gate.css` and before its `theme.css`, so every page carries the rules whichever route it is. The sheet holds two `@page` rules, the monthly page's and then the writeup's, and the later one wins for every page a site prints; the order inside the sheet is the order the template's build bundled them in and is load bearing.
|
|
254
254
|
|
package/package.json
CHANGED
package/src/styles/artifact.css
CHANGED
|
@@ -1865,9 +1865,10 @@
|
|
|
1865
1865
|
THE NOTE: the first touch set as a page (Note.tsx). A letter, not a
|
|
1866
1866
|
report: one narrow column of running text, read on a phone first.
|
|
1867
1867
|
|
|
1868
|
-
- Phone first
|
|
1869
|
-
|
|
1870
|
-
|
|
1868
|
+
- Phone first, and the one layout: the two lanes are separate
|
|
1869
|
+
sections stacked top to bottom at every width and on paper, never
|
|
1870
|
+
side by side, each finding a Callout with the owner's screen
|
|
1871
|
+
under it. Wide (721px and up) only gives the page more room.
|
|
1871
1872
|
- Print: one letter sheet. The chrome steps aside (the writeup's print
|
|
1872
1873
|
rules already hide the header and the credit band on any artifact
|
|
1873
1874
|
page), the type comes down, and the screens shrink. The note sets
|
|
@@ -1941,7 +1942,8 @@
|
|
|
1941
1942
|
text-wrap: pretty;
|
|
1942
1943
|
}
|
|
1943
1944
|
|
|
1944
|
-
/* ---- the two lanes, each a heading and its findings
|
|
1945
|
+
/* ---- the two lanes, each a heading and its findings, one above the
|
|
1946
|
+
other at every width ---- */
|
|
1945
1947
|
:is(.mkt, .atelic-ui) .nt-lanes {
|
|
1946
1948
|
display: grid;
|
|
1947
1949
|
grid-template-columns: minmax(0, 1fr);
|
|
@@ -2057,13 +2059,12 @@
|
|
|
2057
2059
|
text-decoration: none;
|
|
2058
2060
|
}
|
|
2059
2061
|
|
|
2060
|
-
/* ---- wide
|
|
2061
|
-
@media
|
|
2062
|
+
/* ---- wide: the same stacked page with room ---- */
|
|
2063
|
+
@media (min-width: 721px) {
|
|
2062
2064
|
:is(.mkt, .atelic-ui) .nt-doc {
|
|
2063
2065
|
padding: calc(var(--nav-height) + 36px) 24px 64px;
|
|
2064
2066
|
}
|
|
2065
2067
|
:is(.mkt, .atelic-ui) .nt-lanes {
|
|
2066
|
-
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
2067
2068
|
gap: 32px;
|
|
2068
2069
|
}
|
|
2069
2070
|
}
|