Commit graph

10 commits

Author SHA1 Message Date
Juro Oravec
9d9462162a refactor: merge Base, Implicit and Named FillNodes into FillNode 2024-04-16 23:25:12 +02:00
pre-commit-ci[bot]
c0c9e145a9 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-04-16 23:25:12 +02:00
Juro Oravec
ec12a3bcb8 feat: capture root context 2024-04-16 23:25:12 +02:00
Juro Oravec
8d3a2ba8db refactor: simplify slot intermediate slot types 2024-04-16 23:25:12 +02:00
Juro Oravec
003c8ba4d5 refactor: fix clash with autodiscovery 2024-04-13 21:34:43 +02:00
Juro Oravec
3f8abc7388 refactor: use sys.modules to get component file path 2024-04-11 23:22:48 +02:00
Juro Oravec
9aa446acc8
refactor: move slots logic to own file (#416)
* refactor: move slots logic to own file

* docs: add readme section for how slots work

* chore: isort

* refactor: fix type alias

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* refactor: fix isort issues again

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 22:55:27 +01:00
Juro Oravec
2c8fc6c3a2
fix: avoid nested django contexts when rendering (#415)
* fix: avoid nested django contexts when rendering

* refactor: make input for slot context processing more specific

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-30 09:17:55 +01:00
Gabriel Dugny
b9f4e596a4 feat: add type hints everywhere 2024-03-29 08:51:58 +01:00
Gabriel Dugny
a7901c7c17 chore: use src layout 2024-03-29 07:50:10 +01:00
Renamed from django_components/component.py (Browse further)