@useprint/preview 0.1.1 → 0.1.3
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +5 -5
- package/.next/diagnostics/framework.json +1 -1
- package/.next/images-manifest.json +1 -0
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +3 -5
- package/.next/required-server-files.js +324 -0
- package/.next/required-server-files.json +11 -8
- package/.next/routes-manifest.json +1 -1
- package/.next/server/app/_global-error/page.js +3 -3
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +2 -2
- package/.next/server/app/_global-error.meta +2 -1
- package/.next/server/app/_global-error.rsc +2 -3
- package/.next/server/app/_global-error.segments/_full.segment.rsc +2 -3
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +5 -0
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -8
- package/.next/server/app/_not-found/page.js +2 -2
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/favicon.ico.body +0 -0
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/preview/[...slug]/page.js +102 -219
- package/.next/server/app/preview/[...slug]/page.js.nft.json +1 -1
- package/.next/server/app/preview/[...slug]/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/337.js +3 -0
- package/.next/server/chunks/377.js +1 -0
- package/.next/server/chunks/394.js +1 -0
- package/.next/server/chunks/445.js +22 -0
- package/.next/server/chunks/471.js +13 -0
- package/.next/server/chunks/95.js +4 -4
- package/.next/server/chunks/static/media/pdf.worker.min.3327dba1.mjs +8 -0
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/next-font-manifest.js +1 -1
- package/.next/server/next-font-manifest.json +1 -1
- package/.next/server/pages/500.html +2 -2
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/server/webpack-runtime.js +1 -1
- package/.next/static/chunks/134-e1901aa4c8d7c5e4.js +1 -0
- package/.next/static/chunks/399-82b1df7ae5633759.js +1 -0
- package/.next/static/chunks/4bd1b696-096d35a2bd1da3af.js +1 -0
- package/.next/static/chunks/576-c76dd52ea4e7fe70.js +1 -0
- package/.next/static/chunks/794-96cfa93198fb4e82.js +2 -0
- package/.next/static/chunks/818-09ed5fa3e6aa2cec.js +9 -0
- package/.next/static/chunks/aad4249a-49e9609864e9e734.js +2 -0
- package/.next/static/chunks/app/layout-ab1f12a855e9ab71.js +1 -0
- package/.next/static/chunks/app/preview/[...slug]/page-21d4bab9478629da.js +1 -0
- package/.next/static/chunks/{c828b8b5-6f56633e9da941cb.js → c828b8b5-fe0be434537dde60.js} +2 -2
- package/.next/static/chunks/framework-2d4b35820b5e3e1e.js +1 -0
- package/.next/static/chunks/main-d2bae8996dc5307c.js +5 -0
- package/.next/static/chunks/{webpack-b8e17eaab329ee72.js → webpack-96cba10d3fe872ec.js} +1 -1
- package/.next/static/css/30dcbab3549c2dfe.css +4 -0
- package/.next/static/media/inter-cyrillic-400-normal.372704ff.woff2 +0 -0
- package/.next/static/media/inter-cyrillic-400-normal.a6b6ef6f.woff +0 -0
- package/.next/static/media/inter-cyrillic-500-normal.7c15bba8.woff2 +0 -0
- package/.next/static/media/inter-cyrillic-500-normal.b9f8c929.woff +0 -0
- package/.next/static/media/inter-cyrillic-600-normal.2f42892a.woff2 +0 -0
- package/.next/static/media/inter-cyrillic-600-normal.c3987adc.woff +0 -0
- package/.next/static/media/inter-cyrillic-700-normal.93eba3c3.woff +0 -0
- package/.next/static/media/inter-cyrillic-700-normal.e9e5b2dc.woff2 +0 -0
- package/.next/static/media/inter-cyrillic-ext-400-normal.2a31c04b.woff +0 -0
- package/.next/static/media/inter-cyrillic-ext-400-normal.f572b170.woff2 +0 -0
- package/.next/static/media/inter-cyrillic-ext-500-normal.5a6bb1da.woff +0 -0
- package/.next/static/media/inter-cyrillic-ext-500-normal.fe0d9b14.woff2 +0 -0
- package/.next/static/media/inter-cyrillic-ext-600-normal.ecbdecad.woff +0 -0
- package/.next/static/media/inter-cyrillic-ext-600-normal.f7b3c15b.woff2 +0 -0
- package/.next/static/media/inter-cyrillic-ext-700-normal.4b4022a6.woff +0 -0
- package/.next/static/media/inter-cyrillic-ext-700-normal.74b516d2.woff2 +0 -0
- package/.next/static/media/inter-greek-400-normal.cc58c11b.woff +0 -0
- package/.next/static/media/inter-greek-400-normal.d7020e3c.woff2 +0 -0
- package/.next/static/media/inter-greek-500-normal.d9a33207.woff +0 -0
- package/.next/static/media/inter-greek-500-normal.f41f43db.woff2 +0 -0
- package/.next/static/media/inter-greek-600-normal.4ec0c1c1.woff +0 -0
- package/.next/static/media/inter-greek-600-normal.cc532937.woff2 +0 -0
- package/.next/static/media/inter-greek-700-normal.5ec6c758.woff +0 -0
- package/.next/static/media/inter-greek-700-normal.97f0eeeb.woff2 +0 -0
- package/.next/static/media/inter-greek-ext-400-normal.4ce1df5d.woff2 +0 -0
- package/.next/static/media/inter-greek-ext-400-normal.88ede1ea.woff +0 -0
- package/.next/static/media/inter-greek-ext-500-normal.7a4aa726.woff +0 -0
- package/.next/static/media/inter-greek-ext-500-normal.cbd51e2d.woff2 +0 -0
- package/.next/static/media/inter-greek-ext-600-normal.089a95ee.woff +0 -0
- package/.next/static/media/inter-greek-ext-600-normal.1f33d317.woff2 +0 -0
- package/.next/static/media/inter-greek-ext-700-normal.31f1075d.woff +0 -0
- package/.next/static/media/inter-greek-ext-700-normal.827cd618.woff2 +0 -0
- package/.next/static/media/inter-latin-400-normal.2c7a775c.woff +0 -0
- package/.next/static/media/inter-latin-400-normal.ef6d3f52.woff2 +0 -0
- package/.next/static/media/inter-latin-500-normal.b7b43ace.woff2 +0 -0
- package/.next/static/media/inter-latin-500-normal.cb4c8ceb.woff +0 -0
- package/.next/static/media/inter-latin-600-normal.8fb1a964.woff2 +0 -0
- package/.next/static/media/inter-latin-600-normal.ce0f5f43.woff +0 -0
- package/.next/static/media/inter-latin-700-normal.953b7aa5.woff2 +0 -0
- package/.next/static/media/inter-latin-700-normal.9c21d4dc.woff +0 -0
- package/.next/static/media/inter-latin-ext-400-normal.32a25442.woff2 +0 -0
- package/.next/static/media/inter-latin-ext-400-normal.4edcaace.woff +0 -0
- package/.next/static/media/inter-latin-ext-500-normal.a19a84a6.woff +0 -0
- package/.next/static/media/inter-latin-ext-500-normal.d9b491de.woff2 +0 -0
- package/.next/static/media/inter-latin-ext-600-normal.38b075d8.woff2 +0 -0
- package/.next/static/media/inter-latin-ext-600-normal.49faa47a.woff +0 -0
- package/.next/static/media/inter-latin-ext-700-normal.93534b50.woff +0 -0
- package/.next/static/media/inter-latin-ext-700-normal.b63daa1a.woff2 +0 -0
- package/.next/static/media/inter-vietnamese-400-normal.a9dd2faf.woff +0 -0
- package/.next/static/media/inter-vietnamese-400-normal.de4fc44f.woff2 +0 -0
- package/.next/static/media/inter-vietnamese-500-normal.7c0a695f.woff2 +0 -0
- package/.next/static/media/inter-vietnamese-500-normal.a3a73b95.woff +0 -0
- package/.next/static/media/inter-vietnamese-600-normal.9d518599.woff2 +0 -0
- package/.next/static/media/inter-vietnamese-600-normal.c5ce3fcb.woff +0 -0
- package/.next/static/media/inter-vietnamese-700-normal.bc68b199.woff +0 -0
- package/.next/static/media/inter-vietnamese-700-normal.faf12809.woff2 +0 -0
- package/.next/static/media/pdf.worker.min.67f75a11.mjs +8 -0
- package/.next/trace +32 -32
- package/.next/trace-build +1 -1
- package/CHANGELOG.md +19 -0
- package/next.config.js +5 -1
- package/package.json +4 -3
- package/public/apple-touch-icon.png +0 -0
- package/public/favicon-96x96.png +0 -0
- package/public/favicon.ico +0 -0
- package/public/favicon.svg +3 -0
- package/public/site.webmanifest +21 -0
- package/public/web-app-manifest-192x192.png +0 -0
- package/public/web-app-manifest-512x512.png +0 -0
- package/readme.md +9 -27
- package/scripts/utils/default-seed/contracts/project-proposal.tsx +68 -0
- package/scripts/utils/default-seed/finance/payment-summary.tsx +55 -0
- package/scripts/utils/default-seed/reports/incident-report.tsx +49 -0
- package/scripts/utils/default-seed/updates/release-notes.tsx +58 -0
- package/src/actions/generate-pdf-from-html.ts +0 -8
- package/src/actions/render-document-by-path.tsx +0 -3
- package/src/app/favicon.ico +0 -0
- package/src/app/fonts.ts +0 -7
- package/src/app/globals.css +9 -0
- package/src/app/layout.tsx +13 -8
- package/src/app/page.tsx +14 -12
- package/src/app/preview/[...slug]/page.tsx +9 -61
- package/src/app/preview/[...slug]/preview.tsx +5 -6
- package/src/components/logo.tsx +21 -13
- package/src/components/pdf-viewer.tsx +61 -20
- package/src/components/print.tsx +37 -5
- package/src/components/shell.tsx +1 -2
- package/src/utils/__snapshots__/get-document-component.spec.ts.snap +25 -181
- package/src/utils/canidocument/ast/get-object-variables.ts +1 -1
- package/src/utils/canidocument/ast/get-used-style-properties.ts +1 -1
- package/src/utils/canidocument/get-compatibility-stats-for-entry.ts +1 -1
- package/src/utils/canidocument/tailwind/get-tailwind-config.ts +1 -1
- package/src/utils/canidocument/tailwind/get-tailwind-metadata.spec.ts +2 -2
- package/src/utils/canidocument/tailwind/get-tailwind-metadata.ts +1 -1
- package/src/utils/canidocument/types.ts +12 -0
- package/src/utils/contains-document-template.spec.ts +1 -1
- package/src/utils/esbuild/renderring-utilities-exporter.ts +248 -0
- package/src/utils/get-document-component.spec.ts +6 -4
- package/src/utils/get-document-component.ts +61 -10
- package/src/utils/get-documents-directory-metadata.spec.ts +18 -55
- package/src/utils/iframe-processing.spec.ts +13 -25
- package/src/utils/js-document-detection.spec.ts +11 -5
- package/src/utils/linting.ts +29 -33
- package/src/utils/margin-calculation.spec.ts +5 -5
- package/src/utils/testing/js-document-export-default.js +3 -0
- package/src/utils/testing/js-document-test.js +3 -0
- package/src/utils/testing/mdx-document-test.js +3 -0
- package/src/utils/testing/request-response-document.tsx +15 -0
- package/.next/server/chunks/134.js +0 -22
- package/.next/server/chunks/286.js +0 -27
- package/.next/server/chunks/489.js +0 -13
- package/.next/server/chunks/731.js +0 -1
- package/.next/server/chunks/static/media/pdf.worker.min.3fa7f4f1.mjs +0 -8
- package/.next/static/chunks/134-488429db271f07ce.js +0 -1
- package/.next/static/chunks/399-38210d4b480adc3a.js +0 -1
- package/.next/static/chunks/4bd1b696-f2999b4e17b2fd5f.js +0 -1
- package/.next/static/chunks/576-d2a7761fb68a178e.js +0 -1
- package/.next/static/chunks/794-de04f3efd45c53dd.js +0 -20
- package/.next/static/chunks/818-708fabc8a2438ba2.js +0 -9
- package/.next/static/chunks/aad4249a-8397af6f169152d5.js +0 -2
- package/.next/static/chunks/app/layout-38d6d79a819ab362.js +0 -1
- package/.next/static/chunks/app/preview/[...slug]/page-1097b557142aa22c.js +0 -1
- package/.next/static/chunks/framework-9fb1a057e8adf51d.js +0 -1
- package/.next/static/chunks/main-66c819c51fec57bf.js +0 -23
- package/.next/static/css/2f4a632dc94d1fb7.css +0 -3
- package/.next/static/media/19cfc7226ec3afaa-s.woff2 +0 -0
- package/.next/static/media/21350d82a1f187e9-s.woff2 +0 -0
- package/.next/static/media/8e9860b6e62d6359-s.woff2 +0 -0
- package/.next/static/media/ba9851c3c22cd980-s.woff2 +0 -0
- package/.next/static/media/c5fe6dc8356a8c31-s.woff2 +0 -0
- package/.next/static/media/df0a9ae256c0569c-s.woff2 +0 -0
- package/.next/static/media/e4af272ccee01ff0-s.p.woff2 +0 -0
- package/.next/static/media/pdf.worker.min.539a26ca.mjs +0 -8
- package/.next/types/app/layout.ts +0 -86
- package/.next/types/cache-life.d.ts +0 -145
- package/scripts/utils/default-seed/auth/account-confirmation.tsx +0 -68
- package/scripts/utils/default-seed/auth/forgot-password.tsx +0 -71
- package/scripts/utils/default-seed/communications/payment-overdue.tsx +0 -82
- package/scripts/utils/default-seed/communications/team-invite.tsx +0 -78
- package/scripts/utils/default-seed/communications/webhooks-failed.tsx +0 -89
- package/scripts/utils/default-seed/feedback-request.tsx +0 -78
- package/scripts/utils/default-seed/marketing/changelog.tsx +0 -98
- package/src/actions/document-validation/__snapshots__/check-images.spec.tsx.snap +0 -84
- package/src/actions/document-validation/canidocument-data.ts +0 -85993
- package/src/actions/document-validation/check-compatibility.ts +0 -333
- package/src/actions/document-validation/check-images.spec.tsx +0 -21
- package/src/actions/document-validation/check-images.ts +0 -160
- package/src/actions/document-validation/check-links.spec.tsx +0 -113
- package/src/actions/document-validation/check-links.ts +0 -113
- package/src/actions/document-validation/get-code-location-from-ast-element.ts +0 -18
- package/src/actions/document-validation/quick-fetch.ts +0 -14
- package/src/animated-icons-data/help.json +0 -1082
- package/src/animated-icons-data/link.json +0 -1309
- package/src/animated-icons-data/mail.json +0 -1320
- package/src/components/toolbar/checking-results.tsx +0 -150
- package/src/components/toolbar/code-preview-line-link.tsx +0 -39
- package/src/components/toolbar/compatibility.tsx +0 -113
- package/src/components/toolbar/linter.tsx +0 -278
- package/src/components/toolbar/results-table.tsx +0 -0
- package/src/components/toolbar/results.tsx +0 -52
- package/src/components/toolbar/spam-assassin.tsx +0 -153
- package/src/components/toolbar/toolbar-button.tsx +0 -52
- package/src/components/toolbar/use-cached-state.ts +0 -33
- package/src/components/toolbar.tsx +0 -349
- /package/.next/static/{ZCqBZ8ZswPjX7K5Zalrpy → w_xYcS_2x1gNv-LaTlIOy}/_buildManifest.js +0 -0
- /package/.next/static/{ZCqBZ8ZswPjX7K5Zalrpy → w_xYcS_2x1gNv-LaTlIOy}/_ssgManifest.js +0 -0
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Body,
|
|
3
|
-
Button,
|
|
4
|
-
Column,
|
|
5
|
-
Container,
|
|
6
|
-
Head,
|
|
7
|
-
Heading,
|
|
8
|
-
Hr,
|
|
9
|
-
Html,
|
|
10
|
-
Preview,
|
|
11
|
-
Row,
|
|
12
|
-
Tailwind,
|
|
13
|
-
Text,
|
|
14
|
-
} from '@useprint/components';
|
|
15
|
-
|
|
16
|
-
interface FeedbackRequestProps {
|
|
17
|
-
name: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export default function FeedbackRequest({ name }: FeedbackRequestProps) {
|
|
21
|
-
return (
|
|
22
|
-
<Html>
|
|
23
|
-
<Head />
|
|
24
|
-
<Tailwind>
|
|
25
|
-
<Body className="bg-black text-white">
|
|
26
|
-
<Preview>
|
|
27
|
-
Thank you for using our service. We would love to hear your
|
|
28
|
-
feedback.
|
|
29
|
-
</Preview>
|
|
30
|
-
<Container className="mx-auto">
|
|
31
|
-
<Heading className="font-bold text-center my-[48px] text-[32px]">
|
|
32
|
-
Hello {name},
|
|
33
|
-
</Heading>
|
|
34
|
-
<Text>
|
|
35
|
-
Thank you for using our service. We would love to hear your
|
|
36
|
-
thoughts and suggestions.
|
|
37
|
-
</Text>
|
|
38
|
-
<Text>
|
|
39
|
-
We work hard to improve our service and your feedback is crucial
|
|
40
|
-
for us to understand what we are doing well and where we can
|
|
41
|
-
improve.
|
|
42
|
-
</Text>
|
|
43
|
-
<Text className="mb-6">
|
|
44
|
-
If you have any questions about the service or need assistance,
|
|
45
|
-
please feel free to reach out to us at{' '}
|
|
46
|
-
<a
|
|
47
|
-
href="mailto:support@useprint.dev"
|
|
48
|
-
className="text-cyan-300 underline"
|
|
49
|
-
>
|
|
50
|
-
support@useprint.dev
|
|
51
|
-
</a>
|
|
52
|
-
.
|
|
53
|
-
</Text>
|
|
54
|
-
<Row className="w-full">
|
|
55
|
-
<Column className="w-full">
|
|
56
|
-
<Button
|
|
57
|
-
href="https://useprint.dev"
|
|
58
|
-
className="bg-cyan-300 text-[20px] font-bold text-[#404040] w-full text-center border border-solid border-cyan-900 py-[8px] rounded-[8px]"
|
|
59
|
-
>
|
|
60
|
-
Give Feedback
|
|
61
|
-
</Button>
|
|
62
|
-
</Column>
|
|
63
|
-
</Row>
|
|
64
|
-
<Text className="mt-6">- UsePrint team</Text>
|
|
65
|
-
<Hr style={{ borderTopColor: '#404040' }} />
|
|
66
|
-
<Text className="text-[#606060] font-bold">
|
|
67
|
-
UsePrint, 999 React St, Document City, EC 12345
|
|
68
|
-
</Text>
|
|
69
|
-
</Container>
|
|
70
|
-
</Body>
|
|
71
|
-
</Tailwind>
|
|
72
|
-
</Html>
|
|
73
|
-
);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
FeedbackRequest.PreviewProps = {
|
|
77
|
-
name: 'user',
|
|
78
|
-
} satisfies FeedbackRequestProps;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Body,
|
|
3
|
-
Container,
|
|
4
|
-
Head,
|
|
5
|
-
Heading,
|
|
6
|
-
Hr,
|
|
7
|
-
Html,
|
|
8
|
-
Preview,
|
|
9
|
-
Section,
|
|
10
|
-
Tailwind,
|
|
11
|
-
Text,
|
|
12
|
-
} from '@useprint/components';
|
|
13
|
-
|
|
14
|
-
interface ChangelogProps {
|
|
15
|
-
receiver: string;
|
|
16
|
-
changes: Partial<Record<'features' | 'fixes' | 'improvements', string[]>>;
|
|
17
|
-
date: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface ChangesProps {
|
|
21
|
-
title: React.ReactNode;
|
|
22
|
-
content: string[];
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
function Changes({ title, content }: ChangesProps) {
|
|
26
|
-
return (
|
|
27
|
-
<Section>
|
|
28
|
-
<Heading as="h2" className="my-[12px]">
|
|
29
|
-
{title}
|
|
30
|
-
</Heading>
|
|
31
|
-
<ul className="list-disc pl-6">
|
|
32
|
-
{content.map((feature, index) => (
|
|
33
|
-
<li key={index} className="mb-2">
|
|
34
|
-
{feature}
|
|
35
|
-
</li>
|
|
36
|
-
))}
|
|
37
|
-
</ul>
|
|
38
|
-
</Section>
|
|
39
|
-
);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export default function Changelog({ receiver, date, changes }: ChangelogProps) {
|
|
43
|
-
return (
|
|
44
|
-
<Html>
|
|
45
|
-
<Head />
|
|
46
|
-
<Tailwind>
|
|
47
|
-
<Body className="bg-black text-white">
|
|
48
|
-
<Preview>
|
|
49
|
-
The changes as of {date} particularly tailored to you
|
|
50
|
-
</Preview>
|
|
51
|
-
<Container className="mx-auto">
|
|
52
|
-
<Heading className="font-bold text-center my-[48px] text-[32px]">
|
|
53
|
-
Hello {receiver},
|
|
54
|
-
</Heading>
|
|
55
|
-
<Text>
|
|
56
|
-
We've been hard at work making improvements to our service, and we
|
|
57
|
-
wanted to share the latest changes as of{' '}
|
|
58
|
-
<span className="font-bold">{date}</span> with you.
|
|
59
|
-
</Text>
|
|
60
|
-
{changes.features && changes.features.length > 0 ? (
|
|
61
|
-
<Changes title="Features" content={changes.features} />
|
|
62
|
-
) : null}
|
|
63
|
-
{changes.improvements && changes.improvements.length > 0 ? (
|
|
64
|
-
<Changes title="Improvements" content={changes.improvements} />
|
|
65
|
-
) : null}
|
|
66
|
-
{changes.fixes && changes.fixes.length > 0 ? (
|
|
67
|
-
<Changes title="Fixes" content={changes.fixes} />
|
|
68
|
-
) : null}
|
|
69
|
-
<Text className="mt-6">- UsePrint team</Text>
|
|
70
|
-
<Hr style={{ borderTopColor: '#404040' }} />
|
|
71
|
-
<Text className="text-[#606060] font-bold">
|
|
72
|
-
UsePrint, 999 React St, Document City, EC 12345
|
|
73
|
-
</Text>
|
|
74
|
-
</Container>
|
|
75
|
-
</Body>
|
|
76
|
-
</Tailwind>
|
|
77
|
-
</Html>
|
|
78
|
-
);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
Changelog.PreviewProps = {
|
|
82
|
-
receiver: 'user',
|
|
83
|
-
changes: {
|
|
84
|
-
features: [
|
|
85
|
-
'Added a new feature to enhance user experience',
|
|
86
|
-
'Introduced a dark mode option for better accessibility',
|
|
87
|
-
],
|
|
88
|
-
fixes: [
|
|
89
|
-
'Fixed a bug that caused the app to crash on startup',
|
|
90
|
-
'Resolved an issue with document notifications not being sent',
|
|
91
|
-
],
|
|
92
|
-
improvements: [
|
|
93
|
-
'Improved performance of the application by optimizing database queries',
|
|
94
|
-
'Enhanced security measures to protect user data',
|
|
95
|
-
],
|
|
96
|
-
},
|
|
97
|
-
date: 'June 4th, 2025',
|
|
98
|
-
} satisfies ChangelogProps;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
|
-
|
|
3
|
-
exports[`checkImages() 1`] = `
|
|
4
|
-
[
|
|
5
|
-
{
|
|
6
|
-
"checks": [
|
|
7
|
-
{
|
|
8
|
-
"metadata": {
|
|
9
|
-
"alt": undefined,
|
|
10
|
-
},
|
|
11
|
-
"passed": false,
|
|
12
|
-
"type": "accessibility",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"passed": true,
|
|
16
|
-
"type": "syntax",
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"passed": true,
|
|
20
|
-
"type": "security",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"metadata": {
|
|
24
|
-
"fetchStatusCode": 200,
|
|
25
|
-
},
|
|
26
|
-
"passed": true,
|
|
27
|
-
"type": "fetch_attempt",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"metadata": {
|
|
31
|
-
"byteCount": 26808,
|
|
32
|
-
},
|
|
33
|
-
"passed": true,
|
|
34
|
-
"type": "image_size",
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
"codeLocation": {
|
|
38
|
-
"column": 3,
|
|
39
|
-
"line": 2,
|
|
40
|
-
},
|
|
41
|
-
"source": "https://useprint.com/static/brand/useprint-icon-white.png",
|
|
42
|
-
"status": "warning",
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"checks": [
|
|
46
|
-
{
|
|
47
|
-
"metadata": {
|
|
48
|
-
"alt": "codepen challenges",
|
|
49
|
-
},
|
|
50
|
-
"passed": true,
|
|
51
|
-
"type": "accessibility",
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"passed": true,
|
|
55
|
-
"type": "syntax",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"passed": true,
|
|
59
|
-
"type": "security",
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"metadata": {
|
|
63
|
-
"fetchStatusCode": 200,
|
|
64
|
-
},
|
|
65
|
-
"passed": true,
|
|
66
|
-
"type": "fetch_attempt",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"metadata": {
|
|
70
|
-
"byteCount": 111922,
|
|
71
|
-
},
|
|
72
|
-
"passed": true,
|
|
73
|
-
"type": "image_size",
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
|
-
"codeLocation": {
|
|
77
|
-
"column": 3,
|
|
78
|
-
"line": 3,
|
|
79
|
-
},
|
|
80
|
-
"source": "/static/codepen-challengers.png",
|
|
81
|
-
"status": "success",
|
|
82
|
-
},
|
|
83
|
-
]
|
|
84
|
-
`;
|