@atelic-action/artifact 7.0.2 → 8.0.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/README.md +1 -1
- package/package.json +3 -4
- package/src/documents/TheRead.tsx +2 -2
- package/src/documents/Topic.tsx +3 -3
package/README.md
CHANGED
|
@@ -56,7 +56,7 @@ What a document is built from stays in `@atelic-action/ui`, and this package imp
|
|
|
56
56
|
bun add @atelic-action/artifact @atelic-action/ui
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
Peer dependencies: `@atelic-action/ui` at `^
|
|
59
|
+
Peer dependencies: `@atelic-action/ui` at `^8.7.0`, `react` at `^19.0.0`, and `lucide-react` at `^1.23.0`. The package ships TSX and CSS as source, compiled inside the site's own Vite like ui's; a site whose `vite.config.ts` is one `artifactConfig` call from `@atelic-action/ui/vite` needs nothing more, for the build, the prerender, and the dev server alike. The default labels a document sets live in the document: the read's `readLabels` and the sealed document's gate copy are overridden through props, and the monthly page's four questions are fixed on purpose, since they are its contract with the Statement of Work.
|
|
60
60
|
|
|
61
61
|
```tsx
|
|
62
62
|
import { TheRead } from "@atelic-action/artifact";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atelic-action/artifact",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "The composed documents the Atelic practice hands or sends a business (the read, the monthly page, the note, the discovery sheet, the first call sheet, and the sealed document), built from the pieces in @atelic-action/ui",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,15 +37,14 @@
|
|
|
37
37
|
"format": "biome format . --write"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@atelic-action/ui": "^
|
|
40
|
+
"@atelic-action/ui": "^8.7.0",
|
|
41
41
|
"lucide-react": "^1.23.0",
|
|
42
42
|
"react": "^19.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@atelic-action/ui": "^
|
|
45
|
+
"@atelic-action/ui": "^8.7.0",
|
|
46
46
|
"@biomejs/biome": "^2.0.0",
|
|
47
47
|
"@playwright/test": "^1.60.0",
|
|
48
|
-
"@sentry/react": "^10.0.0",
|
|
49
48
|
"@tanstack/react-router": "^1.170.41",
|
|
50
49
|
"@tanstack/react-router-devtools": "^1.167.2",
|
|
51
50
|
"@tanstack/react-start": "^1.168.60",
|
|
@@ -407,7 +407,7 @@ export const readLabels: Required<ReadLabels> = {
|
|
|
407
407
|
sources: "See it yourself",
|
|
408
408
|
plan: "The Plan",
|
|
409
409
|
publicNote:
|
|
410
|
-
"
|
|
410
|
+
"I built this read from what anyone can see from the outside. Your own accounts, like Search Console, your Business Profile, and your analytics, would sharpen the read once I have access.",
|
|
411
411
|
overviewTitle: "Overview of",
|
|
412
412
|
overviewLede:
|
|
413
413
|
"An overview of {business} prepared by Atelic. It holds a read of the current state of the site, in Health, Visibility, and Conversion, and a proposed plan for improvement.",
|
|
@@ -702,7 +702,7 @@ function Markets({ markets }: { markets: ReadMarkets }) {
|
|
|
702
702
|
) : (
|
|
703
703
|
<>
|
|
704
704
|
<span className="data-table-empty" aria-hidden="true" />
|
|
705
|
-
<span className="data-table-empty-label">{`${column}, not read`}</span>
|
|
705
|
+
<span className="data-table-empty-label visually-hidden">{`${column}, not read`}</span>
|
|
706
706
|
</>
|
|
707
707
|
)}
|
|
708
708
|
</td>
|
package/src/documents/Topic.tsx
CHANGED
|
@@ -183,7 +183,7 @@ export const readSpeedLabels: ReadSpeedLabels = {
|
|
|
183
183
|
gradeWord: "Grade",
|
|
184
184
|
score: {
|
|
185
185
|
label: "Score",
|
|
186
|
-
hint: "Google’s own mark for the page, out of 100, from the four measures beside it.
|
|
186
|
+
hint: "Google’s own mark for the page, out of 100, from the four measures beside it. I grade it the way a school grades: 90 is an A, 80 a B, 70 a C, and under 70 a D.",
|
|
187
187
|
},
|
|
188
188
|
firstPaint: {
|
|
189
189
|
label: "First paint",
|
|
@@ -203,7 +203,7 @@ export const readSpeedLabels: ReadSpeedLabels = {
|
|
|
203
203
|
},
|
|
204
204
|
whyThreeTitle: "Why three runs.",
|
|
205
205
|
whyThree:
|
|
206
|
-
"A single run swings with Google’s own servers and the moment it ran, so
|
|
206
|
+
"A single run swings with Google’s own servers and the moment it ran, so I run the test three times a minute apart. The middle score is the reading; the best and the worst are the range.",
|
|
207
207
|
ranOn: "These ran on",
|
|
208
208
|
};
|
|
209
209
|
|
|
@@ -315,7 +315,7 @@ function Mark({ cell }: { cell: ReadMark }) {
|
|
|
315
315
|
return (
|
|
316
316
|
<>
|
|
317
317
|
<span className="data-table-empty" aria-hidden="true" />
|
|
318
|
-
<span className="data-table-empty-label">{cell.text}</span>
|
|
318
|
+
<span className="data-table-empty-label visually-hidden">{cell.text}</span>
|
|
319
319
|
</>
|
|
320
320
|
);
|
|
321
321
|
}
|