Emil Stenström
e9b0874ff8
Use relative URL.
2024-04-13 10:22:59 +02:00
Emil Stenström
9b5a691606
Testing setting a white background to make logo work on dark backgrounds.
2024-04-13 10:22:11 +02:00
Emil Stenström
a1c7952067
Add logotype to project.
2024-04-13 10:18:21 +02:00
Emil Stenström
274be10478
Bump version.
2024-04-11 23:54:13 +02:00
Emil Stenström
3facfb14a2
Merge pull request #432 from JuroOravec/fix-relative-templates
...
refactor: use sys.modules to get component file path
2024-04-11 23:53:21 +02:00
Juro Oravec
3050dc71b9
refactor: add test
2024-04-11 23:44:36 +02:00
Juro Oravec
3f8abc7388
refactor: use sys.modules to get component file path
2024-04-11 23:22:48 +02:00
Emil Stenström
bc7ff0af1a
Merge pull request #428 from franciscobmacedo/fix-inconsistent-file-names-in-README
...
fix: inconsistent file names in README.md
2024-04-09 14:05:49 +02:00
Francisco Macedo
c31395ea28
fix: inconsistent file names in README.md
2024-04-09 11:22:39 +01:00
Emil Stenström
2e126065e7
Merge pull request #427 from EmilStenstrom/dependabot/pip/django-5.0.4
...
Bump django from 5.0.3 to 5.0.4
2024-04-08 21:46:08 +02:00
dependabot[bot]
91b66be56b
Bump django from 5.0.3 to 5.0.4
...
Bumps [django](https://github.com/django/django ) from 5.0.3 to 5.0.4.
- [Commits](https://github.com/django/django/compare/5.0.3...5.0.4 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 17:39:38 +00:00
Emil Stenström
cd791caa57
Bump version.
2024-04-04 08:35:06 +02:00
Dylan Castillo
0f278f3c25
Fix issue #421 ( #422 )
2024-04-04 08:29:26 +02:00
Gabriel Dugny
84db2b7314
build: move to PEP517 and pyproject.toml, drop support for Py3.6 and Py3.7 ( #417 )
...
* chore: move to pyproject.toml
* chore: forced to drop Python 3.6 to upgrade
* chore: drop support for Python 3.6 and 3.7
* chore: remove old references to py36/py37
* chore: remove setup.py, replaced by pyproject.toml
2024-03-31 19:20:35 +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
Emil Stenström
ae5cda9f72
Bump version.
2024-03-30 09:18:33 +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
Emil Stenström
20847b978b
Bump version.
2024-03-29 23:41:49 +01:00
Emil Stenström
7e90444ae2
Merge pull request #410 from GabDug/feat/type-hints
...
feat: full type hints
2024-03-29 23:41:00 +01:00
Gabriel Dugny
b9f4e596a4
feat: add type hints everywhere
2024-03-29 08:51:58 +01:00
Emil Stenström
c11f30ec7c
Merge pull request #407 from GabDug/fix/tox-use-wheel
...
Use wheel in tests, adopt src layout
2024-03-29 07:56:06 +01:00
pre-commit-ci[bot]
05fbd70b32
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-03-29 07:50:10 +01:00
Gabriel Dugny
a818f18423
fix: support legacy tox and setuptools for Python 3.6
2024-03-29 07:50:10 +01:00
Gabriel Dugny
44f984c84b
fix: make tox use the wheel
2024-03-29 07:50:10 +01:00
Gabriel Dugny
a7901c7c17
chore: use src layout
2024-03-29 07:50:10 +01:00
Emil Stenström
f2c925e1e2
Merge pull request #408 from EmilStenstrom/dependabot/pip/pre-commit-3.7.0
...
Bump pre-commit from 3.6.2 to 3.7.0
2024-03-25 22:52:51 +01:00
dependabot[bot]
e47fa0d85c
Bump pre-commit from 3.6.2 to 3.7.0
...
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 3.6.2 to 3.7.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.6.2...v3.7.0 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 22:52:34 +01:00
Emil Stenström
ae9e99a412
Merge pull request #409 from EmilStenstrom/dependabot/pip/tox-4.14.2
...
Bump tox from 4.14.1 to 4.14.2
2024-03-25 22:52:18 +01:00
dependabot[bot]
23671cf6a2
Bump tox from 4.14.1 to 4.14.2
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.14.1 to 4.14.2.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.14.1...4.14.2 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 17:55:06 +00:00
Emil Stenström
a9c922c8e6
Merge pull request #406 from GabDug/fix/type-component-registry
...
fix: type component registry
2024-03-24 21:52:27 +01:00
pre-commit-ci[bot]
0a1b6ca6ab
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-03-24 17:01:07 +00:00
Gabriel Dugny
715326b5c2
fix: 3.6 syntax for type hints
2024-03-24 18:00:55 +01:00
Gabriel Dugny
3952fd7437
fix: type component registry
2024-03-24 17:40:16 +01:00
Emil Stenström
04160f4e0b
Bump version.
2024-03-24 12:11:13 +01:00
Emil Stenström
fa6abab06e
Merge pull request #404 from JuroOravec/fix-release-v0.60
...
Fix realeases v0.60 and v0.52
2024-03-24 12:10:47 +01:00
Juro Oravec
12463c365b
refactor: move py.typed into django_components dir
2024-03-24 10:09:36 +01:00
Juro Oravec
d4244578ed
refactor: change utils dir to file to fix missing import
2024-03-24 10:09:15 +01:00
Emil Stenström
ceb74b289d
Merge pull request #400 from EmilStenstrom/dependabot/pip/black-24.3.0
...
Bump black from 24.2.0 to 24.3.0
2024-03-23 19:03:53 +01:00
Emil Stenström
d512cfb0fe
Bump version.
2024-03-23 19:03:05 +01:00
Juro Oravec
37fd901908
Resolve media and template files relative to component class dir ( #395 ), thanks @JuroOravec
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Emil Stenström <emil@emilstenstrom.se>
2024-03-23 19:01:39 +01:00
dependabot[bot]
4c997fde9a
Bump black from 24.2.0 to 24.3.0
...
Bumps [black](https://github.com/psf/black ) from 24.2.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/compare/24.2.0...24.3.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-23 18:50:27 +01:00
pre-commit-ci[bot]
1de859bd34
[pre-commit.ci] pre-commit autoupdate ( #402 )
...
updates:
- [github.com/psf/black: 24.2.0 → 24.3.0](https://github.com/psf/black/compare/24.2.0...24.3.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-18 23:27:13 +01:00
Emil Stenström
95d6eacb5c
Bump version.
2024-03-15 23:39:35 +01:00
Emil Stenström
33bd14e75c
Remove unnessesary debug from tox run.
2024-03-15 23:39:00 +01:00
Emil Stenström
5f30917664
Remove old comments.
2024-03-15 23:38:15 +01:00
Juro Oravec
b14dec9777
Add mypy support ( #396 ), thanks @JuroOravec
2024-03-15 23:31:15 +01:00
dependabot[bot]
4090c928ee
Bump pytest from 8.0.2 to 8.1.1
...
Bumps [pytest](https://github.com/pytest-dev/pytest ) from 8.0.2 to 8.1.1.
- [Release notes](https://github.com/pytest-dev/pytest/releases )
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pytest-dev/pytest/compare/8.0.2...8.1.1 )
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 21:50:21 +01:00
dependabot[bot]
f1c2a1b310
Bump tox from 4.13.0 to 4.14.1
...
Bumps [tox](https://github.com/tox-dev/tox ) from 4.13.0 to 4.14.1.
- [Release notes](https://github.com/tox-dev/tox/releases )
- [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst )
- [Commits](https://github.com/tox-dev/tox/compare/4.13.0...4.14.1 )
---
updated-dependencies:
- dependency-name: tox
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-11 21:49:33 +01:00
Emil Stenström
7058f05e04
Bump version.
2024-03-07 08:21:47 +01:00
Emil Stenström
454b9ee4dc
Merge pull request #391 from dylanjcastillo/add-type-hints
...
Add type hints
2024-03-05 11:05:56 +01:00