Brooke
e3b77f1bc1
remove styleless CopyToClipboard class
2018-08-21 16:33:27 -07:00
Brooke
e23f8f8e82
compiles but it isnt pretty
2018-08-21 16:33:27 -07:00
Brooke
cfb9cc4353
add button v3 with html styled
2018-08-21 16:33:27 -07:00
Aaron VonderHaar
c2f8b15354
Document Nri.Ui.Checkbox.V3.Assets
2018-08-21 11:48:02 -07:00
Aaron VonderHaar
6fe447decf
Add Nri.Ui.Checkbox.V3.selectedFromBool convenience function
2018-08-21 11:38:31 -07:00
Tessa Kelly
901f2bf171
:bowtie: make the checkmark the right width
2018-08-16 18:17:07 -07:00
Tessa Kelly
4de50e4533
:bowtie: adjust the icon size down to 20px
2018-08-16 18:10:00 -07:00
Tessa Kelly
c2ff2afd15
✏️ Use Nri.Ui.styled data attribute helpers
2018-08-16 18:10:00 -07:00
Tessa Kelly
5a43d7ef67
Add Muli style
2018-08-16 18:10:00 -07:00
Tessa Kelly
476e079990
Fix font color for the error
2018-08-16 18:10:00 -07:00
Tessa Kelly
3f493c69df
Style per-icon
2018-08-16 18:10:00 -07:00
Tessa Kelly
4e10136d13
Switch to svg approach for the exclamation marks
2018-08-16 18:10:00 -07:00
Tessa Kelly
18700fb29a
Fix the positioning of the icons
2018-08-16 18:10:00 -07:00
Tessa Kelly
8c96f60159
🎨 color and then content in the helper apis
2018-08-16 18:10:00 -07:00
Tessa Kelly
909aa684c6
Nri.Ui.Colors.V1 -> Colors._
2018-08-16 18:10:00 -07:00
Tessa Kelly
d0478d95c1
🎨 simplify alert helper api
2018-08-16 18:10:00 -07:00
Tessa Kelly
62ca2290f8
🎨 inline the alert styles
2018-08-16 18:10:00 -07:00
Tessa Kelly
7173a703eb
🎨 put the font and color styles with the content
2018-08-16 18:10:00 -07:00
Tessa Kelly
51cefe942b
🎨 pull out alert content and icon helpers
2018-08-16 18:10:00 -07:00
Tessa Kelly
5d42bb1db6
🎨 tidy up the backgorund styles
2018-08-16 18:10:00 -07:00
Tessa Kelly
ee35307959
Put the image in a div, not an after
2018-08-16 18:10:00 -07:00
Tessa Kelly
4b5489a332
Adds assets
2018-08-16 18:10:00 -07:00
Tessa Kelly
6e6f91ea38
Remove viewResult helper
2018-08-16 18:10:00 -07:00
Tessa Kelly
4de4efed55
🎨 inlinify the inline styles
2018-08-16 18:10:00 -07:00
Tessa Kelly
ab40b55b45
COnvert to Html.Styled
2018-08-16 18:10:00 -07:00
Tessa Kelly
c42671c02a
Adds V2 (straight copy paste of V1)
2018-08-16 18:10:00 -07:00
James Gary
82ca7143f3
Merge pull request #96 from NoRedInk/ink-james--add-pen-icon
...
Add pen icon
2018-08-16 09:39:46 -07:00
Juan Edi
a9c270f288
Add support for keychain svg icon
2018-08-16 12:34:58 -03:00
James Gary
78c62bbfb9
Add pen icon
2018-08-13 14:41:09 -07:00
Richard Feldman
c1f0887ad3
Cache the prefix and styles on Nri.Ui.styled
...
See https://github.com/rtfeldman/elm-css/pull/456
2018-07-31 12:08:40 -04:00
Brooke
5e253a142c
Revert "Merge pull request #90 from NoRedInk/textarea-blast-from-the-past"
...
This reverts commit 35e69922f5
, reversing
changes made to e0770169ed
.
2018-07-27 12:40:59 -07:00
Stoeffel
69dddcef4b
fix docs
2018-07-27 08:47:53 +02:00
Stoeffel
649746369b
convert DisclosureIndicator to Html.Styled
2018-07-27 08:26:48 +02:00
Stoeffel
a2094f3f6e
adds disclosure indicator
2018-07-27 08:26:48 +02:00
Brooke
87c620568e
textarea uses defaultValue again
2018-07-24 14:15:21 -07:00
Brooke
d7792e1f11
the to do is now a new to do
2018-07-11 17:18:54 -07:00
Brooke
2574430eeb
remove customView from Select api
2018-07-11 17:11:56 -07:00
Brooke
a29b95e0ed
add Select V3
2018-07-10 17:50:39 -07:00
Tessa Kelly
abde09a461
Update class names
2018-06-27 12:14:29 -07:00
Tessa Kelly
7dae282ae0
LockOnInside -> Locked
2018-06-26 09:36:43 -07:00
Tessa Kelly
abef87447e
Opacify just the checkbox image and not the whole line
2018-06-25 17:48:23 -07:00
Tessa Kelly
84a26bff31
Change the background image of the checkbox to be on a before
2018-06-25 17:44:11 -07:00
Tessa Kelly
e97c64cae8
Punt on the SVG icon thing -- these icons didn't go through the build_icons script nicely
2018-06-25 10:54:24 -07:00
Tessa Kelly
3a80a27ee4
Add student assignment actions sectoin
2018-06-22 17:29:18 -07:00
Tessa Kelly
49039b1855
expose assignment start accessors
2018-06-22 11:03:42 -07:00
Tessa Kelly
00a2e94656
Add new icon version
2018-06-22 11:00:34 -07:00
Tessa Kelly
6095ad6a3b
🎨 condense padding styles
2018-06-20 12:57:57 -07:00
Tessa Kelly
661251f4d8
Add helpers for the shared styles
2018-06-20 12:56:56 -07:00
Tessa Kelly
d72aaca767
Pass through the checkbox icon in
2018-06-20 12:51:50 -07:00
Tessa Kelly
20f5afb0ec
Remove premium theme -- this is mostly about the logic for when to show the flag off to the right, and now the PremiumCheckbox module handles that
2018-06-20 10:56:48 -07:00
Tessa Kelly
534fade431
Kill the color theme
2018-06-20 10:52:02 -07:00
Tessa Kelly
7c64660549
Opacify the disabled checkboxes
2018-06-20 10:50:12 -07:00
Tessa Kelly
de58de8734
🎨 avoid overwriting themes
2018-06-20 10:48:46 -07:00
Tessa Kelly
24f8d71c24
🎨 begin refactoring the square styles
2018-06-20 10:47:55 -07:00
Tessa Kelly
26e8c67834
🎨 pull out the other label styles helpers
2018-06-20 10:45:54 -07:00
Tessa Kelly
40391a3e43
Add the premium flag (and put it in line with its checkbox)
2018-06-20 10:37:02 -07:00
Tessa Kelly
e74646e9b5
Remove minheight that messed up the text alignment
2018-06-20 10:31:04 -07:00
Tessa Kelly
1451f84913
Elm-format v 0.7.0-exp
2018-06-20 10:20:41 -07:00
Jasper Woudenberg
88b6020a9a
Handle some Elm compilation warnings
2018-06-20 15:38:45 +01:00
Tessa Kelly
a01eeb9df8
💀 clean up the assets required
2018-06-19 18:25:15 -07:00
Tessa Kelly
74b1ec9eeb
Keep the premium flag around
2018-06-19 18:22:46 -07:00
Tessa Kelly
2c4169a334
Extract the premium chekcbox functionality
2018-06-19 17:58:10 -07:00
Tessa Kelly
d34e29f84f
💀 based on the styleguide and on the monolith, looks like we're also not really using the Locked theme, just locked on the inside
2018-06-19 17:43:03 -07:00
Tessa Kelly
83575dd29a
💀 kill unecessary redirection
2018-06-19 17:34:32 -07:00
Tessa Kelly
8857c001f9
💀 I didn't find any uses of the Unlockable theme (used to be a key icon in the checkbox) in the monolith so killing this. if people need it, this is the commit to copy paste from
2018-06-19 17:33:28 -07:00
Tessa Kelly
3f9a6669e7
Show the premium icon as opacified when the checkbox is disabled
2018-06-19 17:15:06 -07:00
Tessa Kelly
8c3c39a999
fixup! Move round 'checkbox' functionality out
2018-06-19 17:01:37 -07:00
Tessa Kelly
714b530370
Kill the orange color
2018-06-19 16:59:31 -07:00
Tessa Kelly
0ad139b148
Move round 'checkbox' functionality out
2018-06-19 16:52:41 -07:00
Tessa Kelly
cecc8b3e15
Merge remote-tracking branch 'origin/master' into ink__update-checkbox
2018-06-19 16:24:11 -07:00
Luke Westby
ff71cdf158
add aria-invalid attr to inputs ( #75 )
2018-06-18 16:44:25 -07:00
Tessa Kelly
55da9bd11a
💀 kill stylesheet
2018-06-15 12:01:19 -07:00
Tessa Kelly
78eb234ab2
This checkbox is super specific. simplify the api
2018-06-15 11:58:35 -07:00
Tessa Kelly
de07e1d3c8
Remove unnessary configuration
2018-06-15 11:55:11 -07:00
Tessa Kelly
bd24852b1e
Be sure to disable the cursor when the input is disabled
2018-06-15 11:54:00 -07:00
Tessa Kelly
58908f0bd1
Avoid descendant selector styling
2018-06-15 11:52:38 -07:00
Tessa Kelly
9a134edcd4
Inlineify premium styles
2018-06-15 11:45:52 -07:00
Tessa Kelly
9704ad59cf
Inline unlockable styles
2018-06-15 11:44:44 -07:00
Tessa Kelly
dd10cd6b5b
Inlineify the lock on inside styles
2018-06-15 11:43:50 -07:00
Tessa Kelly
2e20c18346
Inlineify the locked styles
2018-06-15 11:42:42 -07:00
Tessa Kelly
dcf3b07669
Move the opacity styles inline
2018-06-15 11:41:17 -07:00
Tessa Kelly
c20caf4980
Reorder for clarity
2018-06-15 11:36:41 -07:00
Tessa Kelly
fbfccc5c49
Kill checkbox styles (the checkbox is hidden anyway)
2018-06-15 11:35:17 -07:00
Tessa Kelly
8739188cd9
🎨 remove reidrection -- if we want to use the indeterminate styles let's do that
2018-06-15 11:33:17 -07:00
Tessa Kelly
23abc65573
Making a call here -- we only use the pulsing for topic sentences, and that ui is probs going to change. long term this api should be nice and the pusling is not helping
2018-06-15 11:32:01 -07:00
Tessa Kelly
e96f69a025
Use the named values for selection
2018-06-15 11:27:42 -07:00
Tessa Kelly
aaf993a5bf
Pull up the invisible label behavior higher
2018-06-15 11:17:11 -07:00
Tessa Kelly
8a1442c105
Kill exported styles
2018-06-15 11:13:47 -07:00
Tessa Kelly
bef2006bc2
Pull up the square color themes
2018-06-15 11:01:27 -07:00
Tessa Kelly
f2531b0a2f
Pull the assets up out of the sytesl
2018-06-15 10:54:38 -07:00
Tessa Kelly
43b5ab74a3
Pull the labelstyles inline
2018-06-15 09:58:33 -07:00
Tessa Kelly
b0820f52b4
Fork at the theme level
2018-06-15 09:55:19 -07:00
Tessa Kelly
8751820df1
Introduce config for a new checkbox helper
2018-06-15 09:51:40 -07:00
Tessa Kelly
0755e5cbb4
Return Html>styled from the helpers that use buildCheckbox
2018-06-15 09:51:24 -07:00
Tessa Kelly
9558de8b94
buildCheckbox returns Html.Styled
2018-06-15 09:33:14 -07:00
Tessa Kelly
6f7be4edc0
🎨 move toward forking a little bit higher in advance of moving the styles
2018-06-15 09:19:07 -07:00
Tessa Kelly
3248a71007
Convert the label helper (minus styles)
2018-06-15 09:07:50 -07:00
Tessa Kelly
fed092acea
Adds Html.Styled version of html extras
2018-06-15 09:07:35 -07:00
Tessa Kelly
06651d8292
Add V2 of html extra attributes'
2018-06-15 09:02:45 -07:00
Tessa Kelly
6a7c6c2f02
Pull out and begin converting the label to the new pattern
2018-06-15 08:44:33 -07:00
Tessa Kelly
b50f566443
Pull out the styles from the stylesheet
2018-06-15 08:35:08 -07:00
Tessa Kelly
2a1eeb5522
Alias Html as RootHtml
2018-06-14 18:21:46 -07:00
Tessa Kelly
ee26d4d62b
Reorder for my own understanding
2018-06-14 18:19:52 -07:00
Tessa Kelly
994b058bb6
Add new version of the checkbox
2018-06-14 18:15:04 -07:00
Stoeffel
88821f4230
render markdown in button labels
2018-06-12 11:24:05 -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
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
Brooke
b341193678
expose TextArea.V3 and TextInput.V3
2018-05-31 15:07:15 -07:00
Brooke
179f9d3054
use new elm-css in (NEW) TextArea.V3
2018-05-31 15:02:38 -07:00
Brooke
fe0466d3f4
use new elm-css for TextInput V3
2018-05-31 14:43:24 -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
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
1cf95c84d9
always center writing input
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
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
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
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
Marica Odagaki
e680662c71
TextArea.V2: adds ability to specify the minimum height
2018-05-17 17:25:17 -07:00
Jasper Woudenberg
15c398502b
Add missing doc comment
2018-05-17 12:18:52 +02:00
Jasper Woudenberg
49fbba3650
Merge branch 'master' into add-custom-button
2018-05-17 09:52:50 +02:00
Jasper Woudenberg
93f101abaf
Merge branch 'master' into ink--upgrade-text
2018-05-17 08:38:47 +02:00
Tessa Kelly
3253e3466d
Add V2 of Nri.Ui.Text using Html.Styled
2018-05-16 17:09:17 -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
4d1e1351f1
add customButton which accepts attributes
2018-05-12 13:59:05 +02:00
James Gary
37c4d95bc3
Add mastery badge icon
2018-05-11 13:39:15 -07:00
Tereza Sokol
a4c3992123
... Foolish mistake corrected
...
SPAs don't use the url...........
2018-05-11 11:44:42 +02:00
Tereza Sokol
5e685cf2f9
Add link spa to icon module
2018-05-10 17:46:40 +02:00
Jasper Woudenberg
8276fc22fa
Remove some superfluous styling
2018-05-03 14:34:37 +02:00
Jasper Woudenberg
fa34fd7bd4
Pull in new changes from the monolith
...
Also add a `noPermission` page.
2018-05-03 14:32:26 +02:00
Jasper Woudenberg
d6a10d1ed4
Merge branch 'master' into extract-nri-page
2018-05-03 14:19:22 +02:00
Jasper Woudenberg
44c58c2bc0
Merge branch 'master' into table-v2
2018-05-03 09:39:18 +02:00
Jasper Woudenberg
5d5ef7f5d4
Add note on upgrading from Nri.Ui.Table.V1
2018-05-03 09:36:57 +02:00
Jasper Woudenberg
243cae984a
💀 Remove dead code
2018-05-03 09:24:42 +02:00