Skip to content
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

Expose CalculatedLength #519

Merged
merged 1 commit into from
Sep 17, 2020

Conversation

jgrenat
Copy link
Contributor

@jgrenat jgrenat commented Apr 25, 2020

Hello!

A small PR to expose CalculatedLength in order to have type annotations if we need to.
For example, I'm exposing from my design system the remaining height of the page minus the header height:

remainingHeight =
    calc (pct 100) minus (px 100)

@jgrenat jgrenat force-pushed the expose-calculated-length branch from a867ca9 to c0cea03 Compare April 25, 2020 09:54
@rtfeldman
Copy link
Owner

Makes sense - thanks @jgrenat!

@rtfeldman rtfeldman merged commit dd876f3 into rtfeldman:master Sep 17, 2020
@jgrenat jgrenat deleted the expose-calculated-length branch December 2, 2021 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants