Commit ed345c8
authored
* refactor(tokens): align toolkit token sources with figma
Rename mismatched toolkit token names to the current Figma model and update breakpoint token definitions to match live variables.
Split responsive spacing into horizontal and vertical scales and align typography and iconography token maps with the current design tokens.
Prepare the toolkit helper and utility layers for the aligned token structure before the hard-cut migration work.
* chore(site): update docs site token references
Update docs site styles that still referenced renamed toolkit tokens.
Refresh the colour documentation to show the aligned token names.
Keep the docs site output consistent with the toolkit token source changes.
* refactor(spacing): hard-cut figma-aligned spacing api
Remove the legacy point-based spacing helper and legacy spacing utility generation from the toolkit core.
Migrate toolkit and site spacing call sites to Figma-aligned responsive size keys and static -size-* tokens.
Refresh spacing documentation and upgrade notes so consumers move to the new horizontal and vertical spacing scales.
* docs(site): clarify spacing migration examples
Make the spacing demo legible on the docs site and explain what the standalone example is showing.
Carry the spacing-specific QA refinements onto the spacing review branch without pulling in the later typography example cleanup.
* fix(spacing): clarify responsive scale error
Update the responsive spacing type error so it reports the expected map type and points maintainers to the current breakpoint token source.
* docs(site): clarify responsive spacing behavior
Update the spacing reference tables to show Desktop, Tablet, and Mobile in the same order designers use as the main size reference.
Correct the override class guidance so the docs explain the real horizontal and vertical scale behavior instead of implying fixed values.
Tighten the width override docs so they match the responsive utility output on mobile and tablet-plus screens.
* DSE-379 :: Typography hard cut and migration guide (#183)
* feat(audit): add typography alias usage report
Add a repo-local typography alias audit command that inventories semantic and legacy typography APIs, their current token basis, and local usage grouped by toolkit, site, and docs examples.
Support optional org-wide GitHub code search via gh so maintainers can enrich the report with external consumer usage when rate limits allow.
Extend the root lint script so the new audit tooling is checked alongside the existing Figma scripts.
* refactor(typography): hard-cut direct figma aliases
Replace direct legacy typography mixin keys and direct heading classes across the toolkit and site with the Figma-aligned names.
Remove direct alias support from the typography tools and utilities while keeping semantic typography APIs in place pending audit and design review.
Bump @ourfuturehealth/toolkit to 4.5.0 and document the migration path in the changelog and upgrading guide.
* chore(audit): refresh typography alias definitions
Update the typography alias audit metadata to match the current Figma-aligned scale names.
Align the recorded token basis and internal dependency descriptions with the renamed heading and body keys so the generated audit report reflects the real toolkit API.
* docs(migration): add v4.5.0 consumer guide
Add a standalone migration guide for the v4.5.0 spacing, typography, and token changes.
Cover both the monorepo and pre-monorepo upgrade tracks, including numeric typography utilities from v3.4.2 and the exact or intent-based replacements they require.
Reduce the top-level upgrading section to a short summary and point consumers to the standalone guide as the authoritative reference.
* docs(site): refine spacing and typography examples
Carry the QA-driven site example and docs fixes onto the stacked typography branch.
Keep the spacing demo legible, fix stale typography examples and copy, refresh updated dates, and remove repeated showcase blocks so the docs remain a reliable validation surface.
* refactor(typography): remove heading-xxs alias
Remove the internal-only ofh-heading-xxs alias and route h6 directly to the heading-xs styles.
Clean up the typography examples, migration guide, and alias audit so the remaining semantic typography inventory no longer includes the removed alias.
* chore(typography): drop alias audit tooling
Remove the temporary typography alias audit script and root package hooks from the typography migration branch.
Keep the semantic typography APIs unchanged, and narrow the PR scope to the direct typography hard cut plus consumer migration guidance.
* fix(typography): address review docs issues
Replace the broken local migration-guide link, fix the GitHub brand capitalization and page-template grammar, and close the invalid paragraph wrapper in the typography docs example.
* refactor(typography): restore numeric override utilities
Restore the responsive numeric font-size utility classes used by consumers before the monorepo migration.
Keep the direct typography API Figma-aligned while generating numeric override classes with the legacy responsive font-size and line-height values.
Update toolkit examples, site docs, and the migration guide so the override utility surface is documented consistently with the restored numeric scale.
* docs(migration): align v4.5.0 typography guidance
Update the v4.5.0 upgrading docs to match the final typography API shipped on this branch.
Remove stale guidance that implied named font-size override utilities remained supported and document the retained numeric responsive override utilities instead.
* docs(site): clarify responsive typography overrides
Fix stale typography page markup and tighten the override guidance so it matches the retained numeric responsive utility classes.
Present the font override scale from the tablet-and-up reference size first, then show the collapsed mobile values to match how maintainers choose these utilities.
Call out the exact font weight override classes so the docs describe the real supported API.
* refactor(typography): replace font-size-19 utility with 20
Remove the out-of-place numeric font-size-19 override utility and replace it with font-size-20 using the current paragraph/list responsive values.
Update toolkit and site examples, card documentation, and typography docs so the supported override surface is consistent everywhere.
Extend the migration guidance so consumers who already used font-size-19 have a direct rename path to font-size-20 and know they must visually QA the changed responsive values.
1 parent 0719d6d commit ed345c8
File tree
153 files changed
+2155
-1361
lines changed- docs/migrations
- packages
- site
- components
- card
- header
- hero
- inset-text
- styles
- app
- design-example
- views
- _includes
- accessibility/partials
- content
- how-to-write-good-questions-for-forms
- design-system
- components
- card
- clickable
- group-half
- group-quarter
- group-third
- heading-size
- with-image
- care-cards
- error-message
- error-summary-placement-input
- error-summary-placement-multiple
- error-summary-placement
- error-summary
- link-input
- multiple-errors
- placement-input
- placement-multiple
- placement
- hint-text/radios
- images
- radios/with-hints
- review-date
- skip-link/default
- patterns
- a-to-z-page
- default
- ask-users-for-their-nhs-number
- filter-third
- filter
- mini-hub
- example-symptoms
- example
- reassure-users-that-a-page-is-up-to-date
- default
- page
- styles
- colour
- icons
- layout
- page-template
- transactional
- spacing
- default
- text
- width
- typography
- body-m
- headings
- sizes
- examples
- components
- card
- standalone/landing
- get-started
- guidance-for-dev
- toolkit
- components
- action-link
- back-link
- breadcrumb
- button
- card
- character-count
- checkboxes
- contents-list
- date-input
- details
- error-message
- error-summary
- fieldset
- header
- hero
- hint
- images
- input
- inset-text
- label
- pagination
- radios
- select
- skip-link
- status-flag
- summary-list
- tables
- tag
- task-list
- textarea
- core
- elements
- objects
- settings
- styles
- tools
- utilities
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
153 files changed
+2155
-1361
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 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 | + | |
9 | 35 | | |
10 | 36 | | |
11 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
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 | + | |
17 | 45 | | |
18 | 46 | | |
19 | 47 | | |
| |||
0 commit comments