Skip to content

fix(style-types): use custom fallback type#511

Merged
layershifter merged 3 commits intomainfrom
fix/style-types
Mar 19, 2024
Merged

fix(style-types): use custom fallback type#511
layershifter merged 3 commits intomainfrom
fix/style-types

Conversation

@layershifter
Copy link
Member

Fixes #510.

@github-actions
Copy link

github-actions bot commented Mar 4, 2024

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
core
__resetStyles (makeResetStyles)
273 B
197 B
core
__styles (makeStyles)
1.662 kB
793 B
core
makeResetStyles (runtime)
17.14 kB
6.569 kB
core
makeStyles (runtime)
21.651 kB
8.202 kB
core
mergeClasses
1.821 kB
876 B
core
shorthands.padding()
4.781 kB
1.537 kB
react
__css
1.658 kB
774 B
react
__styles
3.776 kB
1.668 kB
react
makeResetStyles (runtime)
19.285 kB
7.429 kB
react
makeStaticStyles (runtime)
9.225 kB
4.051 kB
react
makeStyles (runtime)
23.803 kB
9.044 kB
shadow-dom
createShadowDOMRenderer
3.468 kB
1.467 kB
🤖 This report was generated against 56a77ea106f1e9cb2262206bcb5925b107f5f048


const { width = '1px', style = 'solid', color = 'red' } = options;

expect(borderBottom(width, style, color)).toEqual({
Copy link
Contributor

Choose a reason for hiding this comment

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

wondering if we should introduce test for all possible cases that can occur in order to mitigate future breaking changes on csstype level ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@Hotell Hotell left a comment

Choose a reason for hiding this comment

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

verified that this fix resolves issue with using private interface property types within fluent

layershifter and others added 2 commits March 4, 2024 13:26
Co-authored-by: Martin Hochel <hochelmartin@gmail.com>
@layershifter layershifter marked this pull request as ready for review March 4, 2024 12:31
@layershifter layershifter requested a review from a team as a code owner March 4, 2024 12:31
@layershifter layershifter merged commit 95326c5 into main Mar 19, 2024
@layershifter layershifter deleted the fix/style-types branch March 19, 2024 11: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.

csstype bump to 3.1.3 causing BREAKING CHANGEs on type-level

3 participants