reflex/tests/units/components
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
..
base add type hinting to events (#4145) 2024-10-14 08:44:31 -07:00
core make var system expandable (#4175) 2024-10-21 17:05:13 -07:00
datadisplay [ENG-3848][ENG-3861]Shiki Code block Experimental (#4030) 2024-10-22 17:01:34 +00:00
el add workflow to check dependencies on release branch (#4050) 2024-10-07 20:57:02 +02:00
forms default on_submit in form set to prevent_default (#4005) 2024-09-26 11:56:59 -07:00
graphing reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
layout reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
lucide reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
media reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
radix reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
recharts reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
typography reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
__init__.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_component_future_annotations.py add type hinting to events (#4145) 2024-10-14 08:44:31 -07:00
test_component_state.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_component.py Support aria and data props (#4149) 2024-10-14 08:45:25 -07:00
test_tag.py update ruff to latest version (#4081) 2024-10-07 23:52:36 +02:00