@striae-org/striae 3.3.0 → 4.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/.env.example +1 -1
- package/app/components/actions/case-export/core-export.ts +5 -2
- package/app/components/actions/case-import/confirmation-import.ts +24 -23
- package/app/components/actions/case-import/image-operations.ts +20 -49
- package/app/components/actions/case-import/orchestrator.ts +1 -1
- package/app/components/actions/case-import/storage-operations.ts +54 -89
- package/app/components/actions/case-import/validation.ts +2 -13
- package/app/components/actions/case-manage.ts +15 -27
- package/app/components/actions/generate-pdf.ts +3 -7
- package/app/components/actions/image-manage.ts +63 -129
- package/app/components/button/button.module.css +12 -8
- package/app/components/sidebar/case-export/case-export.tsx +11 -6
- package/app/components/sidebar/cases/case-sidebar.tsx +21 -6
- package/app/components/sidebar/sidebar.module.css +0 -2
- package/app/components/user/delete-account.tsx +7 -7
- package/app/config-example/config.json +2 -8
- package/app/hooks/useInactivityTimeout.ts +2 -5
- package/app/root.tsx +94 -63
- package/app/routes/auth/login.tsx +3 -5
- package/app/routes/auth/route.ts +4 -3
- package/app/routes/striae/striae.tsx +4 -8
- package/app/services/audit/audit-api-client.ts +40 -0
- package/app/services/audit/audit-worker-client.ts +14 -17
- package/app/styles/root.module.css +13 -101
- package/app/tailwind.css +9 -2
- package/app/utils/auth.ts +5 -32
- package/app/utils/data-api-client.ts +43 -0
- package/app/utils/data-operations.ts +59 -75
- package/app/utils/image-api-client.ts +130 -0
- package/app/utils/pdf-api-client.ts +43 -0
- package/app/utils/permissions.ts +10 -23
- package/app/utils/user-api-client.ts +90 -0
- package/functions/api/_shared/firebase-auth.ts +255 -0
- package/functions/api/audit/[[path]].ts +150 -0
- package/functions/api/data/[[path]].ts +141 -0
- package/functions/api/image/[[path]].ts +127 -0
- package/functions/api/pdf/[[path]].ts +110 -0
- package/functions/api/user/[[path]].ts +196 -0
- package/package.json +2 -1
- package/scripts/deploy-all.sh +22 -8
- package/scripts/deploy-config.sh +143 -148
- package/scripts/deploy-pages-secrets.sh +231 -0
- package/scripts/deploy-worker-secrets.sh +1 -1
- package/workers/audit-worker/wrangler.jsonc.example +1 -8
- package/workers/data-worker/wrangler.jsonc.example +1 -8
- package/workers/image-worker/wrangler.jsonc.example +1 -8
- package/workers/keys-worker/wrangler.jsonc.example +2 -9
- package/workers/pdf-worker/src/assets/icon-256.png +0 -0
- package/workers/pdf-worker/wrangler.jsonc.example +1 -8
- package/workers/user-worker/src/user-worker.example.ts +121 -41
- package/workers/user-worker/wrangler.jsonc.example +1 -8
- package/wrangler.toml.example +1 -1
- package/app/styles/legal-pages.module.css +0 -113
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
.content {
|
|
2
|
-
background: color-mix(in lab, var(--backgroundLight) 95%, transparent);
|
|
3
|
-
border-radius: var(--spaceXS);
|
|
4
|
-
padding: var(--space2XL);
|
|
5
|
-
box-shadow: 0 var(--spaceXS) var(--spaceL) color-mix(in lab, var(--black) 10%, transparent);
|
|
6
|
-
line-height: var(--lineHeightBody);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.content h1 {
|
|
10
|
-
font-size: var(--fontSizeH4);
|
|
11
|
-
margin-bottom: var(--spaceM);
|
|
12
|
-
color: var(--textTitle);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.content p {
|
|
16
|
-
margin-bottom: var(--spaceM);
|
|
17
|
-
color: var(--textBody);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.content h2 {
|
|
21
|
-
font-size: var(--fontSizeH5);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.section {
|
|
25
|
-
margin-bottom: var(--space2XL);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.section h4 {
|
|
29
|
-
color: var(--textTitle);
|
|
30
|
-
margin-bottom: var(--spaceM);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.section h2 {
|
|
34
|
-
font-size: var(--fontSizeH5);
|
|
35
|
-
margin-top: var(--spaceXL);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.section h2:first-child {
|
|
39
|
-
margin-top: 0;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.section h3 {
|
|
43
|
-
font-size: var(--fontSizeBodyXL);
|
|
44
|
-
margin-top: var(--spaceXL);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.section h4 {
|
|
48
|
-
font-size: var(--fontSizeBodyL);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.section p,
|
|
52
|
-
.section ul {
|
|
53
|
-
margin-bottom: var(--spaceM);
|
|
54
|
-
color: var(--textBody);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.section ul {
|
|
58
|
-
padding-left: var(--spaceXL);
|
|
59
|
-
list-style-type: disc;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.section ol {
|
|
63
|
-
padding-left: var(--spaceXL);
|
|
64
|
-
list-style-type: decimal;
|
|
65
|
-
margin-bottom: var(--spaceM);
|
|
66
|
-
color: var(--textBody);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.section li {
|
|
70
|
-
margin-bottom: var(--spaceS);
|
|
71
|
-
color: var(--textBody);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.lastUpdated {
|
|
75
|
-
color: var(--textLight);
|
|
76
|
-
font-size: var(--fontSizeBodyXS);
|
|
77
|
-
margin-bottom: var(--space2XL);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.section p small {
|
|
81
|
-
font-size: var(--fontSizeBodyS);
|
|
82
|
-
color: var(--textLight);
|
|
83
|
-
opacity: 0.9;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.section a {
|
|
87
|
-
color: var(--primary);
|
|
88
|
-
text-decoration: underline;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.section a:hover {
|
|
92
|
-
color: var(--accent);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@media (max-width: 1296px) {
|
|
96
|
-
.logo {
|
|
97
|
-
display: none;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.returnLink {
|
|
101
|
-
display: block;
|
|
102
|
-
margin-left: auto;
|
|
103
|
-
margin-right: auto;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.container {
|
|
107
|
-
padding: var(--spaceM);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.content {
|
|
111
|
-
padding: var(--spaceXL);
|
|
112
|
-
}
|
|
113
|
-
}
|