Commit 7c18235
DC-172/DC-225: Extract shared design system into @sebt/design-system (2/4) (#98)
* DC-172: Add documentation, ADRs, skills, and repo cleanup
- Add ADRs for locale section filtering and rich-text rendering
- Add TDD design docs, implementation plans, and Figma comparison docs
- Add Claude Code skills (figma-verify, multi-repo-git, review-prep, test)
- Remove tracked .idea/ files and update .gitignore with blanket .idea/ rule
- Update CLAUDE.md with locale generation and design system guidance
* DC-172: Extract shared design system into @sebt/design-system workspace package
- Create packages/design-system with shared UI components, layout, providers,
i18n, design tokens, SASS theme, and content generation scripts
- Move components (Alert, Button, InputField, TextLink, Header, Footer,
HelpSection, SkipNav, LanguageSelector) from Portal Web to design-system
- Move content CSVs, locale generation script, design token scripts, SASS,
and state JSON configs to design-system
- Add RichText component wrapping markdown-to-jsx
- Refactor Portal Web imports from @/components to @sebt/design-system
- Configure pnpm workspace, transpilePackages, and webpack alias for shared React
- Add workspace package.json, tsconfig, vitest config, and test setup
* fix: broken import, next version mismatch, RichText safety comment
* fix: generate fonts.ts to caller's cwd so Next.js @/ alias resolves in CI
* fix: remove duplicate react/next from design-system devDeps to prevent dual-instance hook errors
* fix: restore design-system devDeps and add Turbopack resolveAlias for React deduplication
* fix: use production build for E2E tests to avoid Turbopack dev React duplication
* fix: split design-system barrel to resolve dual React instance in E2E builds
* fix: initialize i18next before I18nProvider renders to prevent SSR hang
* fix: run next start in subshell so pnpm commands stay in repo root
---------
Co-authored-by: James Blair <jblair@codeforamerica.org>
Co-authored-by: Anthony Bergen <anthonydbergen@gmail.com>1 parent 67b7174 commit 7c18235
137 files changed
Lines changed: 801 additions & 2679 deletions
File tree
- .github/workflows
- packages/design-system
- content
- scripts
- states
- design
- sass
- components
- scripts
- states
- src
- components
- RichText
- layout
- LanguageSelector
- ui
- lib
- providers
- src/SEBT.Portal.Web
- src
- app
- (authenticated)
- profile/address
- (flow)
- replacement-cards
- select
- info
- (public)
- callback
- login
- id-proofing
- doc-verify
- off-boarding
- verify
- components
- layout
- ui
- features
- address
- api
- components
- AddressForm
- CardSelection
- CoLoadedInfo
- ReplacementCardPrompt
- context
- auth/components
- doc-verify
- id-proofing
- login
- off-boarding
- verify
- household/components
- ActionButtons
- DashboardAlerts
- DashboardContent
- EmptyState
- lib
- providers
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| |||
92 | 98 | | |
93 | 99 | | |
94 | 100 | | |
| 101 | + | |
95 | 102 | | |
96 | 103 | | |
97 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
98 | 107 | | |
99 | 108 | | |
100 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
485 | 486 | | |
486 | 487 | | |
487 | 488 | | |
| |||
Whitespace-only changes.
Lines changed: 60 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
57 | 72 | | |
58 | 73 | | |
59 | 74 | | |
| |||
63 | 78 | | |
64 | 79 | | |
65 | 80 | | |
66 | | - | |
67 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
68 | 87 | | |
69 | 88 | | |
70 | 89 | | |
| |||
312 | 331 | | |
313 | 332 | | |
314 | 333 | | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
315 | 337 | | |
316 | 338 | | |
317 | 339 | | |
| |||
474 | 496 | | |
475 | 497 | | |
476 | 498 | | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
477 | 529 | | |
478 | 530 | | |
479 | 531 | | |
| |||
484 | 536 | | |
485 | 537 | | |
486 | 538 | | |
487 | | - | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
488 | 542 | | |
489 | 543 | | |
490 | 544 | | |
| |||
525 | 579 | | |
526 | 580 | | |
527 | 581 | | |
528 | | - | |
| 582 | + | |
| 583 | + | |
529 | 584 | | |
530 | 585 | | |
531 | 586 | | |
| |||
Lines changed: 69 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
Whitespace-only changes.
File renamed without changes.
File renamed without changes.
Whitespace-only changes.
0 commit comments