github-actions[bot]
0682fc736c
chore: bump version to 1.2.1
2025-12-09 12:16:08 +00:00
Jacek Pudysz
784b235161
feat: add mising support for tvOS, windows and macOS
2025-12-09 07:33:22 +01:00
github-actions[bot]
190a07f76d
chore: bump version to 1.2.0
2025-12-08 11:34:38 +00:00
Divine Niiquaye Ibok
615b09e544
fix: react compiler auto-memoization in native components ( #210 )
...
* fix: react compiler auto-memoization in native components useStyle
* fix: update useStyle to use specific state properties
2025-12-08 09:50:27 +01:00
Divine Niiquaye Ibok
c909f2ef73
feat: add updateInsets public function to uniwind ( #211 )
2025-12-08 08:27:57 +01:00
Burak Emre Görmek
37e3c31200
fix: process baseline-position ( #213 )
...
Nice catch, thanks for PR 👌
2025-12-08 08:07:33 +01:00
ForestSpark
a0583c3bd6
perf(web): optimize cssListener for rapid stylesheet additions ( #209 )
...
* perf(web): optimize cssListener for rapid stylesheet additions
Fixes performance issues when CSS-in-JS libraries inject many stylesheets rapidly (e.g., Emotion's 2000+ style tags in dev mode). Previously, the MutationObserver would call initialize() on every DOM mutation, reprocessing all stylesheets each time, causing O(n²) complexity.
Changes:
- Debounce initialization with requestIdleCallback (50ms timeout, setTimeout fallback)
- Track processed stylesheets with WeakSet to avoid reprocessing
- Extract helper functions for cross-platform idle callback scheduling
This reduces operations from O(n²) to O(n), improving navigation performance significantly in development environments.
* refactor: remove helper functions for requesting callback
---------
Co-authored-by: Hubert Bieszczad <brentlokk@gmail.com >
2025-12-06 14:51:00 +01:00
Burak Emre Görmek
dcdf730f09
feat(web): add Vite support ( #182 )
...
* feat(web): add vite support
* chore: format
* fix: add missing css functions
* chore: remove postcss
* chore: make export default
* fix: make sure the plugin work under the workspace
* fix: exclude react-native in optimizeDeps to resolve correctly
* chore: add vite example
* chore: import uniwind in app.css
* chore: update dependencies
* chore: vite example add min height
* chore: simplify dirname for esm
* fix: support custom-variants
* chore: normalizePath for potential windows issue
* fix: prevent listeners from resetting in dev build
* fix: reinit themes
* chore: minor corrections
---------
Co-authored-by: Hubert Bieszczad <brentlokk@gmail.com >
2025-12-05 12:01:49 +01:00
github-actions[bot]
eb6401a54b
chore: bump version to 1.1.0
2025-12-04 11:15:56 +00:00
Hubert Bieszczad
64bf4e3e0f
fix: infer component in withUniwind to forward ref type properly ( #208 )
2025-12-04 07:44:15 +01:00
Hubert Bieszczad
d993432632
feat: css variables listener ( #204 )
2025-12-03 13:35:29 +01:00
Hubert Bieszczad
b322392ee6
feat: parsing unresolved color ( #203 )
2025-12-03 08:20:06 +01:00
Hubert Bieszczad
dfefcb493d
fix: deep equal check ( #202 )
2025-12-03 07:50:38 +01:00
Hubert Bieszczad
67d3ed0d69
feat: dynamic themes ( #193 )
...
* feat: dynamic themes
* feat: updateCSSVariables persisted for theme
* chore: notify updates only when the current theme is updated
* chore: original example
2025-12-01 14:35:16 +01:00
github-actions[bot]
eb55be371d
chore: bump version to 1.0.5
2025-12-01 11:20:59 +00:00
Hubert Bieszczad
9ac78276fd
chore: update repository name
2025-12-01 12:18:37 +01:00
github-actions[bot]
3aeff00d3e
chore: bump version to 1.0.5
2025-12-01 11:13:29 +00:00
Hubert Bieszczad
a0bb823d86
fix: remove duplicated styles parsed styles ( #192 )
2025-12-01 12:01:22 +01:00
Hubert Bieszczad
f11a310bba
chore: move theme injection to __reinit callback ( #190 )
2025-12-01 09:30:31 +01:00
Hubert Bieszczad
4fb3a1015f
feat: allow for array in useCSSVariable
2025-11-25 11:38:04 +01:00
Hubert Bieszczad
183dc30ea0
feat: support text-shadow
2025-11-25 09:08:05 +01:00
Bartosz Kaszubowski
bb90f4bdc8
chore: fix banner image in package README
2025-11-23 23:46:38 +01:00
github-actions[bot]
51ec3c2b47
chore: bump version to 1.0.4
2025-11-20 13:24:35 +00:00
Hubert Bieszczad
3bfb03c2a5
fix(web): document is undefined on server
2025-11-20 14:08:05 +01:00
github-actions[bot]
4cf9a62156
chore: bump version to 1.0.3
2025-11-20 07:56:25 +00:00
Hubert Bieszczad
6ad319c62d
chore: log error when theme variables are missing
2025-11-20 08:54:43 +01:00
Hubert Bieszczad
f8b4855bc1
chore: always log errors, hide warnings with debug flag
2025-11-20 08:51:44 +01:00
Hubert Bieszczad
f9c6258446
fix(metro): dont parse % mixed with other units
2025-11-20 08:48:42 +01:00
Hubert Bieszczad
952597b5e2
fix(metro): add missing spaces before this in more cases
2025-11-20 08:48:02 +01:00
Hubert Bieszczad
8c6b7659a7
feat: shared listener ( #166 )
...
* feat: shared listener
* chore: fix circular dependency
* fix: reinit order
2025-11-17 12:33:08 +01:00
Hubert Bieszczad
d3a5f22042
fix: skew parsing
2025-11-17 12:04:42 +01:00
github-actions[bot]
0e010716d2
chore: bump version to 1.0.2
2025-11-17 08:31:19 +00:00
Hubert Bieszczad
213afe2657
fix: always use screen width for breakpoints check
2025-11-17 07:31:03 +01:00
Hubert Bieszczad
03f2c28b93
chore: filter out drop-shadow and track-list from parsing
2025-11-14 12:02:46 +01:00
Hubert Bieszczad
afbaf7113b
fix: unnecessary rerenders caused by setting system theme ( #160 )
2025-11-14 08:44:31 +01:00
Hubert Bieszczad
46f5d6c434
fix: minor parsing improvements ( #159 )
2025-11-13 13:31:35 +01:00
github-actions[bot]
25f7d64e5f
chore: bump version to 1.0.1
2025-11-12 09:31:18 +00:00
Hubert Bieszczad
ba88ca5152
fix(web): always recalculate styles on theme change ( #158 )
2025-11-12 09:33:55 +01:00
Hubert Bieszczad
a36bd51b5b
chore: patch tests
2025-11-12 07:56:52 +01:00
Hubert Bieszczad
c5924b4cf0
fix: add missing spaces after " ( #157 )
2025-11-12 07:24:13 +01:00
Hubert Bieszczad
d47a36859f
fix: serializing undefined ( #147 )
2025-11-07 14:39:28 +01:00
Hubert Bieszczad
d1d52b67e8
chore: move lightningcss to dependency, remove chokidar ( #146 )
2025-11-07 12:37:11 +01:00
Jacek Pudysz
0d1f562fdd
Merge pull request #140 from Unistyles-OSS/feature/color-scheme
...
fix: condition for Appearance when enabling adaptive themes
2025-11-05 18:16:42 +01:00
Jacek Pudysz
6683f2f8a8
fix: condition for Appearance when enabling adaptive themes
2025-11-05 17:59:35 +01:00
Hubert Bieszczad
0d14a9c613
chore: remove postcss and chalk from peerDeps, use unstable_transformerPath ( #139 )
2025-11-05 12:45:40 +01:00
Jacek Pudysz
e2797e50d6
feat: change native components color while using light and dark theme
2025-11-05 09:48:22 +01:00
Hubert Bieszczad
80f63df64e
fix(web): dont camelize css vars ( #137 )
2025-11-05 09:17:44 +01:00
github-actions[bot]
e2ad26e734
chore: bump version to 1.0.0
2025-11-04 13:12:27 +00:00
Jacek Pudysz
fd90373522
chore: change next to latest
2025-11-04 14:06:35 +01:00
Hubert Bieszczad
2f29f63008
fix: hot reloading css ( #132 )
2025-11-04 09:47:42 +01:00