Brooke
24c1b7fa06
5.5.1 - textarea and textinput styles override selectors on monolith
2018-06-11 16:56:05 -07:00
Brooke
eb1ff39e52
Merge pull request #71 from NoRedInk/override-sass-styles
...
Override sass styles for TextInput and TextArea
2018-06-11 16:50:46 -07:00
Brooke
f84569ad7d
fix height regression on input
2018-06-11 15:42:25 -07:00
Brooke
f621daa73f
fix height regression
2018-06-11 15:35:45 -07:00
Brooke
5b0fd8290e
fix textarea height
2018-06-11 15:23:25 -07:00
Brooke
9404102758
use override-sass-styles on textarea v3
2018-06-11 15:23:25 -07:00
Brooke
d3c754be16
override sass styles from monolith
2018-06-11 15:23:24 -07:00
Brooke
731e6540b3
add V3 textarea to styleguide and observe weirdness
2018-06-11 15:22:38 -07:00
Luke Westby
38ca396ac8
Updates to TextArea ( #70 )
...
* update textarea js code and make it npm-ready
* use an attribute instead so dom debugging is easier
* use data- attribute to be I D I O M A T I C
* version the custom element
* include marica's resize logic improvements
* changes to elm module
* clean up styleguide build and use v3 in styleguide
2018-06-11 11:08:49 -07:00
Jasper Woudenberg
15adb4bd2a
5.5.0
2018-05-31 15:13:05 -07:00
Jasper Woudenberg
67c7bc42df
Merge pull request #67 from NoRedInk/add-textarea-v3-and-textinput-v3
...
Add textarea v3 and textinput v3
2018-05-31 15:12:25 -07:00
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