reflex/tests/units
Elijah Ahianyo d63b3a2bce
[ENG-3848][ENG-3861]Shiki Code block Experimental (#4030)
* Shiki Code block Experimental

* refactor

* update code

* remove console.log

* add transformers to namespace

* some validations

* fix components paths

* fix ruff

* add a high-level component

* fix mapping

* fix mapping

* python 3.9+

* see if this fixes the tests

* fix pyi and annotations

* minimal update of theme and language map

* add hack for reflex-web/flexdown

* unit test file commit

* [ENG-3895] [ENG-3896] Update styling for shiki code block

* strip transformer triggers

* minor refactor

* linter

* fix pyright

* pyi fix

* add unit tests

* sneaky pyright ignore

* the transformer trigger regex should remove the language comment character

* minor refactor

* fix silly mistake

* component mapping in markdown should use the first child for codeblock

* use ternary operator in numbers.py, move code block args to class for docs discoverability

* precommit

* pyright fix

* remove id on copy button animation

* pyright fix for real

* pyi fix

* pyi fix fr

* check if svg exists

* copy event chain

* do a concatenation instead of first child

* added comment

---------

Co-authored-by: Carlos <cutillascarlos@gmail.com>
2024-10-22 17:01:34 +00:00
..
compiler use pathlib as much as possible (#3967) 2024-10-03 17:50:39 +02:00
components [ENG-3848][ENG-3861]Shiki Code block Experimental (#4030) 2024-10-22 17:01:34 +00:00
experimental reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
middleware reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
states reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
utils Do not auto-determine generic args if already supplied (#4148) 2024-10-11 17:08:39 -07:00
vars Do not auto-determine generic args if already supplied (#4148) 2024-10-11 17:08:39 -07:00
__init__.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
conftest.py add workflow to check dependencies on release branch (#4050) 2024-10-07 20:57:02 +02:00
test_app.py add type hinting to events (#4145) 2024-10-14 08:44:31 -07:00
test_attribute_access_type.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_base.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_config.py move all environment variables to the same place (#4192) 2024-10-21 13:28:55 -07:00
test_db_config.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_event.py LiteralEventChainVar becomes an ArgsFunctionOperation (#4174) 2024-10-16 11:35:09 -07:00
test_health_endpoint.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_model.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_page.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_prerequisites.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_route.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_sqlalchemy.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_state_tree.py add workflow to check dependencies on release branch (#4050) 2024-10-07 20:57:02 +02:00
test_state.py Handle rx.State subclasses defined in function (#4129) 2024-10-11 16:51:10 -07:00
test_style.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_telemetry.py use pathlib as much as possible (#3967) 2024-10-03 17:50:39 +02:00
test_testing.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_var.py make var system expandable (#4175) 2024-10-21 17:05:13 -07:00