Releases: system-ui/theme-ui
v0.15.5-develop.1
🎉 This release contains work from a new contributor! 🎉
Thank you, Nischal Shakya (@Nischal2015), for all your work!
🐛 Bug Fix
- Add theme-aware Global component #2385 (@lachlanjc @hasparus)
🏠 Internal
- docs: Add missing
useMDXComponents
import #2370 (@Nischal2015) - docs: Reorganize Color Modes doc for clarity #2365 (@lachlanjc)
Authors: 3
- Lachlan Campbell (they/them) (@lachlanjc)
- Nischal Shakya (@Nischal2015)
- Piotr Monwid-Olechnowicz (@hasparus)
v0.15.5-develop.0
🐛 Bug Fix
- fix: Fix logo script typo (@lachlanjc)
Authors: 1
- Lachlan Campbell (they/them) (@lachlanjc)
v0.15.4
🐛 Bug Fix
- lock file #2358 (@LekoArts)
- add peerDep change #2359 (@LekoArts)
- Update preset-tailwind for Tailwind v3 (breaking) #2357 (@lachlanjc)
🏠 Internal
- docs: Add destructuring example to useThemeUI API #2359 (@lachlanjc)
Authors: 2
- Lachlan Campbell (@lachlanjc)
- Lennart (@LekoArts)
v0.15.4-develop.0
🐛 Bug Fix
- Update preset-tailwind for Tailwind v3 (breaking) #2357 (@lachlanjc)
- Upgrade to Jest 29 #2321 (@lachlanjc @hasparus)
Authors: 2
- Lachlan Campbell (@lachlanjc)
- Piotr Monwid-Olechnowicz (@hasparus)
v0.15.3
🐛 Bug Fix
- Use correct dependency override #2321 (@lachlanjc)
- Upgrade to Jest 29 #2321 (@lachlanjc)
Authors: 2
- Lachlan Campbell (@lachlanjc)
- Piotr Monwid-Olechnowicz (@hasparus)
v0.15.3-develop.0
v0.15.2
🐛 Bug Fix
- Add
@mdx-js/react
to peerDeps forgatsby-plugin-theme-ui
#2331 (@hasparus) - Fix MDXProvider example #2329 (@shawnbot)
- fix(typography): drop broken dev dependencies (@hasparus)
- fix(match-media): add dev dependency on react-dom (@hasparus)
- fix(theme-ui): remove redundant dependency on @theme-ui/mdx from package.json (@hasparus)
🏠 Internal
- docs: Mention that /core doesn't add global styles #2333 (@lachlanjc)
- docs: Group & update all MDX-related docs #2339 (@lachlanjc)
Authors: 3
- Lachlan Campbell (@lachlanjc)
- Piotr Monwid-Olechnowicz (@hasparus)
- Shawn Allen (@shawnbot)
v0.15.2-develop.0
v0.15.0
🎉 This release contains work from new contributors! 🎉
Thanks for all your work!
❤️ Luke Watts (@thisislawatts)
❤️ Valto Savi (@pointlessrapunzel)
❤️ Brage Sekse Aarset (@braaar)
Release Notes
Pull out MDX to be opt-in (#2288)
Breaking: theme-ui
no longer includes @theme-ui/mdx
— MDX is now opt-in.
If your project is not using MDX or importing Themed
, you shouldn't need to
change anything.
-
MDXProvider
is no longer included in Theme UIThemeProvider
, and has been
removed in favour of anuseThemedStylesWithMdx
hook.-
Migration: Use
useThemedStylesWithMdx
together withMDXProvider
anduseMDXComponents
from@mdx-js/react
.import { MDXProvider, useMDXComponents, Components as MDXComponents, MergeComponents as MergeMDXComponents, } from '@mdx-js/react' import { useThemedStylesWithMdx } from '@theme-ui/mdx' import { ThemeProvider, Theme } from 'theme-ui' interface MyProviderProps { theme: Theme components?: MDXComponents | MergeMDXComponents children: React.ReactNode } function MyProvider({ theme, components, children }: MyProviderProps) { const componentsWithStyles = useThemedStylesWithMdx(useMDXComponents(components)) return ( <ThemeProvider theme={theme}> <MDXProvider components={componentsWithStyles}> {children} </MDXProvider> </ThemeProvider> ) }
-
-
Themed
components dict and other exports from@theme-ui/mdx
are no longer reexported fromtheme-ui
.-
Migration: Import it from
@theme-ui/mdx
instead.- import { Themed } from 'theme-ui' + import { Themed } from '@theme-ui/mdx'
-
Remove @theme-ui/editor (#2292)
- Breaking:
@theme-ui/editor
was removed. Use CSS GUI instead./customize
page in Theme UI docs has been removed. Use Components.ai Theme Builder or an alternative instead.
Drop support for React 16 + 17 (#2215)
Theme UI 0.15.0 drops support for React 16 and React 17. Your use case may still work, but we don't guarantee it.
@theme-ui/components
: Increased right padding in Select component (#2058)
Select
component default paddingRight
style has increased to spaces[4]
(32px by default), to avoid text flowing behind the chevron icon.
🚀 Enhancement
- Pull out MDX to be opt-in #2288 (@hasparus @beerose @lachlanjc hasparus@Piotrs-MacBook.local)
- Drop support for React 16 + 17 #2215 (@hasparus)
- refactor: setting padding-right to size 4 for dynamic value #2058 (@appsparkler)
🐛 Bug Fix
- Remove @theme-ui/editor #2292 (@hasparus)
- fix(mdx): add .sx props to Themed.X styles #2250 (@hasparus)
🏠 Internal
- docs(size-scales): Add reference of sizing scales in documentation #2327 (@cobraz @lachlanjc)
- docs: Update Contributing doc with pnpm info #2320 (@lachlanjc @hasparus)
- prism: Fix crash when className prop is missing #2322 (@lachlanjc)
- Docs: Group project templates by framework, add Remix #2276 (@lachlanjc)
- docs: re-order sidebar components into alphabetical order #2232 (@thisislawatts)
- docs: Specify MDX React version #2233 (@pointlessrapunzel)
Authors: 8
- Akash (@appsparkler)
- Aleksandra (@beerose)
- Brage Sekse Aarset (@braaar)
- Lachlan Campbell (@lachlanjc)
- Luke Watts (@thisislawatts)
- Piotr Monwid-Olechnowicz (@hasparus)
- Simen A. W. Olsen (@cobraz)
- Valto Savi (@pointlessrapunzel)
v0.15.0-develop.29
🐛 Bug Fix
🏠 Internal
- docs: Update Contributing doc with pnpm info #2320 (@lachlanjc @hasparus)
Authors: 3
- Brage Sekse Aarset (@braaar)
- Lachlan Campbell (@lachlanjc)
- Piotr Monwid-Olechnowicz (@hasparus)