Thomas Brandého
462b023019
use add_imports everywhere ( #3448 )
2024-06-12 09:26:45 -07:00
Masen Furer
765f349f02
[REF-3004] Use relative path to stylesheet for postcss-import compat ( #3435 )
...
* test_tailwind: include custom stylesheet
* [REF-3004] Use relative path to stylesheet for postcss-import compat
postcss-import balls all of the CSS up into a single file, which happens at
compile time. So, replace the `@/` with `../public` so the import paths can be
resolved relative to the `styles` directory.
* test_compiler: fix compile_stylesheets expectations
* Use constants.Dirs.PUBLIC instead of "public"
2024-06-05 10:02:05 -07:00
Jirka Borovec
4d567b7ec1
ruff-format: unify Black with Ruff v0.1
( #2837 )
...
* ruff-format: unify Black with Ruff
* ruff lint.
* v0.1.0
* run precommit
* hand fixing
* fix `not isinstance(...)`
Co-authored-by: Thomas Brandého <thomas.brandeho@gmail.com>
* rev isinstance(...) with noqa
* exclude = ["*.pyi"]
* apply precommit
* apply format
* revert pyi
* fixing
* Fix or
Co-authored-by: Thomas Brandého <thomas.brandeho@gmail.com>
* Update reflex/components/datadisplay/code.pyi
* Apply suggestions from code review
Co-authored-by: Thomas Brandého <thomas.brandeho@gmail.com>
* Update tests/components/core/test_colors.py
* Update reflex/app.py
* Update reflex/app.py
* Update benchmarks/test_benchmark_compile_pages.py
* Update benchmarks/test_benchmark_compile_pages.py
* Update benchmarks/test_benchmark_compile_pages.py
---------
Co-authored-by: Thomas Brandého <thomas.brandeho@gmail.com>
2024-04-23 14:40:06 -07:00
macmoritz
9e0452beb0
pass lang and custom_attrs from app to html root ( #2697 )
...
* pass lang and custom_attrs from app to html root
* fix some pre-commit errors and try adding lang
* fix tests
* really fix test
* cleanup with @benedikt-bartscher
* fix props and tests
* use str instead of var
* change typing of html_custom_attrs to not allow Vars
2024-03-03 13:51:20 -08:00
Masen Furer
1603144c7d
[REF-889] useContext per substate ( #2149 )
2023-11-21 11:52:06 -08:00
Nikhil Rao
e9437ad941
Use singleton app provider to speed up compiles ( #2172 )
2023-11-20 18:11:24 -08:00
Nikhil Rao
89404e0b4a
Add head components to app ( #1868 )
2023-09-25 16:53:15 -07:00
Elijah Ahianyo
d81d544b97
add option to disable Tailwind ( #1842 )
2023-09-20 16:47:58 -07:00
Elijah Ahianyo
74d227d2fd
Move custom styles to root App file(_app.js) ( #1764 )
2023-09-15 13:18:35 -07:00
Nikhil Rao
139ce38df1
Rename pynecone to reflex ( #1236 )
2023-06-25 16:56:55 -07:00
iron3oxide
32f3a387ae
Rename var module to vars ( #983 )
2023-05-09 23:01:25 -07:00
PeterYusuke
3b88e7c329
[Fix 477] Use jinja2 for templating ( #915 )
2023-05-09 14:34:47 -07:00
Elijah Ahianyo
18c715670a
Revamp Imports ( #926 )
2023-05-04 22:11:01 -07:00
iron3oxide
7067baf176
Refactor utils module ( #666 )
2023-03-16 14:59:27 -07:00
Elijah Ahianyo
00479362df
Allow conditional props ( #359 )
2023-02-02 00:22:44 -08:00
Nikhil Rao
29e37350e5
Add basic unit tests ( #7 )
...
* Unit tests for components, state, and utils
2022-11-20 14:34:25 -08:00