Mitchell Hanberg
451f5d4859
Bump v0.3.0
2019-08-20 23:32:14 -04:00
Mitchell Hanberg
3a52b2d7e7
Update changelog
2019-08-20 23:17:46 -04:00
Mitchell Hanberg
74e7f3a25e
defelement macro
...
- add location: :keep to all calls to quote
2019-08-20 23:13:10 -04:00
Mitchell Hanberg
b0a7f9da11
Extract helper module for creating elements
...
Also removes illegal `html` macros, which allows use to only define one
clause and remove some tests.
2019-08-20 21:01:07 -04:00
AJ Harrington
f3aabf8f59
Updated html macro to put a <!DOCTYPE html> before the <html /> tag ( #18 )
...
Removed html from the list of nonvoid tags. Implemented specifically
so the doctype declaration can be put in. Not sure if this or adding
an if block to check the tag was a better solution.
Added tests for the html macro to the tests since it would no longer
show up in nonvoid_elements list.
mix test passes
2019-08-19 19:53:17 -04:00
Mitchell Hanberg
dba45074d2
Update issue templates
2019-08-17 13:44:49 -04:00
dependabot-preview[bot]
617e8e4e8f
Bump plug from 1.8.2 to 1.8.3 ( #9 )
...
Bumps [plug](https://github.com/elixir-plug/plug ) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/elixir-plug/plug/releases )
- [Changelog](https://github.com/elixir-plug/plug/blob/master/CHANGELOG.md )
- [Commits](https://github.com/elixir-plug/plug/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-17 10:00:49 -04:00
Mitchell Hanberg
a20900a281
Bump v0.2.0
2019-08-13 18:28:28 -04:00
Shritesh Bhattarai
43f10cd0de
Add radio_button ( #14 )
2019-08-13 11:04:14 -04:00
Mitchell Hanberg
408dfdc6c7
Bump v0.1.2
2019-08-10 01:10:45 -04:00
Mitchell Hanberg
eb0fde6e83
Don't recursively call generated component macros ( #12 )
...
Recursively calling the macros works fine if you `import` the whole
module wherever you are using your components, but not if you `require`
the module.
This is because importing brings in the all the macros into the callers
namespace, which allows them to be called just by the macro name. When
you `require` the module, it will look for the generated 2-arity macro
in the callers namespace, which probably doesn't exist.
We get around this by not recursively calling them and avoiding the
problem all togther. A few utility functions solves the original issue
of wanting to DRY the file.
2019-08-10 01:09:24 -04:00
Mitchell Hanberg
030e0f9d3c
Bump v0.1.1
2019-08-08 09:01:28 -04:00
Mitchell Hanberg
84a59a3e80
Merge pull request #11 from mhanberg/escape-single-arity-content-tags
...
Escape content passed to single arity tags
2019-08-07 22:27:06 -04:00
Mitchell Hanberg
0521aa2aad
Escape content passed to single arity tags
2019-08-07 21:08:16 -04:00
Mitchell Hanberg
465479d57f
Merge pull request #7 from mhanberg/dependabot/hex/ex_doc-0.21.1
...
Bump ex_doc from 0.21.0 to 0.21.1
2019-07-22 07:32:05 -04:00
dependabot-preview[bot]
46d02646de
Bump ex_doc from 0.21.0 to 0.21.1
...
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc ) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases )
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.21.0...v0.21.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-22 11:11:41 +00:00
Mitchell Hanberg
cb1715080f
Merge pull request #4 from mhanberg/dependabot/hex/ecto-3.1.7
...
Bump ecto from 3.1.4 to 3.1.7
2019-07-19 21:11:27 -04:00
dependabot-preview[bot]
e359cdb47c
Bump ecto from 3.1.4 to 3.1.7
...
Bumps [ecto](https://github.com/elixir-ecto/ecto ) from 3.1.4 to 3.1.7.
- [Release notes](https://github.com/elixir-ecto/ecto/releases )
- [Changelog](https://github.com/elixir-ecto/ecto/blob/v3.1.7/CHANGELOG.md )
- [Commits](https://github.com/elixir-ecto/ecto/compare/v3.1.4...v3.1.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-20 00:00:32 +00:00
Mitchell Hanberg
847f2d0ad7
Merge pull request #1 from mhanberg/dependabot/hex/phoenix-1.4.9
...
Bump phoenix from 1.4.3 to 1.4.9
2019-07-19 19:59:05 -04:00
Mitchell Hanberg
1595a59dc0
Merge pull request #6 from mhanberg/dependabot/hex/ex_doc-0.21.0
...
Bump ex_doc from 0.20.2 to 0.21.0
2019-07-18 07:47:12 -04:00
dependabot-preview[bot]
9e0a31df25
Bump ex_doc from 0.20.2 to 0.21.0
...
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc ) from 0.20.2 to 0.21.0.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases )
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.20.2...v0.21.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-17 11:35:41 +00:00
dependabot-preview[bot]
51c9a674fe
Bump phoenix from 1.4.3 to 1.4.9
...
Bumps [phoenix](https://github.com/phoenixframework/phoenix ) from 1.4.3 to 1.4.9.
- [Release notes](https://github.com/phoenixframework/phoenix/releases )
- [Changelog](https://github.com/phoenixframework/phoenix/blob/v1.4.9/CHANGELOG.md )
- [Commits](https://github.com/phoenixframework/phoenix/compare/v1.4.3...v1.4.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-12 19:49:18 +00:00
Mitchell Hanberg
e085c408f1
Merge pull request #2 from mhanberg/dependabot/hex/phoenix_html-2.13.3
...
Bump phoenix_html from 2.13.2 to 2.13.3
2019-07-12 15:47:45 -04:00
Mitchell Hanberg
c91d742ba7
Explicitly import Temple instead of using __MODULE__
2019-07-12 15:46:45 -04:00
Mitchell Hanberg
7ad4b0e941
Rename Temple.htm to Temple.temple
2019-07-08 22:29:41 -04:00
Mitchell Hanberg
006535ec44
Add documentation about the formatter to the README
2019-07-08 20:06:01 -04:00
Mitchell Hanberg
907a64451b
Update name of text_area macro in .formatter.exs
2019-07-07 22:31:09 -04:00
Mitchell Hanberg
d210d3bff5
Extract safe result from hidden fields within inputs_for/4
...
Also switches to using `with` instead of `lexical_scoping` because it is
more idiomatic.
2019-07-07 22:26:32 -04:00
dependabot-preview[bot]
beb5f1f8fa
Bump phoenix_html from 2.13.2 to 2.13.3
...
Bumps [phoenix_html](https://github.com/phoenixframework/phoenix_html ) from 2.13.2 to 2.13.3.
- [Release notes](https://github.com/phoenixframework/phoenix_html/releases )
- [Changelog](https://github.com/phoenixframework/phoenix_html/blob/master/CHANGELOG.md )
- [Commits](https://github.com/phoenixframework/phoenix_html/compare/v2.13.2...v2.13.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 01:36:11 +00:00
Mitchell Hanberg
2929e6c7c3
Remove IO.inspect
2019-07-05 22:36:59 -04:00
Mitchell Hanberg
eabe9cdd9b
Fix collision of Temple.textarea and Phoenix.HTML.Form.textarea
2019-07-04 11:21:54 -04:00
Mitchell Hanberg
af2995a659
Export temple's locals_without_parens
2019-07-04 10:38:51 -04:00
Mitchell Hanberg
4715c77504
Logo
2019-07-04 00:16:37 -04:00
Mitchell Hanberg
8daf85fdb3
Allow defcomponent to work with runtime values for assigns
...
Also allows tags and defcomponents to accept maps in addition to keyword
lists
2019-07-04 00:16:29 -04:00
Mitchell Hanberg
6c8246fe89
Touching up the docs
2019-07-03 22:09:39 -04:00
Mitchell Hanberg
cf0707f8aa
Fix mdn docs
2019-07-03 21:42:30 -04:00
Mitchell Hanberg
03e35f858c
Finishing touches
2019-07-03 20:57:19 -04:00
Mitchell Hanberg
6dece3165f
Add description to mix.exs
2019-07-03 19:52:40 -04:00
Mitchell Hanberg
e949b7751d
Update elixir version for asdf
2019-07-03 19:38:33 -04:00
Mitchell Hanberg
9278f7fb4e
Rename to Temple
2019-07-01 22:48:51 -04:00
Mitchell Hanberg
dbf8dce765
Phoenix generators for layout and html resource
2019-07-01 22:14:32 -04:00
Mitchell Hanberg
05b11b4bf5
Open put_open_tag up to numbers and atoms as well as binaries
2019-07-01 21:58:50 -04:00
Mitchell Hanberg
dd8edc025d
Add wrappe for Phoenix.Form.submit
2019-07-01 00:25:33 -04:00
Mitchell Hanberg
a372a64858
Fix block style phx_link macros
2019-07-01 00:25:13 -04:00
Mitchell Hanberg
fb5147ff97
Improve doc generation
...
- Downloads all the mdn documentation in parallel
- Enables the `--silent` flag for curl
- Aliases the docs mix task to run update_mdn_docs first
2019-06-30 21:59:38 -04:00
Mitchell Hanberg
34203fcb0d
Create LICENSE
2019-06-30 14:45:17 -04:00
Mitchell Hanberg
b387106281
Fill in README
2019-06-30 14:40:29 -04:00
Mitchell Hanberg
52a27c3dc2
Fix phx_link, phx_button block style implementation
2019-06-30 14:28:44 -04:00
Mitchell Hanberg
883f0966ea
Add .travis.yml
2019-06-29 18:33:33 -04:00
Mitchell Hanberg
ee6674f8ca
Engine documentation
2019-06-29 18:14:22 -04:00