reflex-components-react-player 0.9.1__tar.gz → 0.9.2a1__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_react_player-0.9.2a1/.gitignore +35 -0
- reflex_components_react_player-0.9.2a1/CHANGELOG.md +5 -0
- {reflex_components_react_player-0.9.1 → reflex_components_react_player-0.9.2a1}/PKG-INFO +2 -2
- reflex_components_react_player-0.9.2a1/news/.gitkeep +0 -0
- {reflex_components_react_player-0.9.1 → reflex_components_react_player-0.9.2a1}/src/reflex_components_react_player/react_player.py +4 -2
- {reflex_components_react_player-0.9.1 → reflex_components_react_player-0.9.2a1}/src/reflex_components_react_player/react_player.pyi +2 -0
- reflex_components_react_player-0.9.1/.gitignore +0 -24
- {reflex_components_react_player-0.9.1 → reflex_components_react_player-0.9.2a1}/README.md +0 -0
- {reflex_components_react_player-0.9.1 → reflex_components_react_player-0.9.2a1}/pyproject.toml +0 -0
- {reflex_components_react_player-0.9.1 → reflex_components_react_player-0.9.2a1}/src/reflex_components_react_player/__init__.py +0 -0
- {reflex_components_react_player-0.9.1 → reflex_components_react_player-0.9.2a1}/src/reflex_components_react_player/audio.py +0 -0
- {reflex_components_react_player-0.9.1 → reflex_components_react_player-0.9.2a1}/src/reflex_components_react_player/audio.pyi +0 -0
- {reflex_components_react_player-0.9.1 → reflex_components_react_player-0.9.2a1}/src/reflex_components_react_player/video.py +0 -0
- {reflex_components_react_player-0.9.1 → reflex_components_react_player-0.9.2a1}/src/reflex_components_react_player/video.pyi +0 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
**/.DS_Store
|
|
2
|
+
**/*.pyc
|
|
3
|
+
**/__pycache__/
|
|
4
|
+
.pytest_cache/
|
|
5
|
+
.ruff_cache/
|
|
6
|
+
**/.ruff_cache/
|
|
7
|
+
.mypy_cache/
|
|
8
|
+
assets/external/*
|
|
9
|
+
dist/*
|
|
10
|
+
examples/
|
|
11
|
+
.web
|
|
12
|
+
.states
|
|
13
|
+
.idea
|
|
14
|
+
.vscode
|
|
15
|
+
.coverage
|
|
16
|
+
.coverage.*
|
|
17
|
+
.venv
|
|
18
|
+
venv
|
|
19
|
+
requirements.txt
|
|
20
|
+
.pyi_generator_last_run
|
|
21
|
+
.pyi_generator_diff
|
|
22
|
+
reflex.db
|
|
23
|
+
.codspeed
|
|
24
|
+
.env
|
|
25
|
+
.env.*
|
|
26
|
+
node_modules
|
|
27
|
+
package-lock.json
|
|
28
|
+
*.pyi
|
|
29
|
+
.pre-commit-config.yaml
|
|
30
|
+
.claude/.worktrees
|
|
31
|
+
.claude/settings.local.json
|
|
32
|
+
CLAUDE.local.md
|
|
33
|
+
|
|
34
|
+
# Backups written by scripts/delete_automated_releases.sh
|
|
35
|
+
automated-releases-backup-*.json
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: reflex-components-react-player
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.2a1
|
|
4
4
|
Summary: Reflex react-player components.
|
|
5
5
|
Author-email: Khaleel Al-Adhami <khaleel@reflex.dev>
|
|
6
6
|
Maintainer-email: Khaleel Al-Adhami <khaleel@reflex.dev>
|
|
File without changes
|
|
@@ -2,15 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
+
import logging
|
|
5
6
|
from typing import Any, TypedDict
|
|
6
7
|
|
|
7
8
|
from reflex_base.components.component import Component, field
|
|
8
9
|
from reflex_base.event import EventHandler, no_args_event_spec
|
|
9
|
-
from reflex_base.utils import console
|
|
10
10
|
from reflex_base.vars.base import Var
|
|
11
11
|
from reflex_base.vars.object import ObjectVar
|
|
12
12
|
from reflex_components_core.core.cond import cond
|
|
13
13
|
|
|
14
|
+
logger = logging.getLogger(__name__)
|
|
15
|
+
|
|
14
16
|
ReactPlayerEvent = ObjectVar[dict[str, dict[str, dict[str, Any]]]]
|
|
15
17
|
|
|
16
18
|
|
|
@@ -252,7 +254,7 @@ class ReactPlayer(Component):
|
|
|
252
254
|
f"The prop {prop!r} is deprecated, but the replacement {new_prop!r} is also passed. Please remove {prop!r}.",
|
|
253
255
|
)
|
|
254
256
|
raise ValueError(msg)
|
|
255
|
-
|
|
257
|
+
logger.warning(
|
|
256
258
|
f"The prop {prop!r} has been replaced by {new_prop!r}, please update your code.",
|
|
257
259
|
)
|
|
258
260
|
props[new_prop] = props.pop(prop)
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
# ------------------- DO NOT EDIT ----------------------
|
|
4
4
|
# This file was generated by `reflex/utils/pyi_generator.py`!
|
|
5
5
|
# ------------------------------------------------------
|
|
6
|
+
import logging
|
|
6
7
|
from collections.abc import Mapping, Sequence
|
|
7
8
|
from typing import Any, TypedDict
|
|
8
9
|
|
|
@@ -12,6 +13,7 @@ from reflex_base.vars.base import Var
|
|
|
12
13
|
from reflex_base.vars.object import ObjectVar
|
|
13
14
|
from reflex_components_core.core.breakpoints import Breakpoints
|
|
14
15
|
|
|
16
|
+
logger = logging.getLogger(__name__)
|
|
15
17
|
ReactPlayerEvent = ObjectVar[dict[str, dict[str, dict[str, Any]]]]
|
|
16
18
|
|
|
17
19
|
class Progress(TypedDict):
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
**/.DS_Store
|
|
2
|
-
**/*.pyc
|
|
3
|
-
assets/external/*
|
|
4
|
-
dist/*
|
|
5
|
-
examples/
|
|
6
|
-
.web
|
|
7
|
-
.states
|
|
8
|
-
.idea
|
|
9
|
-
.vscode
|
|
10
|
-
.coverage
|
|
11
|
-
.coverage.*
|
|
12
|
-
.venv
|
|
13
|
-
venv
|
|
14
|
-
requirements.txt
|
|
15
|
-
.pyi_generator_last_run
|
|
16
|
-
.pyi_generator_diff
|
|
17
|
-
reflex.db
|
|
18
|
-
.codspeed
|
|
19
|
-
.env
|
|
20
|
-
.env.*
|
|
21
|
-
node_modules
|
|
22
|
-
package-lock.json
|
|
23
|
-
*.pyi
|
|
24
|
-
.pre-commit-config.yaml
|
|
File without changes
|
{reflex_components_react_player-0.9.1 → reflex_components_react_player-0.9.2a1}/pyproject.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|