Commit Graph

240 Commits

Author SHA1 Message Date
Jasper Woudenberg
12dd71a68d Merge branch 'master' into update-textarea 2018-03-02 09:45:27 -08:00
Stoeffel
b9c913ec19 rename to Writing and use Html.Styled 2018-03-01 13:37:58 -08:00
Jasper Woudenberg
987a5778ba Expose TextArea styles 2018-02-28 15:51:30 -08:00
Jasper Woudenberg
f6b8cdbceb Merge branch 'quiz-text' into update-textarea 2018-02-28 15:28:07 -08:00
Jasper Woudenberg
f4f24f33e8 Update TextArea to latest state in the monolith 2018-02-28 15:22:09 -08:00
Stoeffel
9c15a068f6 remove unused code 2018-02-28 14:18:40 -08:00
Stoeffel
158b23d392 expose styles 2018-02-28 14:18:32 -08:00
Stoeffel
859164516d adds first quiz text 2018-02-28 14:00:47 -08:00
Jasper Woudenberg
9987d5f738
Merge pull request #2 from NoRedInk/add-styleguide
add mini styleguide for ui components
2018-02-21 15:50:41 +01:00
Richard Feldman
0227c15f29 🎨 elm-format 2018-02-13 13:33:57 -05:00
Richard Feldman
d795923f3b Fix remaining errors 2018-02-13 13:33:57 -05:00
Richard Feldman
3f214618ac Run upgrade.sh 2018-02-13 13:33:34 -05:00
Richard Feldman
7f7735d3ef Rename things to avoid recursive naming 2018-02-13 13:28:00 -05:00
Brooke
0c33c83d73 add mini styleguide for ui components 2018-02-12 13:32:38 -08:00
Brooke
bbcd6e68e6 add Text.smallHeading 2018-02-12 12:10:57 -08:00
Jasper Woudenberg
518d276444 Use namespace unique to this package
To prevent clashes with existing namespaces in the monolith.
2018-02-01 13:52:45 +01:00
Jasper Woudenberg
7d6b499d9f Give version names to exported modules 2018-01-30 15:39:13 +01:00
Jasper Woudenberg
09272a8cd4 Pull all exposed modules on the Nri.Ui namespace
It's perhaps debateable if all these modules belong there, but it makes
sense as a first step, to avoid conflicts once we start importing this
from the monolith.
2018-01-30 15:25:29 +01:00
Jasper Woudenberg
e61c5b9127 Textarea doesn't overflow container
Because the textarea label overflowed its container it was drawn
seemingly closer to the content above it than user-set margins can
account for. This then requires the user to add additional wrappers and
margins to compensate. Drawing the textarea completely within its
enclosing container makes this unnecessary.
2018-01-25 10:23:44 +01:00
Jasper Woudenberg
731e7e0553 Format doodads using the latest elm-format 2018-01-23 11:32:50 +01:00
Jasper Woudenberg
5ef0f5174a Add Nri.Checkbox 2018-01-22 17:20:02 +01:00
Jasper Woudenberg
4431f5f0c4 Allow styles to depend on Assets
This is a necessity to allow doodads to incorporate assets like
background images into their css.

I've tried to make the change as backwards-compatible as possible,
leaving most of the existing funtions alone. The `.css` property on the
returned Styles instance still needs those asset paths though, so this
is still a major update.
2018-01-22 17:16:34 +01:00
Jasper Woudenberg
5d44e2da3f Implement new Outline styling
This doesn't include the entire spec for the new outline styling, just
the part we currently need for content creation outline draggable
creation. The additions to complete the spec look doable in the current
structure though.
2018-01-16 09:23:40 +01:00
Jasper Woudenberg
274c134fa8 Add Nri.Outline doodad 2018-01-09 18:41:28 +01:00
Jasper Woudenberg
f74c8a133f Styling tweaks for text area 2017-12-18 10:54:59 +01:00
Jasper Woudenberg
19385063aa Add back TextAreaWithOverlappingLabel
This code was already published, but not yet pushed to git.
2017-12-15 09:04:48 +01:00
Jasper Woudenberg
0ef860f008 Add Nri.Divider 2017-12-15 09:00:40 +01:00
Hardy Jones
a262a6a0bb Fix Nri.Tabs styles 2017-12-12 22:37:03 -08:00
Hardy Jones
55833118af Add Nri.Tabs 2017-12-12 22:13:32 -08:00
Hardy Jones
9447dfa961 Add missing button styles 2017-12-11 21:24:42 -08:00
Hardy Jones
4f10abf084 Add Nri.Modal 2017-12-08 21:12:21 -08:00
Jasper Woudenberg
dfe92466aa Revert "Remove Nri.Alert"
We do need it now! Getting it back.

This reverts commit 22ad1b3b7e.
2017-12-07 16:38:39 +01:00
Hardy Jones
752f64fb02 Add Nri.TextInput 2017-11-29 19:59:23 -08:00
Hardy Jones
22ad1b3b7e Remove Nri.Alert
We don't need it yet. No need to add code we don't need.
Plus, it's git, so we can always get it back...
2017-11-29 17:47:38 -08:00
Hardy Jones
ffcf90dfea Add Nri.BannerAlert
We're also missing the assets here for the same reason.
2017-11-29 17:47:11 -08:00
Hardy Jones
b3b0d36b05 Add styles
Still missing the assets.

Will have to figure out what to do in general for assets.
The concern is that we try to make assets content addressable
so we can cache them appropriately.
But we haven't done this in a place where we don't also own the assets.
2017-11-29 17:42:25 -08:00
Hardy Jones
71e00223f4 Add Nri.Alert
There's no styling yet.
Instead of styling with Sass, we should use elm-css.
2017-11-29 14:55:46 -08:00
Hardy Jones
f81e100584 Add span to Styles a b c 2017-11-16 20:34:31 -08:00
Hardy Jones
44a357b0da Add Nri.Button 2017-11-16 17:51:28 -08:00
Hardy Jones
8454442233 Add Nri.Text 2017-11-14 17:47:42 -08:00