diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index afb861e..c39d986 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,12 +18,14 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v3
-
- - name: Set up Python ${{ matrix.python-version }}
- run: uv python install ${{ matrix.python-version }}
+ with:
+ python-version: ${{ matrix.python-version }}
- name: Install dependencies
- run: uv pip install -e ".[dev]"
+ run: |
+ uv venv
+ uv pip install -e ".[dev]"
+ echo "$GITHUB_WORKSPACE/.venv/bin" >> $GITHUB_PATH
- name: Install Playwright browsers
run: playwright install chromium --with-deps
diff --git a/pyproject.toml b/pyproject.toml
index c1fcf9b..9575f0b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -27,7 +27,9 @@ django = [
]
fastapi = [
"fastapi>=0.109.0",
+ "uvicorn[standard]>=0.27.0",
"jinjax>=0.41",
+ "python-multipart>=0.0.5",
]
litestar = [
"litestar>=2.0",
@@ -70,6 +72,9 @@ testpaths = ["tests"]
pythonpath = ["src"]
asyncio_mode = "auto"
+[tool.uv.sources]
+component-framework = { git = "https://github.com/fsecada01/component-framework.git" }
+
[tool.ruff]
line-length = 100
target-version = "py311"
diff --git a/src/cf_ui/templates/cotton/bulma/cf/checkbox-group.html b/src/cf_ui/templates/cotton/bulma/cf/checkbox-group.html
index 8b9f0f1..4725c12 100644
--- a/src/cf_ui/templates/cotton/bulma/cf/checkbox-group.html
+++ b/src/cf_ui/templates/cotton/bulma/cf/checkbox-group.html
@@ -1,7 +1,7 @@
-