Commit graph

166 commits

Author SHA1 Message Date
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
Mitchell Hanberg
1cb522d440 Wrap Phoenix.HTML.Link module 2019-06-29 18:14:05 -04:00
Mitchell Hanberg
6b55fc7665 Implement remaining from helpers 2019-06-01 00:02:49 -04:00
Mitchell Hanberg
3a435b1727 Move form tests to the proper test file 2019-05-11 23:30:16 -04:00
Mitchell Hanberg
c4ebf81b6b Move component tests to the proper test file 2019-05-11 23:28:26 -04:00
Mitchell Hanberg
4cdc0de71b extract test component module to a support file 2019-05-11 23:25:57 -04:00
Mitchell Hanberg
6161d31614 Form module documentation 2019-05-11 23:11:07 -04:00
Mitchell Hanberg
72cd90cef3 Utils tests 2019-05-11 23:10:55 -04:00
Mitchell Hanberg
f4dd5d70d7 Tags module documentation 2019-05-11 22:48:33 -04:00
Mitchell Hanberg
c80a858b48 Extra non-tags macros to Dsl module 2019-05-11 12:49:34 -04:00
Mitchell Hanberg
71e6c91c8f Extract Form module and rename Html module to Tags 2019-05-10 15:56:09 -04:00
Mitchell Hanberg
80fadb1b15 Documentation for partial/1 2019-05-10 15:28:13 -04:00
Mitchell Hanberg
02e9971ef5 Don't generate math macro 2019-05-10 15:27:59 -04:00
Mitchell Hanberg
c8eb8d48d4 Remove javascript macro
Javascript should be written like so

```
script """
console.log("hi");
"""
```
2019-05-10 15:13:57 -04:00
Mitchell Hanberg
15ac084aed text/1 docs 2019-05-10 15:13:04 -04:00
Mitchell Hanberg
06cbdd80ff form_for and text_input macros 2019-05-10 15:06:03 -04:00
Mitchell Hanberg
083ff0682e Don't create an svg macro 2019-05-10 15:04:40 -04:00
Mitchell Hanberg
6703eced60 Remove unneeded config 2019-05-10 15:04:24 -04:00
Mitchell Hanberg
f65b11362c Extra util functions to their own module 2019-05-08 22:26:19 -04:00
Mitchell Hanberg
db17577bb5 Document void and nonvoid element macros
The mix task will fetch the element documentation from MDN for each
element and include that in the documentation.

The main documentation for these macros will be in the moduledoc
2019-05-08 22:09:14 -04:00
Mitchell Hanberg
83b99d8a8a Document htm macro 2019-05-08 22:07:23 -04:00
Mitchell Hanberg
b62ad6fd97 Install ex_docs 2019-05-08 22:06:44 -04:00
Mitchell Hanberg
3325fdb67d Remove comments from config file 2019-05-08 22:05:31 -04:00
Mitchell Hanberg
7bc4531c03 Ignore tmp dir 2019-05-08 22:05:08 -04:00