Juro Oravec
|
28b61c1609
|
refactor: Update docs and tests to use get_template_data() (#1161)
* refactor: update docs and tests to use get_template_data()
* refactor: fix linting
* docs: add note about difference between the two methods
|
2025-05-03 12:04:10 +02:00 |
|
Juro Oravec
|
bf7a204e92
|
feat: add "simple", "prepend", and "append" render types (#1156)
* feat: add "simple", "prepend", and "append" render types
* refactor: explicitly set strategy for "document" in tests
|
2025-05-02 15:07:16 +02:00 |
|
Juro Oravec
|
a49f5e51dd
|
feat: component URL (#1088)
* feat: allow to set defaults
* refactor: remove input validation and link to it
* feat: component URL
* refactor: fix linter errors
* refactor: fix linter errors + update examples to use Component.View..get
* docs: update comment
* refactor: revert change to hash_comp_cls
* docs: update comment
|
2025-04-07 10:44:41 +02:00 |
|
Juro Oravec
|
d94a459c8d
|
refactor: rename template_name to template_file (#878)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2025-01-01 17:06:14 +01:00 |
|
Juro Oravec
|
715bf7d447
|
feat: allow to set main JS and CSS from files + lazy-load component m… (#870)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-12-30 18:00:46 +01:00 |
|
Juro Oravec
|
e1382d3ccd
|
refactor: Remove safer_staticfiles, replace STATICFILES_DIRS with COMPONENTS.dirs, support [app]/components (#652)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-09-11 08:45:55 +02:00 |
|
Juro Oravec
|
841dd77e91
|
refactor: Fix template caching, expose cached_template , Component.template API changes (#647)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-09-06 22:40:39 +02:00 |
|
Juro Oravec
|
e771a0aaaf
|
refactor: Use top-level exports as public API (#562)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
|
2024-08-03 08:30:39 +02: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 |
|