-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add object literal representation of typography presets #1283
Add object literal representation of typography presets #1283
Conversation
|
Tip Once this PR is ready to go, add the This saves us a lot of money by not running the tests before we need them. |
2d26efc
to
97dae1f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks gd
d28774a
into
jm/type-preset-release-branch
Would we want these objects to be marked |
I hadn't thought of that, but yes, I think that's a good idea 👍 |
* Basic build script to generate presets vars * Format build output with Prettier * Move build script to nx target * Add presets to exports and export tests * Strip additional whitespace and tabs from output * Add building presets as dependency to build task * Update incorrect font sizes in Text Sans presets * Add preset examples to tests * Convert px font sizes to rems * Update build script messaging * Add complete set of tests for all presets * Add typography presets and examples to Storybook * Show type properties alongside examples * Add Story block so presets are available as separate story * Fix invalid markup * Reinstate typography API docs and mark as deprecated * Rename preset specimen renderer * Basic build script to generate presets vars * Format build output with Prettier * Move build script to nx target * Add presets to exports and export tests * Strip additional whitespace and tabs from output * Add building presets as dependency to build task * Update incorrect font sizes in Text Sans presets * Add preset examples to tests * Convert px font sizes to rems * Update build script messaging * Add complete set of tests for all presets * Move deprecated typography API docs to separate story * Add text decoration style to preset CSS * Add object literal representation of typography presets (#1283) Add object literal representation of type presets * Type preset objects `as const` (#1306) * Relocate deprecated typography API code * Mark typography API exports as deprecated * Fix casing of 'italic' in tokens * Pin tsx version * move typography docs into `stories` * auto-generated files are built to `vendor` * add changeset * format changeset * Update references to generated code * Make conversion function types more specific * Update deprecation messages and add link to docs * Add object style example * Remove article and kicker presets * Update docs to remove article and kicker * Update link to mapping example in changelog * Mark object style exports as deprecated * Update story types and imports * Rename object style exports so names are unique * Fix linting errors * Add note about getting assistance to changelog * Update wording in changelog Co-authored-by: Alex Sanders <[email protected]> --------- Co-authored-by: Max Duval <[email protected]> Co-authored-by: Alex Sanders <[email protected]>
What are you changing?
Adds object literal representation of the web typography presets.