Commit graph

63 commits

Author SHA1 Message Date
Mitchell Hanberg da568bf84e
ci: fix release-please readme 2023-06-13 22:24:24 -04:00
Mitchell Hanberg d81458562f
ci: release-please readme 2023-06-13 22:23:26 -04:00
Mitchell Hanberg 842fc4d40a
chore: update README.md 2023-05-26 10:45:09 -04:00
Mitchell Hanberg 7a505875af
fix(docs): typos 2023-01-21 07:08:22 -05:00
Mitchell Hanberg 9a24ff85cb
chore: Bump v0.11.0 2023-01-21 07:02:11 -05:00
Mitchell Hanberg db231e7b6b
Align component model with HEEx/Surface (#182)
* Align component model with HEEx/Surface

This change aligns the component model with HEEx/Surface. This shoudl
allow one to interop components created in any syntax with any other
syntax.

The advantage of this is folks can utilize component packages created
using a different syntax.

This includes several enhancements and breaking changes, please see the changelog and the migration guide for further details.

Closes #130
2022-10-12 09:17:23 -04:00
Mitchell Hanberg dca47b9802 Bump v0.10.0 2022-09-19 20:37:10 -04:00
Mitchell Hanberg 99cbb42962
SVG (#181)
This basically just adds svg elements as void and nonvoid element
aliases and it works, will test on a real proejct before releasing the
next release.

Also, fixed the weird behaviour problem by defining types for each of the ast
nodes and then referencing those types when defining the ast type.

Unclear why this works, but I imagine it has to do with the types not
being a big part of the compilation process or something.

This also uses the typed_struct library to do so. Seems pretty slick and
does what it claims it does.
2022-09-19 20:35:45 -04:00
Mitchell Hanberg 016e761346 Remove comment from README 2022-04-20 00:03:38 -04:00
Mitchell Hanberg f942817994
Utilize the EEx Engine instead of creating an EEx string (#177) 2022-04-19 23:56:46 -04:00
Mitchell Hanberg c6d29e592b Bump v0.8.0 2021-08-29 18:11:24 -04:00
Mitchell Hanberg 87ddbaa6b5
Update README.md 2021-07-26 22:22:08 -04:00
Mitchell Hanberg 0715a514c5 Bump v0.7.0 2021-06-27 12:05:45 -04:00
Mitchell Hanberg 9d05f74cdf
Properly emit boolean attributes (#139)
* Update some docs

* Properly emit boolean attributes.

* Account for quoted literals when compiling attributes

* Update changelog
2021-06-26 21:47:21 -04:00
Mitchell Hanberg fb5f0a99f4 Bump v0.6.2 2021-06-03 23:14:58 -04:00
Mitchell Hanberg 49ebe8c603 update readme 2021-05-26 10:11:08 -04:00
Mitchell Hanberg 006886fa5e Bump v0.6.1 2021-05-23 14:01:25 -04:00
Mitchell Hanberg 978df64ffe Update version in readme 2021-05-22 01:20:42 -04:00
Mitchell Hanberg 301963f06b Bump v0.6.0 2021-05-22 01:13:58 -04:00
Mitchell Hanberg 99de9ad137
Update README.md 2021-05-21 10:50:31 -04:00
Mitchell Hanberg b2bd06d037 Add some docs 2021-05-13 21:28:15 -04:00
Mitchell Hanberg 3b00fedb27 update version in readme 2021-05-13 20:56:40 -04:00
Mitchell Hanberg 5150a93e38 emit live view compatible component and slot markup
- requires the development branch of live_view currently, if you are
  going to be using live view

ci

Docs

Raise minimum elixir version to 1.9

There is some bug in EEx that was fixed in 1.9 and I can't be bothered
to make it backwards compatible with the bug.

ugh

Remove commented out line
2021-05-13 00:21:43 -04:00
Mitchell Hanberg 851f6415fe Slots!
Integration test for slots

Format integration test project

Hide slots assign in temple prefixed key

Won't compile temple related assigns when calling Utils.runtime_attrs

Update component docs with slots usage
2021-05-13 00:21:43 -04:00
Mitchell Hanberg f7197ede4a Update readme with goals 2021-05-13 00:21:43 -04:00
Mitchell Hanberg 074241be4e Rename Temple.EEx to Temple.Generator 2021-04-11 17:27:02 -04:00
Mitchell Hanberg 9d6f7c176d Remove slack readme badge 2021-03-22 20:14:47 -04:00
Michel Belleville 6fe46cbb49
the alias goes in the view module (#107) 2021-01-20 18:03:41 -05:00
Mitchell Hanberg 8377a04ab3
Update README.md 2021-01-02 15:34:53 -05:00
Mitchell Hanberg e97302149b rename default branch 2021-01-02 13:34:19 -05:00
Mitchell Hanberg c4059b3a6e Bump v0.6.0-rc.0 2021-01-02 13:24:49 -05:00
Mitchell Hanberg ced2f6ab66 feat: New Component API 2021-01-02 13:22:03 -05:00
Mitchell Hanberg da3dd6b214 Update README 2020-11-04 19:58:35 -05:00
Michel Belleville f75774c626
Typo fix in README.md (@behavior => @behaviour) 2020-10-20 15:38:46 +02:00
Mitchell Hanberg ba49ce2b4b Update README 2020-07-25 12:07:00 -04:00
Mitchell Hanberg 7be82e003f Module based Component API 2020-07-24 15:54:38 -04:00
Mitchell Hanberg 3c787297e5 Update README 2020-07-15 22:47:23 -04:00
Mitchell Hanberg 292c91538b Update README 2020-07-15 22:32:27 -04:00
zimt28 3d620c7b07
Update Readme (#83)
- Updates version in installation instructions
- Adds `lexs` extension to the live reload and formatter configs
2020-07-14 10:03:42 -04:00
Mitchell Hanberg 4498eabedb Context/LiveView generator 2020-06-30 20:43:04 -04:00
Shritesh Bhattarai a3ec57344a
Fix LiveView engine instruction (#82) 2020-06-16 17:36:12 -04:00
Mitchell Hanberg 853253bc4a Fix README example 2020-06-16 15:52:59 -04:00
Mitchell Hanberg 33c95186fb
Compile to EEx (#80)
Code is gross
2020-06-16 15:28:21 -04:00
Romain Bertrand c580d4e2fb
Suggest 0.5.0 in README (#76) 2020-05-14 16:04:15 -04:00
Mitchell Hanberg 1ba5d1b88f Update README 2020-04-21 11:24:39 -04:00
Mitchell Hanberg 1093a4d602 Rename props to assigns
This helps stay consistent with the Phoenix nomenclature.
2020-04-14 10:40:01 -04:00
GarlandCrow 7d1e436ac6
Update README with Phoenix live-reload config change (#57)
Co-authored-by: Mitchell Hanberg <mitch@mitchellhanberg.com>
2020-03-18 19:35:34 -04:00
Mitchell Hanberg d8e17c54bb Fix readme CI badge 2019-11-22 22:52:16 -05:00
Mitchell Hanberg 86f5656b46 Bump v0.4.0 2019-09-13 21:38:53 -04:00
Mitchell Hanberg 5acd6fc079
Svg module (#25)
* Temple.Svg

- scopes update_mdn_task to the temple namespace
- introduces new temple.convert mix task to convert plain HTML and SVG to
  Temple syntax

* Rename Temple.Tags to Temple.Html

* Remove hackney

I'm not sure why it was even in there ¯\_(ツ)_/¯

* Update floki

* Document temple.convert in README
2019-09-13 21:36:16 -04:00