Commit Graph

132 Commits

Author SHA1 Message Date
Matthew Griffith
8e88631245 Merge branch 'master' of https://github.com/mdgriffith/elm-ui 2019-07-01 20:46:25 -04:00
Matthew Griffith
c83275e299 webcomponent scaffold 2019-07-01 20:45:08 -04:00
Matthew Griffith
59d31e11a0 micro-benchmarks 2019-07-01 20:44:01 -04:00
Matthew Griffith
a2a4b32814 run benchmark for all implentations 2019-06-29 21:04:53 -04:00
Matthew Griffith
2f910a8b2b add inline styles and html exampels to basic benchmark 2019-06-29 20:45:20 -04:00
Matthew Griffith
1e7336e702 remove comments from generated stylesheet. resolves #66. Set inline one level deeper on elements in paragraphs. Resolves #50 2019-06-29 18:43:48 -04:00
Matthew Griffith
b95ab17bcd resolves #77, resolves #42 widths and heights with bounds on them should now prevent other widths/heights from being set. 2019-06-29 17:30:21 -04:00
Matthew Griffith
ada7de456e resolves #115 2019-06-29 14:26:25 -04:00
Matthew Griffith
9768fbcc80 git rid of markdown lint warning or something. 2019-06-29 14:09:41 -04:00
Matthew Griffith
20f721a3dc Expand on Input documentation. 2019-06-29 14:09:21 -04:00
Matthew Griffith
cdc4f7063f add Rendering Benchmark Suite 2019-06-29 10:47:46 -04:00
Matthew Griffith
e288034c1d input cleanup 2019-06-21 19:04:29 -04:00
Matthew Griffith
2b3a972d5f remove blur from focus style 2019-06-21 18:44:42 -04:00
Matthew Griffith
86cedfede6 use focus-within for text areas 2019-06-21 18:31:30 -04:00
Matthew Griffith
df6faefa86 typo 2019-06-21 18:30:23 -04:00
Matthew Griffith
6d40474452 nearby Element.none now skips the attribute entirely. 2019-06-21 13:30:52 -04:00
Matthew Griffith
0d1005b3b0 add wrapper to attribute redistribution for text inputs 2019-06-20 08:32:33 -04:00
Matthew Griffith
41bbf88456 height full should affect the parent for multiline input 2019-06-19 20:22:45 -04:00
Matthew Griffith
bd54d22b6a multiline text should always be pre-wrap 2019-06-19 20:00:33 -04:00
Matthew Griffith
5e279d8161 reimplement text input. resolves #5, resolves #95 2019-06-19 09:17:01 -04:00
Matthew Griffith
94ce612c39 Multiline Input case 2019-06-16 12:42:38 -04:00
Matthew Griffith
a88b5fca75 copy-edit 2019-06-15 09:05:56 -04:00
Matthew Griffith
8ea6700239 Doc note that angles are given in radians, resolves #33 2019-06-15 08:45:14 -04:00
Matthew Griffith
1bcc71766c headless link 2019-06-14 08:31:35 -04:00
Matthew Griffith
ec18cb0c5a copy correction 2019-06-13 21:49:44 -04:00
Matthew Griffith
3f91cb6437 add Contributing.md 2019-06-13 21:45:43 -04:00
Matthew Griffith
87bf0aebb3 research docs/projects 2019-06-13 21:42:24 -04:00
Matthew Griffith
948524c3bc typo in issue template 2019-06-12 22:15:38 -04:00
Matthew Griffith
b9b822b159 resolves #44, #82 2019-06-12 22:01:36 -04:00
Matthew Griffith
d9ab9b1afd add link to elm slack and elm-conf talk 2019-06-12 20:01:41 -04:00
Matthew Griffith
0b5ee21646 Merge branch 'master' of https://github.com/mdgriffith/elm-ui 2019-06-12 19:53:32 -04:00
Matthew Griffith
9db6dd0028
Merge pull request #117 from bburdette/multiline-value
add 'value' attrib with text for multiline.
2019-06-12 19:53:20 -04:00
Matthew Griffith
8237e65ef6 remove getViewport example code in docs 2019-06-12 19:49:23 -04:00
Matthew Griffith
28aa3e1c86 fix classify device docs 2019-06-12 19:45:54 -04:00
Matthew Griffith
6ddc0abc93
Merge pull request #109 from roSievers/patch-1
Fix classpath of Element.modular in documentation
2019-06-12 19:38:41 -04:00
Matthew Griffith
b65a490c23
Merge pull request #91 from RosarioPulella/master
Make classifyDevice's DeviceClass based on the shorter side of the window.
2019-06-12 19:35:35 -04:00
Matthew Griffith
28cc86a950
Merge pull request #89 from cwhy/patch-1
Fixed the documentation about centering
2019-06-12 19:29:42 -04:00
Matthew Griffith
6be08d1c10
Merge pull request #105 from roberto/font-align-note
Add note about text alignment to `Element` alignment section
2019-06-12 19:28:53 -04:00
Matthew Griffith
06be0169f1
Merge pull request #94 from ollef/edge-case
Change the order of text input type and value attributes
2019-06-12 19:24:04 -04:00
Matthew Griffith
45b7435168 typos 2019-06-12 19:20:00 -04:00
Ben Burdette
561e554048 add 'value' attrib with text for multiline. 2019-06-03 09:39:04 -06:00
Rolf Kreibaum
189ab65980
Fix classpath of Element.modular in documentation 2019-05-12 08:40:02 +02:00
Roberto Soares
8240cc281a Add note about text alignment to Element alignment section
Trying to reduce confusion between elements and text alignment.
2019-05-02 14:50:15 -03:00
Matthew Griffith
7ef9985b1a
Merge pull request #92 from buinauskas/master
Spelling mistake in documentation
2019-03-20 09:40:35 +00:00
Matthew Griffith
86a2a97ca3
Merge pull request #74 from adeschamps/typo-fix
Fix a small docs typo.
2019-03-20 09:39:44 +00:00
Olle Fredriksson
4f493a2700 Change the order of text input type and value attributes
This works around a rather obscure bug in Microsoft Edge.

Basically, I want to use an input with type date (knowing well that
not every browser implements it), so I use:

```elm
Element.Input.text [ htmlAttribute <| Html.Attributes.type_ "date" ]
```

This works well in most browsers, but it seems to trigger a weird edge
case bug in Microsoft Edge where it renders the date text _twice_, first
in ISO8601, then in the normal way it renders dates in inputs with type
date. So the text box contains both the texts "2019-03-08" and
"3/8/2019".

After quite a lot of experimentation, I found out that switching the
order of these two attributes fixes the problem. I can only speculate as
to why, but whatever it is it seems like it should be benign change to
make.
2019-03-08 10:46:42 +01:00
Evaldas Buinauskas
28652cfde8 Spelling mistake in documentation 2019-02-09 21:32:08 +02:00
Rosario Pulella
cf86ea8ab7 Formating. 2019-02-04 21:53:28 -05:00
Rosario Pulella
f61850e90d Change classifyDevice function to support rotated devices. 2019-02-04 21:45:23 -05:00
Chen Yu
d866a7e20c
Fixed the documentation about centering 2019-01-29 12:04:28 +08:00