Brooke
107b369a66
Merge branch 'master' into add-textarea-v3-and-textinput-v3
2018-05-31 15:10:19 -07:00
Brooke
b341193678
expose TextArea.V3 and TextInput.V3
2018-05-31 15:07:15 -07:00
Marica Odagaki
2a2f5e75f3
Merge pull request #64 from NoRedInk/fix-autoresize-textarea-in-styleguide
...
Styleguide app: load custom-elements's native-shim for TextArea.js
2018-05-31 15:02:46 -07:00
Brooke
179f9d3054
use new elm-css in (NEW) TextArea.V3
2018-05-31 15:02:38 -07:00
Marica Odagaki
fdaf3fe55a
Add custom-elements native-shim for TextArea.js
...
see: https://github.com/webcomponents/custom-elements#es5-vs-es2015
source: https://www.jsdelivr.com/package/npm/@webcomponents/custom-elements?version=1.1.1
2018-05-31 13:56:15 -08:00
Brooke
fe0466d3f4
use new elm-css for TextInput V3
2018-05-31 14:43:24 -07:00
Jasper Woudenberg
20c89df778
5.4.0
2018-05-30 17:38:51 -07:00
Jasper Woudenberg
bbd42a44d4
5.3.0
2018-05-30 17:35:41 -07:00
Jasper Woudenberg
3293c24532
Merge pull request #66 from NoRedInk/expose-inputstyles
...
Expose InputStyles
2018-05-30 17:34:55 -07:00
Jasper Woudenberg
af5cdad561
Expose InputStyles module
...
We have some custom input widgets in other code bases that make use of
these styles, hence the need to expose them.
2018-05-30 17:30:58 -07:00
Jasper Woudenberg
6e85f8fc0f
Expose Nri.Ui.InputStyles
2018-05-30 17:22:17 -07:00
Marica Odagaki
1acc5996e8
Merge pull request #63 from NoRedInk/textarea-v2-minimum-height
...
Textarea v2 adding a minimum height
2018-05-30 17:14:47 -07:00
Jasper Woudenberg
b170638ec6
Add back min height for writing text areas
2018-05-30 10:56:03 -07:00
Jasper Woudenberg
a56dc32d10
Merge branch 'master' into textarea-v2-minimum-height
2018-05-29 14:52:01 -07:00
Brooke
347b85577b
Bump to 5.2.0 - add writing style textinput
2018-05-29 11:07:18 -07:00
Brooke
8234b144fd
Merge pull request #65 from NoRedInk/add-writing-style-textinput
...
Add writing style textinput
2018-05-29 11:03:34 -07:00
Jasper Woudenberg
b7a6d9bf5a
Refer to right widget version in documentation
2018-05-29 10:52:39 -07:00
Jasper Woudenberg
aac8229c0a
💀 Remove unused import
2018-05-29 10:52:39 -07:00
Brooke
66ba9c1973
expose Nri.ui.TextInput.V2 to the wild
2018-05-29 10:52:39 -07:00
Brooke
1cf95c84d9
always center writing input
2018-05-29 10:52:39 -07:00
Brooke
745eda419e
styleguide shows writing textinput without label and in error
2018-05-29 10:52:39 -07:00
Brooke
3c4a0fd201
tweak writing styles to work with textarea and textinput
2018-05-29 10:52:39 -07:00
Brooke
22d856ceca
add Nri.Ui.TextInput.V2 with writing style (styling not perfect yet)
2018-05-29 10:52:39 -07:00
Brooke
82b75836d1
fix box-sizing css attribute
2018-05-29 10:52:39 -07:00
Brooke
35e1473ad4
add text input to styleguide app
2018-05-29 10:52:39 -07:00
Tereza Sokol
1070bd684a
Merge pull request #53 from NoRedInk/terezka-set-max-width
...
Add max width on details to improve readability
2018-05-29 10:46:00 -05:00
Tereza Sokol
816904c048
fix trailing blank
2018-05-29 09:30:00 -05:00
Tereza Sokol
de6015eb54
Add max width on details to improve readability
2018-05-29 09:30:00 -05:00
Marica Odagaki
87792bedff
Combine autoResize and minimumHeight into height
...
Writing the changelog drove home the fact that minimumHeight
only makes sense when the textarea is set to auto-resize.
2018-05-23 17:41:49 -08:00
Marica Odagaki
cbb7d9e72c
Explain more of the usecase
2018-05-23 17:41:49 -08:00
Marica Odagaki
6ea8d7829e
Workaround for V2.writing ignoring minimumHeight
2018-05-23 17:41:49 -08:00
Marica Odagaki
e0596c1159
Fix the bug where scrollHeight gets padded if we use auto
2018-05-23 17:41:49 -08:00
Marica Odagaki
03ffe17413
Look at computed min-height before falling back to computed height
...
Now that min-height is specified through an auto-generated class,
it's not available through the element's style attribute.
2018-05-23 17:41:49 -08:00
Marica Odagaki
80695f1cbe
Autoresize textarea upon initialization
2018-05-23 17:41:49 -08:00
Marica Odagaki
942865b140
Make it easier to specifiy the minimumHeight while reducing freedom
...
If we want to allow specifying arbitrary height as the minimum height
in the future, it could be added as `Custom someUnit` in the future.
2018-05-23 17:41:49 -08:00
Marica Odagaki
55acc3e406
Note about V2.writing ignoring minimumHeight
2018-05-23 15:21:55 -08:00
Marica Odagaki
aa3b49ba2b
Remove comment that has been addressed
2018-05-23 14:24:54 -08:00
Jasper Woudenberg
f324bdd59d
Update V2 changelog notes
2018-05-22 12:28:36 +02:00
Jasper Woudenberg
1cd748aeab
Remove use of deprecated elm-css module
2018-05-18 11:23:32 +02:00
Jasper Woudenberg
fee5596960
Fix TextArea example
2018-05-18 11:23:32 +02:00
Jasper Woudenberg
2a77a03efc
Migrate TextArea.V2 to Html.Styled
...
This does not actually migrate the styles themselves yet, it just
changes the Html type of the `TextArea` exposed from the module.
2018-05-18 10:35:31 +02:00
Jasper Woudenberg
c43dca766b
Remove some imports exposing (..)
...
To make it easier to understand where a value is coming from.
Also, we should now be in a better place to replace `Html` in favor of
`Html.Styled`.
2018-05-18 10:26:08 +02:00
Jasper Woudenberg
670563cc83
Expose TextArea.V2 from library
2018-05-18 10:18:04 +02:00
Jasper Woudenberg
716efba4dd
Use TextArea.V2 in styleguide app
2018-05-18 10:17:51 +02:00
Marica Odagaki
e680662c71
TextArea.V2: adds ability to specify the minimum height
2018-05-17 17:25:17 -07:00
Jasper Woudenberg
40d0f9bd7f
Merge pull request #62 from NoRedInk/docs
...
add check for documentation integrity
2018-05-17 17:13:57 +02:00
Brian Hicks
dc41d51a1e
add check for documentation integrity
2018-05-17 08:59:35 -05:00
Jasper Woudenberg
db8d151ddd
5.1.0
...
This looks like a major version bump but isn't. Version 5.0.0 has
already been released, but it looks like an elm-package.json with that
version was never committed.
2018-05-17 12:22:56 +02:00
Jasper Woudenberg
6d7b18c624
Expose Nri.Ui.Text.V2
2018-05-17 12:19:51 +02:00
Jasper Woudenberg
15c398502b
Add missing doc comment
2018-05-17 12:18:52 +02:00