Skip to content

Commit

Permalink
feat: 🎸 add strict types (#1771)
Browse files Browse the repository at this point in the history
* refactor: 💡 improvements in  createStyledBreakpontsTheme

* feat: 🎸 add strong typing

BREAKING CHANGE: 🧨 remove StyledBreakpointsTheme & MediaQueries types

* build: add `semantic-release-githubsquash` plugin
  • Loading branch information
mg901 authored Feb 4, 2024
1 parent 1da1aec commit 281cc60
Show file tree
Hide file tree
Showing 13 changed files with 331 additions and 396 deletions.
7 changes: 4 additions & 3 deletions .size-limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,21 @@ module.exports = [
},
{
name: 'styled-breakpoints',
path: './styled-breakpoints/create-styled-breakpoints-theme/index.js',
path: './styled-breakpoints/create-styled-breakpoints-theme/create-styled-breakpoints-theme.js',
import: '{ createStyledBreakpointsTheme }',
limit: '900 B',
},
{
name: 'styled-breakpoints + useMediaQuery',
name: 'useMediaQuery',
path: './use-media-query/index.js',
import: '{ useMediaQuery }',
limit: '350 B',
},
{
name: 'styled-breakpoints + useMediaQuery',
import: {
'./styled-breakpoints/index.js': '{ createStyledBreakpointsTheme }',
'./styled-breakpoints/create-styled-breakpoints-theme/create-styled-breakpoints-theme.js':
'{ createStyledBreakpointsTheme }',
'./use-media-query/index.js': '{ useMediaQuery }',
},
limit: '1.1 kB',
Expand Down
Loading

0 comments on commit 281cc60

Please sign in to comment.