Commit Graph

11 Commits

Author SHA1 Message Date
Gus Power f0329cd04d Extend custom component description for markdown helper 2025-03-17 11:13:48 +00:00
lovasoa 0d51d52393 not on a personal repo anymore 2024-12-06 21:42:55 +01:00
lovasoa b6bb9820af docs 2024-08-11 16:20:00 +02:00
lovasoa c52b2ada9c improve security and usability of custom js
The new default Content-Security-Policy contains a nonce that is made available to components during rendering.

This allows including inline scripts as well as scripts from any source easily by specifying a nonce, and forbids arbitrary js from jsdelivr in case of xss
2024-08-01 23:04:07 +02:00
lovasoa 721ced629f new handlebars helper for custom components: app_config 2024-06-18 00:20:08 +02:00
lovasoa a3b6cd43d9 documentation 2024-03-08 11:55:20 +01:00
Ophir LOJKINE d14508d249 multishell (#234)
* New prefix and suffix attributes to create prepended and appended form fields

* fix indentation

* improve documentation

* add prefix_icon

* update changelog

* fix default cookie path

see https://github.com/lovasoa/SQLpage/discussions/200

* update dependencies

* multiple custom shells

* fmt

* clippy

* clippy

* tests and docs

* changelog

* update dependencies

---------

Co-authored-by: Olivier Auverlot <oauv@duck.com>
2024-02-24 19:23:13 +01:00
Ophir LOJKINE 5fa50f374a carousel component (#214)
* Initial carousel component implementation

* change carousel example

* make the carousel text description more readable by adding a background

* update cat example

* carousel automatic cycling is now optional

* remove requirement for unique name attribute in carousel

see https://github.com/lovasoa/SQLpage/pull/179#discussion_r1445378383

* fix carousel buttons

* uodate deps

* fix official site docs

* lint

* update changelog

---------

Co-authored-by: Olivier Auverlot <@olivierauverlot>
2024-02-03 15:44:44 +01:00
Lorefnon 99c7e02499 Support lazy-loaded content fragments in card component (#175)
* Add support for embed parameter that skips the shell layout

* Add support for cards with remote content

* Adapt js to support lazy-loaded fragments

* Add example

* Reformat & Fix lint errors

* Update query param name and add docs

* Add example

* squash migrations

---------

Co-authored-by: lovasoa <pere.jobs@gmail.com>
2024-01-05 22:17:33 +01:00
lovasoa 17681fb672 add support for geojson in the map component
this adds support for new geometries, including polygons

Closes https://github.com/lovasoa/SQLpage/issues/119
2023-11-07 23:52:38 +01:00
lovasoa 6efdf206fb document custom component creation 2023-11-06 01:35:21 +01:00