Commit Graph

617 Commits

Author SHA1 Message Date
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
Jasper Woudenberg
5c203314c6
Merge pull request #57 from NoRedInk/add-custom-button
Add custom button
2018-05-17 09:54:59 +02:00
Jasper Woudenberg
49fbba3650
Merge branch 'master' into add-custom-button 2018-05-17 09:52:50 +02:00
Jasper Woudenberg
a0f2b169de
Merge pull request #59 from NoRedInk/ink--upgrade-text
Add V2 of Nri.Ui.Text using Html.Styled
2018-05-17 09:45:18 +02:00
Jasper Woudenberg
a2a71e1d1a
Merge branch 'master' into ink--upgrade-text 2018-05-17 09:41:55 +02:00
Jasper Woudenberg
93f101abaf
Merge branch 'master' into ink--upgrade-text 2018-05-17 08:38:47 +02:00
James Gary
4d3c7564bb
Merge pull request #58 from NoRedInk/ink-james--add-mastery-badge-icon
Add mastery badge icon and increase table contrast
2018-05-16 19:10:34 -07:00
Tessa Kelly
3253e3466d Add V2 of Nri.Ui.Text using Html.Styled 2018-05-16 17:09:17 -07:00
James Gary
e89d96e2a9 Add mastery badge icon svg 2018-05-16 16:27:17 -07:00
James Gary
e443ddb7a9 Merge branch 'master' of github.com:NoRedInk/noredink-ui into ink-james--add-mastery-badge-icon 2018-05-15 12:11:51 -07:00
James Gary
c6ec4a8dd1 Increase contrast of table text color
- See https://app.zeplin.io/project/5973fb495395bdc871ebb055/screen/597bbea5823b053d617f725e?did=5af9ed2a7b0cf6c245a076e5&cmid=5af9ed2a7b0cf6c245a076e6
2018-05-15 12:05:40 -07:00
Michael Glass
a031422c11
Merge pull request #56 from NoRedInk/move-to-lfs
move styleguide images to lfs
2018-05-12 15:47:34 +02:00
Michael Glass
4d1e1351f1
add customButton which accepts attributes 2018-05-12 13:59:05 +02:00
Michael Glass
6132797f8c
move styleguide images to lfs 2018-05-12 13:50:01 +02:00
James Gary
37c4d95bc3 Add mastery badge icon 2018-05-11 13:39:15 -07:00
Tereza Sokol
9ef7e35000
Merge pull request #55 from NoRedInk/terezka-patch-1
... Foolish mistake corrected
2018-05-11 12:35:39 +02:00
Tereza Sokol
a4c3992123
... Foolish mistake corrected
SPAs don't use the url...........
2018-05-11 11:44:42 +02:00
Tereza Sokol
4bef7b6b81
Merge pull request #54 from NoRedInk/add-icon-link-spa
Add link spa to icon module
2018-05-10 18:51:24 +02:00
Tereza Sokol
5e685cf2f9 Add link spa to icon module 2018-05-10 17:46:40 +02:00
Jasper Woudenberg
1d9c090f83
Merge pull request #50 from NoRedInk/add-icons-to-styleguide
Add icons to styleguide application
2018-05-04 19:54:18 +02:00