Commit Graph

106 Commits

Author SHA1 Message Date
Brooke
b1a9452dac update Select filename in styleguide 2018-07-10 17:56:20 -07:00
Brooke
356da2aaf8 dont import Select V2 styles for styleguide app 2018-07-10 17:55:10 -07:00
Brooke
a29b95e0ed add Select V3 2018-07-10 17:50:39 -07:00
Tessa Kelly
7dae282ae0 LockOnInside -> Locked 2018-06-26 09:36:43 -07:00
Tessa Kelly
dd88c76330 Revert "Run build script"
This reverts commit f37ae362a9.
2018-06-25 10:54:31 -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
f37ae362a9 Run build script 2018-06-22 17:29:30 -07:00
Tessa Kelly
3a80a27ee4 Add student assignment actions sectoin 2018-06-22 17:29:18 -07:00
Tessa Kelly
a0758ba6a9 Add secondary button 2018-06-22 11:01:54 -07:00
Tessa Kelly
74c5bacfa6 Add start button svg 2018-06-22 11:01:25 -07:00
Tessa Kelly
afe0e046eb Expose and use the new Icon module 2018-06-22 11:00:34 -07:00
Tessa Kelly
5cb8d4ceff Use Text module for nicer headings
:
2018-06-22 11:00:34 -07:00
Tessa Kelly
0cc0b37509 Update the Icons in the styleguide 2018-06-22 11:00:34 -07:00
Tessa Kelly
264a093a6f Merge remote-tracking branch 'origin/master' into ink__update-checkbox 2018-06-22 09:22:02 -07:00
Jasper Woudenberg
56685a3019 Use new heading modules over standard h\d elements
The inclusion of reset.css file nuked the default browser styles for
headers. This change sees us using custom styled headers instead to
bring structure back to the styleguide pages.
2018-06-22 10:41:38 +01:00
Jasper Woudenberg
51e79158a8 Add modules for headings in the styleguide
The CSS reset removed default browser styles for h1, h2, h3, etc elements,
resulting in a pretty weird looking styleguide. This adds modules for headings,
one version for use with plain Html, the other for use with Html.Styled.
2018-06-22 10:37:43 +01:00
Jasper Woudenberg
21c59355d8 Include css-reset in the styleguide app
A CSS reset is used to ensure designs look the same regardless of the
browser they are displayed in. Including one for the styleguide app will
ensure that we do not rely on any browser base styles for our designs.
2018-06-22 10:30:26 +01:00
Tessa Kelly
0a03d4d0e1 elm-format 0.7.0-exp 2018-06-20 13:15:33 -07:00
Tessa Kelly
534fade431 Kill the color theme 2018-06-20 10:52:02 -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
Jasper Woudenberg
44d78aa962 Remove checkbox example that no longer makes sense 2018-06-20 16:13:08 +01:00
Jasper Woudenberg
257f9d0c06 Add styleguide assets for checkboxes 2018-06-20 16:10:30 +01:00
Jasper Woudenberg
8fb23ec8e4 Add styleguide section for checkboxes 2018-06-20 16:06:11 +01:00
Tessa Kelly
93b499916a Add random checkmark image just to have a checkmark 2018-06-19 17:27:30 -07:00
Tessa Kelly
1d740bf0e5 Fix compilation of the text area 2018-06-19 16:43:17 -07:00
Tessa Kelly
994b058bb6 Add new version of the checkbox 2018-06-14 18:15:04 -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
107b369a66
Merge branch 'master' into add-textarea-v3-and-textinput-v3 2018-05-31 15:10:19 -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
a56dc32d10 Merge branch 'master' into textarea-v2-minimum-height 2018-05-29 14:52:01 -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
745eda419e styleguide shows writing textinput without label and in error 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
35e1473ad4 add text input to styleguide app 2018-05-29 10:52:39 -07: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
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
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
716efba4dd Use TextArea.V2 in styleguide app 2018-05-18 10:17:51 +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
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
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