Skip to content

Commit 0552e37

Browse files
committed
chore(auth): remove design-tool attribution
1 parent 8d6d30e commit 0552e37

7 files changed

Lines changed: 9 additions & 48 deletions

File tree

‎apps/sim/app/(auth)/components/auth-navigation.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { getEnv, isFalsy } from '@/lib/core/config/env'
66
import { validateCallbackUrl } from '@/lib/core/security/input-validation'
77
import { buildAuthCrossLink, resolveAuthRedirect } from '@/app/(auth)/auth-redirect'
88

9-
/** Preserves return and invitation context in the Paper header cross-link. */
9+
/** Preserves return and invitation context in the Auth header cross-link. */
1010
export function AuthNavigation({ registrationDisabled }: { registrationDisabled: boolean }) {
1111
const pathname = usePathname()
1212
const params = useSearchParams()

‎apps/sim/auth-migration/coverage.json‎

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
{
2-
"source": "https://app.paper.design/file/01M4HT6VGW45G238N4V86KKMG7/p-B-0",
3-
"tokenRevision": "ebe83397",
42
"scope": "Auth presentation only; existing authentication handlers, resource authorization, cookies, redirects and external providers remain authoritative.",
53
"routes": [
64
{
75
"file": "apps/sim/app/(auth)/login/page.tsx",
86
"url": "/login",
97
"entry": "page.tsx",
10-
"paper": "1U0R-0",
118
"states": [
129
"email-password",
1310
"recovery",
@@ -30,7 +27,6 @@
3027
"file": "apps/sim/app/(auth)/oauth/consent/page.tsx",
3128
"url": "/oauth/consent",
3229
"entry": "page.tsx",
33-
"paper": "1V38-0",
3430
"states": [
3531
"loading",
3632
"trusted client",
@@ -46,15 +42,13 @@
4642
"file": "apps/sim/app/(auth)/oauth/sign-in/route.ts",
4743
"url": "/oauth/sign-in",
4844
"entry": "route.ts",
49-
"paper": "1ZEQ-0",
5045
"states": ["signed OAuth request redirect"],
5146
"actions": []
5247
},
5348
{
5449
"file": "apps/sim/app/(auth)/reset-password/page.tsx",
5550
"url": "/reset-password",
5651
"entry": "page.tsx",
57-
"paper": "1USK-0",
5852
"states": [
5953
"missing token",
6054
"invalid token",
@@ -69,7 +63,6 @@
6963
"file": "apps/sim/app/(auth)/signup/page.tsx",
7064
"url": "/signup",
7165
"entry": "page.tsx",
72-
"paper": "1UI9-0",
7366
"states": [
7467
"default",
7568
"all validation messages",
@@ -84,15 +77,13 @@
8477
"file": "apps/sim/app/(auth)/sso/launch/[providerId]/route.ts",
8578
"url": "/sso/launch/[providerId]",
8679
"entry": "route.ts",
87-
"paper": "1ZEQ-0",
8880
"states": ["SSO provider redirect"],
8981
"actions": []
9082
},
9183
{
9284
"file": "apps/sim/app/(auth)/sso/page.tsx",
9385
"url": "/sso",
9486
"entry": "page.tsx",
95-
"paper": "1UQ5-0",
9687
"states": [
9788
"idle",
9889
"invalid email",
@@ -108,7 +99,6 @@
10899
"file": "apps/sim/app/(auth)/verify/page.tsx",
109100
"url": "/verify",
110101
"entry": "page.tsx",
111-
"paper": "1URA-0",
112102
"states": [
113103
"idle",
114104
"auto-submit",
@@ -125,7 +115,6 @@
125115
"file": "apps/sim/app/(interfaces)/chat/[identifier]/page.tsx",
126116
"url": "/chat/[identifier]",
127117
"entry": "page.tsx",
128-
"paper": "1W6F-0",
129118
"states": [
130119
"password gate",
131120
"email entry",
@@ -142,15 +131,13 @@
142131
"file": "apps/sim/app/cli/auth/done/page.tsx",
143132
"url": "/cli/auth/done",
144133
"entry": "page.tsx",
145-
"paper": "1V9Z-0",
146134
"states": ["complete", "cancelled", "invalid outcome"],
147135
"actions": []
148136
},
149137
{
150138
"file": "apps/sim/app/cli/auth/page.tsx",
151139
"url": "/cli/auth",
152140
"entry": "page.tsx",
153-
"paper": "1V4Q-0",
154141
"states": [
155142
"invalid request",
156143
"signed out redirect",
@@ -167,15 +154,13 @@
167154
"file": "apps/sim/app/credential-groups/complete/page.tsx",
168155
"url": "/credential-groups/complete",
169156
"entry": "page.tsx",
170-
"paper": "1V9Z-0",
171157
"states": ["complete"],
172158
"actions": []
173159
},
174160
{
175161
"file": "apps/sim/app/credential-groups/enroll/[token]/page.tsx",
176162
"url": "/credential-groups/enroll/[token]",
177163
"entry": "page.tsx",
178-
"paper": "1YP4-0",
179164
"states": [
180165
"full enrollment",
181166
"focused reconnect",
@@ -191,31 +176,27 @@
191176
"file": "apps/sim/app/credential-groups/slack-complete/page.tsx",
192177
"url": "/credential-groups/slack-complete",
193178
"entry": "page.tsx",
194-
"paper": "1V9Z-0",
195179
"states": ["complete", "failure"],
196180
"actions": []
197181
},
198182
{
199183
"file": "apps/sim/app/desktop/auth/page.tsx",
200184
"url": "/desktop/auth",
201185
"entry": "page.tsx",
202-
"paper": "1V8Y-0",
203186
"states": ["signed out redirect", "approval", "pending", "refused", "failure", "handoff"],
204187
"actions": ["continue to desktop", "retry"]
205188
},
206189
{
207190
"file": "apps/sim/app/desktop/connect/complete/page.tsx",
208191
"url": "/desktop/connect/complete",
209192
"entry": "page.tsx",
210-
"paper": "1V9Z-0",
211193
"states": ["complete", "failure"],
212194
"actions": []
213195
},
214196
{
215197
"file": "apps/sim/app/desktop/connect/page.tsx",
216198
"url": "/desktop/connect",
217199
"entry": "page.tsx",
218-
"paper": "1V7U-0",
219200
"states": [
220201
"browser waiting",
221202
"authenticated launch",
@@ -229,15 +210,13 @@
229210
"file": "apps/sim/app/desktop/done/page.tsx",
230211
"url": "/desktop/done",
231212
"entry": "page.tsx",
232-
"paper": "1V9Z-0",
233213
"states": ["complete"],
234214
"actions": []
235215
},
236216
{
237217
"file": "apps/sim/app/f/[token]/page.tsx",
238218
"url": "/f/[token]",
239219
"entry": "page.tsx",
240-
"paper": "1W6F-0",
241220
"states": [
242221
"password gate",
243222
"email entry",
@@ -254,7 +233,6 @@
254233
"file": "apps/sim/app/invite/[id]/page.tsx",
255234
"url": "/invite/[id]",
256235
"entry": "page.tsx",
257-
"paper": "1V1L-0",
258236
"states": [
259237
"signed out",
260238
"registration disabled",
@@ -282,61 +260,53 @@
282260
"file": "apps/sim/app/knowledge/github/setup/page.tsx",
283261
"url": "/knowledge/github/setup",
284262
"entry": "page.tsx",
285-
"paper": "1YP4-0",
286263
"states": ["loading", "available accounts", "pending", "error", "complete"],
287264
"actions": ["select installation", "connect"]
288265
},
289266
{
290267
"file": "apps/sim/app/oauth-error/page.tsx",
291268
"url": "/oauth-error",
292269
"entry": "page.tsx",
293-
"paper": "1V9Z-0",
294270
"states": ["callback failure"],
295271
"actions": ["close window"]
296272
},
297273
{
298274
"file": "apps/sim/app/oauth/chat-complete/page.tsx",
299275
"url": "/oauth/chat-complete",
300276
"entry": "page.tsx",
301-
"paper": "1V9Z-0",
302277
"states": ["callback processing", "handoff"],
303278
"actions": []
304279
},
305280
{
306281
"file": "apps/sim/app/oauth/credential-connected/page.tsx",
307282
"url": "/oauth/credential-connected",
308283
"entry": "page.tsx",
309-
"paper": "1V9Z-0",
310284
"states": ["connected"],
311285
"actions": ["close window"]
312286
},
313287
{
314288
"file": "apps/sim/app/slack-search/connect/[token]/page.tsx",
315289
"url": "/slack-search/connect/[token]",
316290
"entry": "page.tsx",
317-
"paper": "1YP4-0",
318291
"states": ["invitation unavailable", "workspace choice", "connecting", "error", "complete"],
319292
"actions": ["connect Slack", "choose workspace"]
320293
},
321294
{
322295
"file": "apps/sim/app/slack-search/install/[teamId]/page.tsx",
323296
"url": "/slack-search/install/[teamId]",
324297
"entry": "page.tsx",
325-
"paper": "1YP4-0",
326298
"states": ["signed out", "unavailable", "install confirmation"],
327299
"actions": ["install Slack", "return"]
328300
}
329301
],
330302
"native": [
331303
{
332304
"surface": "offline",
333-
"paper": "1VHW-0",
334305
"states": ["offline", "DNS", "TLS", "timeout", "unreachable", "cloud status", "self-hosted"],
335306
"actions": ["retry", "check status on Sim Cloud", "change server", "support"]
336307
},
337308
{
338309
"surface": "server",
339-
"paper": "1VIV-0",
340310
"states": ["current server", "invalid URL", "pending", "unchanged server", "failure"],
341311
"actions": ["connect", "cancel", "Escape/window close"]
342312
}

‎apps/sim/auth-migration/validation.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,12 @@
207207
],
208208
"productionVisualAndIsolation": [
209209
{
210-
"name": "Mobile uses the Paper text navigation and support follows the form",
210+
"name": "Mobile uses text navigation and support follows the form",
211211
"status": "pass",
212212
"durationMs": 759
213213
},
214214
{
215-
"name": "Desktop uses the Paper pill navigation, 400px form and flow footer",
215+
"name": "Desktop uses pill navigation, 400px form and flow footer",
216216
"status": "pass",
217217
"durationMs": 653
218218
},
@@ -249,7 +249,7 @@
249249
"durationMs": 4535
250250
},
251251
{
252-
"name": "All-provider configuration matches Paper ordering and mobile two-column layout",
252+
"name": "All-provider configuration matches the specified ordering and mobile two-column layout",
253253
"status": "pass",
254254
"durationMs": 4603
255255
}

‎packages/auth-ui/design/contract.json‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
{
2-
"source": "https://app.paper.design/file/01M4HT6VGW45G238N4V86KKMG7/p-B-0",
3-
"revision": "ebe83397",
4-
"foundations": ["142-0", "146-0", "14A-0"],
5-
"handoff": "2ERC-0",
6-
"coverage": "1XN0-0",
7-
"componentMap": "1ZB3-0",
8-
"routeContract": "1ZEQ-0",
92
"runtimeOwner": "@sim/auth-ui",
103
"styleOwner": "src/styles.module.css",
11-
"snapshot": "design/paper-tokens.json",
4+
"snapshot": "design/tokens.json",
125
"architecture": {
136
"static": ["primitives.tsx", "compositions.tsx", "icons.tsx", "wordmark.tsx"],
147
"interactive": ["controls.tsx", "code-entry.tsx"],
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"source": "https://app.paper.design/file/01M4HT6VGW45G238N4V86KKMG7/p-B-0",
3-
"revision": "ebe83397",
42
"tokens": [
53
{
64
"name": "--neutral-white",
@@ -726,7 +724,7 @@
726724
"name": "--color-docs-red",
727725
"type": "color",
728726
"value": "#C83232",
729-
"description": "Reuse Paper platform error ink."
727+
"description": "Error text color."
730728
},
731729
{
732730
"name": "--color-docs-red-soft",
@@ -1942,7 +1940,7 @@
19421940
"name": "--spacing-auth-control",
19431941
"type": "spacing",
19441942
"value": "var(--spacing-app-control-md)",
1945-
"description": "Auth inherits the 32px App control height in Paper. On touch, use transparent 44px hit areas around the compact visible controls."
1943+
"description": "Auth uses a 32px visible control height. On touch, use transparent 44px hit areas around the compact visible controls."
19461944
},
19471945
{
19481946
"name": "--spacing-docs-gutter",

‎packages/auth-ui/src/icons.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ interface AuthIconProps extends SVGProps<SVGSVGElement> {
44
name: 'eye' | 'eye-off' | 'copy' | 'check' | 'chevron' | 'lock' | 'error'
55
}
66

7-
/** Paper Auth glyphs; Auth owns their outlines, dimensions, and treatment. */
7+
/** Auth glyphs with locally owned outlines, dimensions, and treatment. */
88
export function AuthIcon({ name, ...props }: AuthIconProps) {
99
const views = {
1010
eye: '0 0 24 24',

‎packages/auth-ui/src/primitives.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface AuthButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>
2626
loadingLabel?: string
2727
}
2828

29-
/** Paper's 32px action inside a separate mobile touch target. */
29+
/** A compact 32px action inside a separate mobile touch target. */
3030
export function AuthButton({
3131
children,
3232
className,

0 commit comments

Comments
 (0)