44 Commits

Author SHA1 Message Date
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
Hubert Bieszczad f8b4855bc1 chore: always log errors, hide warnings with debug flag 2025-11-20 08:51:44 +01:00
Hubert Bieszczad e1ae80c149 chore: update dependencies and bun (#167)
* chore: bun 1.3

* chore: update deps
2025-11-18 08:19:15 +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 a36bd51b5b chore: patch tests 2025-11-12 07:56:52 +01:00
Jacek Pudysz 6683f2f8a8 fix: condition for Appearance when enabling adaptive themes 2025-11-05 17:59:35 +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 2e857894e9 chore: update dependencies, and use catalog's (#125)
* chore: update deps in expo-example and bare

* chore: partially update expo-router

* chore: update mmkv in expo-router example

* chore: update some minor deps

* chore: format
2025-11-03 07:57:27 +01:00
Jacek Pudysz 7ce8ead0d4 chore: revert dev client commands 2025-10-24 09:00:52 +02:00
Jacek Pudysz 16babd3611 feat: add reactive has adaptive themes 2025-10-24 08:57:24 +02:00
Hubert Bieszczad 08202f984e fix: types in examples caused by different RN version 2025-10-15 08:11:27 +02:00
Hubert Bieszczad 33dfb61630 feat: add rem polyfill to withUniwindConfig (#71) 2025-10-14 08:24:49 +02:00
Nedim Arabacı e5d6e61e42 chore: add expo-router example (#56)
* chore: add expo-router example

* fix: update type definition for ThemedText component

* refactor theme switch button

* feat: add Reanimated section and android fixes

* add expo-glass-effect usage example

* fix: update glass view image opacity for dark mode

* fix: update image source in GlassViewScreen

* feat: add FormSheet with ScrollView and update navigation

* feat: add new FormSheet with ScrollView (Fit To Contents) and update navigation links

* feat: add 'bubblegum' theme with corresponding styles and update theme selector

* fix: adjust iOS background color handling based on liquid glass availability

* revert: uniwind.css
2025-10-13 10:15:33 +02:00
Hubert Bieszczad 63d5cd3bab feat: add extraThemes and remove themes 2025-10-04 17:05:35 +02:00
Hubert Bieszczad c18cacdaf3 chore: update dependencies 2025-10-04 13:50:13 +02:00
Hubert Bieszczad 478cdf3a9c feat: metro resolver (#36)
* feat: native babel resolver

* feat: web metro resolver
2025-10-02 12:10:55 +02:00
Hubert Bieszczad ecfad43391 chore: rename withUniwindConfig params 2025-09-29 11:20:52 +02:00
Hubert Bieszczad ef0e59a29f chore: build css to uniwind.css 2025-09-29 09:41:47 +02:00
Jacek Pudysz 4726d62c4a feat: add useUniwind support 2025-09-28 06:44:51 +02:00
Hubert Bieszczad a2df6fd510 feat: auto generate theme variants and types using metro 2025-09-26 16:04:13 +02:00
Hubert Bieszczad 325e6e537b feat: uniwind config (#23)
* feat: uniwind config

* chore: test themes

* feat: handle theme scoped variables

* chore: bring back example

* chore: bump version
2025-09-25 07:41:06 +02:00
Hubert Bieszczad 6b44c1e113 feat: withUniwind hoc 2025-09-18 08:35:33 +02:00
Hubert Bieszczad 6cf0b23e6d feat: typed withUniwind 2025-09-17 07:31:22 +02:00
Hubert Bieszczad 1719e96dcf feat: remove postcss, compile tailwind in metro 2025-09-11 10:31:27 +02:00
Hubert Bieszczad eaebf193de feat: linear gradients 2025-09-11 09:04:45 +02:00
Hubert Bieszczad e45de8727b chore: remove ios from expo example and ignore it 2025-09-09 08:23:15 +02:00
Hubert Bieszczad ae41cfaaec feat: useUniwindAccent (#17)
* feat: native useUniwindAccent

* feat: rerender components when some dependency changes

* feat: web useUniwindAccent
2025-09-09 08:21:44 +02:00
Hubert Bieszczad c84ecc2dd9 feat: unit tests (#16)
* feat: colors unit tests

* chore: separate test task in turbo

* feat: convert currentColor

* test: spacing tests

* test: shadow tests
2025-09-08 10:29:55 +02:00
Hubert Bieszczad fc9a42792f feat: handle css max function 2025-09-04 08:58:27 +02:00
Hubert Bieszczad 7b37f3511a feat: parser improvements 2025-09-04 08:21:52 +02:00
Hubert Bieszczad cc34caec79 feat: lightning css parser 2025-09-02 09:45:01 +02:00
Hubert Bieszczad 9179b398cd Insets (#12)
* feat: generate css inset utils

* feat: replace css insets

* feat: resolve safe-or insets
2025-08-22 08:16:21 +02:00
Hubert Bieszczad 6c40915296 feat: resolve color-scheme and writing-direction (#10)
* feat: resolve color-scheme and writing-direction

* chore: remove disable rule comment
2025-08-20 12:40:51 +02:00
Hubert Bieszczad 3f0a695395 chore: remove prettier from bare 2025-08-19 09:52:30 +02:00
Hubert Bieszczad 25bda5f5e0 feat: update to expo 54 and create bare RN example (#8)
* feat: update to expo 54 and create bare RN example

* chore: update expo-example

* chore: update package.json
2025-08-19 09:44:06 +02:00
Hubert Bieszczad 1b0b034283 feat: css to RN (#6)
* feat: handle translate

* feat: pipe

* feat: parse transforms

* feat: process box shadow

* refactor: create processor classes to resolve circular dependencies

* feat: process all shadows
2025-08-08 14:50:10 +02:00
Hubert Bieszczad ac0fe311af chore: minor improvements 2025-08-05 07:57:10 +02:00
Hubert Bieszczad 24f3af0763 fix(babel): parsing loop 2025-08-02 12:50:46 +02:00
Hubert Bieszczad f70c4ee5a6 feat: dont parse web to rn stylesheets 2025-08-01 15:08:26 +02:00
Hubert Bieszczad 4eb40b52a5 feat: stylesheet and variables computed in runtime 2025-08-01 11:24:12 +02:00
Hubert Bieszczad 7a59190432 feat: breakpoints 2025-07-31 12:32:42 +02:00
Hubert Bieszczad 19baba8891 feat: parse colors 2025-07-30 14:34:38 +02:00
Hubert Bieszczad 95a8f4ac2b feat: babel plugin 2025-07-29 12:34:52 +02:00
Hubert Bieszczad 4568630b6c feat: expo example 2025-07-29 12:18:40 +02:00