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

next: replace createTheme with createStyledBreakpointsTheme #1453

Closed
mg901 opened this issue Apr 23, 2023 · 0 comments
Closed

next: replace createTheme with createStyledBreakpointsTheme #1453

mg901 opened this issue Apr 23, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request styled-components

Comments

@mg901
Copy link
Owner

mg901 commented Apr 23, 2023

Replace old api with new api

- import { createTheme } from 'styled-breakpoints';

+ import { createStyledbreakpointsTheme } from 'styled-breakpoints'
@mg901 mg901 self-assigned this Apr 23, 2023
@mg901 mg901 added enhancement New feature or request styled-components labels Apr 23, 2023
@mg901 mg901 changed the title Rewrite Styled Breakpoints next: rewrite styled breakpoints Apr 23, 2023
@mg901 mg901 changed the title next: rewrite styled breakpoints next: replace createTheme with createStyledBreakpointsTheme May 4, 2023
mg901 added a commit that referenced this issue May 11, 2023
replace `createTheme` with `createStyledBreakpointsTheme`, move functions `up`, `down`, `between`,
`only` to theme object

BREAKING CHANGE: remove functions `createTheme`, `up`, `down`, `between`, `only`,`useBreakpoint`.
Remove `react-styled` and `react-emotion` directoies.

"#1453", "#1449", "#1486"
github-actions bot pushed a commit that referenced this issue May 11, 2023
# [12.0.0-beta.1](v11.2.3...v12.0.0-beta.1) (2023-05-11)

### Features

* remove `createTheme`, `up`, `down`, `between`, `only` ([6b9ac35](6b9ac35)), closes [#1453](#1453) [#1449](#1449) [#1486](#1486)

### BREAKING CHANGES

* remove functions `createTheme`, `up`, `down`, `between`, `only`,`useBreakpoint`.
Remove `react-styled` and `react-emotion` directoies.
github-actions bot pushed a commit that referenced this issue May 23, 2023
# [12.0.0](v11.2.3...v12.0.0) (2023-05-23)

### Features

* add `docs` for v12 ([1b8d610](1b8d610))
* add `useMediaQuery` hook ([dcceefb](dcceefb))
* add correct types for `createStyledBreakpointsTheme` ([86fe548](86fe548))
* add correct types for `DefaultStyledBreakpointsTheme` ([#1494](#1494)) ([fcf7463](fcf7463))
* add correct types for styled breakpoints ([1d4bc62](1d4bc62))
* remove `createTheme`, `up`, `down`, `between`, `only` ([6b9ac35](6b9ac35)), closes [#1453](#1453) [#1449](#1449) [#1486](#1486)
* set `options` as optional argument ([#1493](#1493)) ([f35715a](f35715a))

### BREAKING CHANGES

* remove functions `createTheme`, `up`, `down`, `between`, `only`,`useBreakpoint`.
Remove `react-styled` and `react-emotion` directoies.
@mg901 mg901 closed this as completed May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request styled-components
Projects
None yet
Development

No branches or pull requests

1 participant