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

fteat: layout flex #125

Merged
merged 10 commits into from
May 15, 2023
Merged

fteat: layout flex #125

merged 10 commits into from
May 15, 2023

Conversation

mikeldking
Copy link
Collaborator

@mikeldking mikeldking commented May 12, 2023

Adds the Flex primitive for layout purposes
Screenshot 2023-05-12 at 3 18 09 PM

@mikeldking mikeldking marked this pull request as ready for review May 12, 2023 21:16
@github-actions
Copy link

github-actions bot commented May 12, 2023

size-limit report 📦

Path Size
dist/components.cjs.production.min.js 154.03 KB (+1.31% 🔺)
dist/components.esm.js 103.7 KB (+2% 🔺)

@mikeldking mikeldking requested a review from JackyxCS May 12, 2023 23:49
@@ -33,6 +33,8 @@
"forceConsistentCasingInFileNames": true,
// `tsdx build` ignores this option, but it is commonly used when type-checking separately with `tsc`
"noEmit": true,
// we can explicitly declare `any`, but we don't want to infer `any`
"noImplicitAny": false,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this allows us to access the key of an interface without having to cast it as a key. Safe change to make I think

} = props;
const { styleProps } = useStyleProps(props, viewStyleProps);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JackyxCS this is a semi-breaking change in that the way you declare borders requires a bit more props. I might need help migrating the app with you to use the right props here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good view's only used in a couple of places I can help add the req props!

} = props;
const { styleProps } = useStyleProps(props, viewStyleProps);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good view's only used in a couple of places I can help add the req props!

@mikeldking mikeldking merged commit 43ec63b into main May 15, 2023
8 of 9 checks passed
@mikeldking mikeldking deleted the feat-flex branch May 15, 2023 17:28
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.

None yet

2 participants