Commit Graph

324 Commits

Author SHA1 Message Date
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
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
Jasper Woudenberg
75cfeb731b
Merge branch 'master' into add-icons-to-styleguide 2018-05-04 13:51:11 +02:00
Jasper Woudenberg
eec2962006 Only store images in git lfs 2018-05-04 13:44:30 +02:00
Jasper Woudenberg
d169fa4ccf 4.14.0 2018-05-03 14:38:52 +02:00
Jasper Woudenberg
f82e89f50e
Merge pull request #46 from NoRedInk/extract-nri-page
Extract `Nri.Page`
2018-05-03 14:38:06 +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
92d18995ae
Merge pull request #52 from NoRedInk/recurse-styleguide-sources
Make styleguide-app depend on Elm files in src
2018-05-03 11:43:03 +02:00
Jasper Woudenberg
9f4b9b5024
Merge branch 'master' into recurse-styleguide-sources 2018-05-03 11:39:49 +02:00
Jasper Woudenberg
f66803640a 4.13.0 2018-05-03 11:37:29 +02:00
Jasper Woudenberg
bcae1f8d04
Merge pull request #44 from NoRedInk/table-v2
Introduce Nri.Ui.Table.V2
2018-05-03 11:35:55 +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
Marica Odagaki
9c0874b31b Make styleguide-app depend on Elm files in src 2018-05-02 19:47:49 -08:00
Jasper Woudenberg
74b07feb8e Bump 4.12.0 2018-05-02 11:43:07 +02:00
Jasper Woudenberg
0351cea9b2
Merge pull request #51 from NoRedInk/add-button-link-with-tracking
Add Button.linkWithTracking
2018-05-02 11:41:50 +02:00
Jasper Woudenberg
e3e4a0e66f Add Button.linkWithTracking
This function was forgotten as the `Nri.Button` module was extracted.
2018-05-02 11:36:29 +02:00
Michael Glass
dbd0468e2e
bump 4.11.1 2018-05-02 10:54:25 +02:00
Jasper Woudenberg
03c460f80e Add icons to styleguide application 2018-05-02 10:46:44 +02:00
Jasper Woudenberg
8ef0ac241d
Merge pull request #47 from NoRedInk/bump-elm-css-dep
allow for elm-css 14
2018-05-02 08:33:15 +02:00
Michael Glass
c21a6856c2
allow for elm-css 14 2018-05-01 23:31:02 +02:00
Jasper Woudenberg
881139dba9 bump 4.11.0 2018-05-01 19:00:35 +02:00
Jasper Woudenberg
f36952996c
Merge pull request #45 from NoRedInk/extract-nri-button
Extract `Nri.Button`
2018-05-01 18:58:18 +02:00
Jasper Woudenberg
e1fca3dfa7 Add box-sizing: border-box to button containers
In the monolith we inherit this property from a CSS reset, but we cannot
count on that being present in every application using this library, so
also setting this property explicitly.
2018-05-01 17:51:50 +02:00
Jasper Woudenberg
b262a7a108 Horizontally center page content 2018-05-01 17:44:55 +02:00
Jasper Woudenberg
f8bd18a8a0 Add Nri.Ui.Page.V1 to styleguide 2018-05-01 17:34:16 +02:00
Jasper Woudenberg
982fbc6f24 Extract Nri.Page from monolith
This contains premade error pages.
2018-05-01 17:20:57 +02:00
Jasper Woudenberg
181697d8bb Reinstitute padding for loading styles
The table loading styles require the paddings that are removed for the
general table case. That's okay: the table loading styles do not support
putting custom content in cells, and so the option of setting custom
paddings for content will not be missed.
2018-04-30 15:07:22 +02:00
Jasper Woudenberg
66c079f3cc Vertically align content in table cells by default
The previous removal of default table cell padding makes the default
alignment in content look weird. Adding a vertical alignment property
fixes this.

We previously removed the default padding because it did not play nice
with designs requiring less padding. Does the addition of vertical
alignment create a similar problem? I'd argue now. Padding cannot be
easily countered. Vertical alignment can easily be countered by
embedding div's in the cells with custom styling.
2018-04-30 14:08:04 +02:00
Jasper Woudenberg
6b9e35071b Remove default cell padding
We've run into a situation in CCS where the default padding added to
cells are to large. Considering it is much harder to remove a padding
from the outside then it is to add one, this commit removes the default
cell padding for tables.
2018-04-30 13:58:54 +02:00
Jasper Woudenberg
81fa1b0bc6 Update classnames for V2 2018-04-30 13:56:56 +02:00
Jasper Woudenberg
14fd3c142e 🎨 elm-format 2018-04-30 13:24:03 +02:00
Jasper Woudenberg
e87ff67a5c Update module name in some comments 2018-04-30 13:17:41 +02:00
Jasper Woudenberg
dcf42a0f37 Nri.Table example uses latest Button module 2018-04-30 13:16:36 +02:00
Jasper Woudenberg
1edf7da0ab Add buttons to the styleguide 2018-04-30 13:14:20 +02:00
Jasper Woudenberg
3e59b7c825 Port over the latest Nri.Button from the monolith 2018-04-30 12:58:42 +02:00
Jasper Woudenberg
dc87a14925
Merge branch 'master' into table-v2 2018-04-30 10:19:11 +02:00
Juan Edi
9fe7b3ed81 Bump to 4.10.0 2018-04-25 17:49:26 -03:00
Juan Edi
a1ded12682
Merge pull request #43 from NoRedInk/gw--add-icon
Add guidedWrite icon
2018-04-25 17:44:33 -03:00
Jasper Woudenberg
72a4a1c5e6 elm-format 2018-04-25 19:29:22 +02:00
Jasper Woudenberg
8f344774c3 Switch Table.V2 over to Html.Styled
This is probably better then relying on more deprecated elm css
functionality, like we were before.
2018-04-25 19:25:34 +02:00
Jasper Woudenberg
de10ffb43e New table version that takes any css width
This way you're not limited to creating tables with fixed-width columns.
This also makes the table take up the maximum available width space by
default.
2018-04-25 19:10:34 +02:00