Commit Graph

55 Commits

Author SHA1 Message Date
Tessa Kelly
319c37caf4 Remove final dependence on Nri.Accessibility
Note: breaking API change. Better to keep the useless bool around..?
2018-03-16 16:53:43 -07:00
Tessa Kelly
ccb873e9be 💀 kill unused attribute 2018-03-16 16:47:31 -07:00
Tessa Kelly
ca240968f0 🎨 clean up uses of TextIntput.view_ 2018-03-16 16:45:24 -07:00
Tessa Kelly
15a3cb407f Replace the invisible label class with accessible html use 2018-03-16 16:44:23 -07:00
Tessa Kelly
e05c353980 Remove dependency on Nri.Accessibility from the inputs 2018-03-16 16:41:34 -07:00
Tessa Kelly
38eaee2eb2 Adds colors modules 2018-03-16 16:24:09 -07:00
Tessa Kelly
186a19e7f4 Adds user generated font style 2018-03-16 16:24:09 -07:00
Tessa Kelly
f87f3ae482 Copy over fonts from nri-elm-css 2018-03-16 16:18:18 -07:00
Jasper Woudenberg
614eb87070 Tweak styles for the CCS textarea 2018-03-13 10:18:44 +01:00
Jasper Woudenberg
cf2dec09fd Add text area for content creation
The styling used for this textarea is not quite the same as the one of
the default or writing textareas currently in use.
2018-03-13 10:08:07 +01:00
Jasper Woudenberg
f19903e3d3
Merge pull request #5 from NoRedInk/update-textarea
Update textarea
2018-03-12 20:04:18 +01:00
Tessa Kelly
75591e564c Adds whitespace preline 2018-03-08 11:29:34 -08:00
Tessa Kelly
c50081d7c5 Adds margin styles 2018-03-08 11:29:17 -08:00
Tessa Kelly
5b6de0fb53 Add styles 2018-03-07 14:27:50 -08:00
Tessa Kelly
c2e0afd10f Adds empty version of medium and small body text helpers for user-generated text 2018-03-07 14:20:56 -08:00
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