reflex-components-code 0.10.0a2__tar.gz → 0.10.1a1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {reflex_components_code-0.10.0a2 → reflex_components_code-0.10.1a1}/CHANGELOG.md +12 -4
- {reflex_components_code-0.10.0a2 → reflex_components_code-0.10.1a1}/PKG-INFO +5 -5
- {reflex_components_code-0.10.0a2 → reflex_components_code-0.10.1a1}/pyproject.toml +4 -4
- {reflex_components_code-0.10.0a2 → reflex_components_code-0.10.1a1}/src/reflex_components_code/code.py +1 -1
- {reflex_components_code-0.10.0a2 → reflex_components_code-0.10.1a1}/src/reflex_components_code/shiki_code_block.py +1 -24
- {reflex_components_code-0.10.0a2 → reflex_components_code-0.10.1a1}/.gitignore +0 -0
- {reflex_components_code-0.10.0a2 → reflex_components_code-0.10.1a1}/README.md +0 -0
- {reflex_components_code-0.10.0a2 → reflex_components_code-0.10.1a1}/news/.gitkeep +0 -0
- {reflex_components_code-0.10.0a2 → reflex_components_code-0.10.1a1}/src/reflex_components_code/__init__.py +0 -0
- {reflex_components_code-0.10.0a2 → reflex_components_code-0.10.1a1}/src/reflex_components_code/code.pyi +0 -0
- {reflex_components_code-0.10.0a2 → reflex_components_code-0.10.1a1}/src/reflex_components_code/shiki_code_block.pyi +0 -0
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
## v0.10.
|
|
1
|
+
## v0.10.1a1 (2026-10-23)
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### Bug Fixes
|
|
4
4
|
|
|
5
|
-
-
|
|
5
|
+
- Fix `use_transformers=True` on the Shiki code block rendering no transformers: the default shikijs transformers and their styles are now applied again. ([#7437](https://github.com/reflex-dev/reflex/issues/7437))
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
6
8
|
|
|
9
|
+
- Update react-syntax-highlighter to 16.1.2. ([#7645](https://github.com/reflex-dev/reflex/issues/7645))
|
|
7
10
|
|
|
8
|
-
|
|
11
|
+
|
|
12
|
+
## v0.10.0 (2026-10-08)
|
|
13
|
+
|
|
14
|
+
### Breaking Changes
|
|
15
|
+
|
|
16
|
+
- Require Python 3.11 or newer; Python 3.10 is no longer supported. ([#7449](https://github.com/reflex-dev/reflex/issues/7449))
|
|
9
17
|
|
|
10
18
|
### Miscellaneous
|
|
11
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: reflex-components-code
|
|
3
|
-
Version: 0.10.
|
|
3
|
+
Version: 0.10.1a1
|
|
4
4
|
Summary: Reflex code display components.
|
|
5
5
|
Author-email: Khaleel Al-Adhami <khaleel@reflex.dev>
|
|
6
6
|
Maintainer-email: Khaleel Al-Adhami <khaleel@reflex.dev>
|
|
@@ -12,10 +12,10 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.14
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.15
|
|
14
14
|
Requires-Python: >=3.11
|
|
15
|
-
Requires-Dist: reflex-base>=0.10.
|
|
16
|
-
Requires-Dist: reflex-components-core>=0.10.
|
|
17
|
-
Requires-Dist: reflex-components-lucide>=1.1.
|
|
18
|
-
Requires-Dist: reflex-components-radix>=0.10.
|
|
15
|
+
Requires-Dist: reflex-base>=0.10.0
|
|
16
|
+
Requires-Dist: reflex-components-core>=0.10.0
|
|
17
|
+
Requires-Dist: reflex-components-lucide>=1.1.0
|
|
18
|
+
Requires-Dist: reflex-components-radix>=0.10.0
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
|
|
21
21
|
# reflex-components-code
|
|
@@ -16,10 +16,10 @@ classifiers = [
|
|
|
16
16
|
"Programming Language :: Python :: 3.15",
|
|
17
17
|
]
|
|
18
18
|
dependencies = [
|
|
19
|
-
"reflex-base >= 0.10.
|
|
20
|
-
"reflex-components-core >= 0.10.
|
|
21
|
-
"reflex-components-lucide >= 1.1.
|
|
22
|
-
"reflex-components-radix >= 0.10.
|
|
19
|
+
"reflex-base >= 0.10.0",
|
|
20
|
+
"reflex-components-core >= 0.10.0",
|
|
21
|
+
"reflex-components-lucide >= 1.1.0",
|
|
22
|
+
"reflex-components-radix >= 0.10.0",
|
|
23
23
|
]
|
|
24
24
|
|
|
25
25
|
[tool.hatch.version]
|
|
@@ -426,7 +426,7 @@ class ShikiJsTransformer(ShikiBaseTransformers):
|
|
|
426
426
|
library: str = "@shikijs/transformers@4.5.0"
|
|
427
427
|
fns: list[FunctionStringVar] = dataclasses.field(
|
|
428
428
|
default_factory=lambda: [
|
|
429
|
-
FunctionStringVar.create(fn) for fn in SHIKIJS_TRANSFORMER_FNS
|
|
429
|
+
FunctionStringVar.create(fn) for fn in sorted(SHIKIJS_TRANSFORMER_FNS)
|
|
430
430
|
]
|
|
431
431
|
)
|
|
432
432
|
style: Style | None = dataclasses.field(
|
|
@@ -513,29 +513,6 @@ class ShikiJsTransformer(ShikiBaseTransformers):
|
|
|
513
513
|
})
|
|
514
514
|
)
|
|
515
515
|
|
|
516
|
-
def __init__(self, **kwargs):
|
|
517
|
-
"""Initialize the transformer.
|
|
518
|
-
|
|
519
|
-
Args:
|
|
520
|
-
kwargs: Kwargs to initialize the props.
|
|
521
|
-
|
|
522
|
-
"""
|
|
523
|
-
fns = kwargs.pop("fns", None)
|
|
524
|
-
style = kwargs.pop("style", None)
|
|
525
|
-
if fns:
|
|
526
|
-
kwargs["fns"] = [
|
|
527
|
-
(
|
|
528
|
-
FunctionStringVar.create(x)
|
|
529
|
-
if not isinstance(x, FunctionStringVar)
|
|
530
|
-
else x
|
|
531
|
-
)
|
|
532
|
-
for x in fns
|
|
533
|
-
]
|
|
534
|
-
|
|
535
|
-
if style:
|
|
536
|
-
kwargs["style"] = Style(style)
|
|
537
|
-
super().__init__(**kwargs)
|
|
538
|
-
|
|
539
516
|
|
|
540
517
|
class ShikiCodeBlock(Component, MarkdownComponentMap):
|
|
541
518
|
"""A Code block."""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|