Commit Graph

2024 Commits

Author SHA1 Message Date
Juan Edi
88ed81cfc0 Add guidedWrite icon 2018-04-25 13:54:14 -03:00
Jasper Woudenberg
021e91d505
Merge pull request #42 from NoRedInk/make-table-styles-explicit
Make table styles explicit
2018-04-25 14:25:00 +02:00
Jasper Woudenberg
e0e22c9e09 Bump 4.9.1 2018-04-25 14:20:42 +02:00
Jasper Woudenberg
540b5b4e71 Make some styles of the table explicit
The table styles are currently depending on some browser styles. If
those are disabled (for instance using a reset.css file), then tables do
not look correct. This makes explicit styles that are currently coming
from the browser.
2018-04-25 14:19:28 +02:00
Jasper Woudenberg
f9ed6530bc
Merge pull request #41 from NoRedInk/bump-4.9.0
Bump version to 4.9.0
2018-04-25 09:38:50 +02:00
Jasper Woudenberg
cb930b6205 Bump version to 4.9.0 2018-04-25 09:34:01 +02:00
Hardy Jones
9bdc888923
Merge pull request #40 from NoRedInk/extract-nri-table
Extract `Nri.Table`
2018-04-24 17:11:48 -07:00
Jasper Woudenberg
979a49002f Expose Nri.Ui.Table.V1 2018-04-24 18:45:53 +02:00
Jasper Woudenberg
4c8f2cae89 Add keyframe animations to styleguide example
Also provide a function for easily embedding said keyframes into a page.
2018-04-24 18:36:37 +02:00
Jasper Woudenberg
5580edaa7d Collapse border tables
In the monolith we seem to inherit this bit of styling from somewhere.
For `noredink-ui` we need to make it explicit.
2018-04-24 17:56:43 +02:00
Jasper Woudenberg
e950661c8b Add Table to the styleguide application 2018-04-24 17:49:29 +02:00
Jasper Woudenberg
4920316a54 Extract Nri.Table into noredink-ui 2018-04-24 17:43:26 +02:00
Hardy Jones
caa429d013
Merge pull request #39 from NoRedInk/bump-version-to-4.8.0
Bump version to 4.8.0
2018-04-18 08:12:59 -07:00
Hardy Jones
4a366154b0
Merge branch 'master' into bump-version-to-4.8.0 2018-04-18 08:10:56 -07:00
Hardy Jones
64635bdc74
Bump version to 4.8.0 2018-04-18 08:09:51 -07:00
Hardy Jones
71cd1653e7
Merge pull request #38 from NoRedInk/expand-select
Expand select
2018-04-18 08:07:27 -07:00
Hardy Jones
df328ec686
Expose select v2 2018-04-18 08:01:31 -07:00
Hardy Jones
cbb7c34225
Test the new select version
We make a suite that checks the behavior of both versions.
Assuming they have the same API, this should work.

If we add another version and it changes the API,
we might want to rethink this approach.
2018-04-18 07:59:26 -07:00
Hardy Jones
1647b2f358
Make selects expand to the full width of parent
There are places where we need the select to be as wide as possible.
Since it seems like a sensible default to have all the selects expand,
we take that approach.

If we find out that this is harder, we can release use the old version.
2018-04-18 07:58:19 -07:00
Hardy Jones
537425f94c
Merge pull request #37 from NoRedInk/extract-select-tests
Extract tests for select from the monolith
2018-04-18 07:36:49 -07:00
Hardy Jones
276d20c3ef
Extract tests for select from the monolith
This was forgotten in the extraction PR.
Just moves the tests over verbatim.
2018-04-17 11:25:29 -07:00
Hardy Jones
2e7701d34b
Merge pull request #36 from NoRedInk/bump-version-to-4.7.0
Bump version to 4.7.0
2018-04-17 08:20:08 -07:00
Hardy Jones
b0203cdffc
Bump version to 4.7.0 2018-04-17 08:15:44 -07:00
Ian Davies
3ed8d7d327
Merge pull request #35 from NoRedInk/extract-select
Extract `Nri.Select`
2018-04-17 16:09:48 +01:00
Hardy Jones
5036c63e28
Merge branch 'master' into extract-select 2018-04-17 07:56:22 -07:00
Ian Davies
058a3cd2db
Merge pull request #34 from NoRedInk/extract-dropdown
Extract `Nri.Dropdown`
2018-04-17 15:54:21 +01:00
Hardy Jones
d5567b6f3d
Expose Nri.Ui.Select.V1 2018-04-16 15:51:17 -07:00
Hardy Jones
4977d00361
Style the selector
We need some styling that was implicit in the monolith.
2018-04-16 15:50:28 -07:00
Hardy Jones
144eff1af7
Un-pipeline niceId
It's a bit clearer what we're doing in `niceId`
if we remove the indirection of the pipeline.
2018-04-16 15:43:06 -07:00
Hardy Jones
bffaae0e3f
Extract Nri.Select from the monolith 2018-04-16 15:43:01 -07:00
Hardy Jones
51ab788083
Expose dropdown module 2018-04-16 13:13:31 -07:00
Hardy Jones
199689abd0
Style the dropdown 2018-04-16 13:12:17 -07:00
Hardy Jones
1b86ec442f
Extract Nri.Dropdown to noredink-ui
There are a couple of minor differences here.
Some of the dependencies we had were inlined.
_Should_ be no behavioral changes though.
2018-04-16 12:19:43 -07:00
James Gary
115819c2a3
Merge pull request #33 from NoRedInk/james__add_skip_icon
Add skip icon
2018-04-04 16:25:48 -07:00
James Gary
8ba5bfec44 Minor version bump 2018-04-04 09:35:34 -07:00
James Gary
a4d3448b47 Add skip icon 2018-04-04 09:34:42 -07:00
Jasper Woudenberg
1d1085ce68
Merge pull request #32 from NoRedInk/butteroala__add-icons
Butteroala  add icons
2018-04-03 08:52:04 +02:00
Tessa Kelly
cb6f0fcfc3 MINOR version bump 2018-04-02 17:20:02 -07:00
Tessa Kelly
eb3d9f038c Adds sumitting, rating, and revising helpers 2018-04-02 17:17:42 -07:00
Tessa Kelly
1d28d9c617 :bowtie: move assignment type icons to the assignment type section 2018-04-02 17:10:32 -07:00
Hardy Jones
b537f13f7e
Merge pull request #31 from NoRedInk/expose-segmented-control-version-five
Bump version to 4.4.0
2018-03-30 15:13:41 -07:00
Hardy Jones
7f7d2db7c6
Bump version to 4.4.0
Also expose `Nri.Ui.SegmentedControl.V5`.
2018-03-30 15:05:35 -07:00
Hardy Jones
57a01bb8bf
Merge pull request #30 from NoRedInk/more-segmented-control-styling-changes
More segmented control styling changes
2018-03-30 15:01:21 -07:00
Hardy Jones
e5a56486d7
Allow segmented control to expand to parent's width
We want to allow the control to take up the full width of the parent.
This will most likely break something if you try to upgrade directly.
Should be fixable by putting the control in an element with
the appropriate width.
2018-03-30 09:10:33 -07:00
Hardy Jones
d4d6991643
Style the segmented control tabs directly
tl;dr; Use a class for each variant instead of overriding one variant.

Before, we relied on CSS specificity in an unclear way.
The `Focused` class was applying properly because it was ordered later
than the `Tab` class in the stylesheet.
The ordering that is important is the ordering in `styles` value.
Since `elm-css` generates the stylesheet in the order of the lists,
the `Focused` rule would be generated after the `Tab` rule.
Meaning the `Focused` rule would take precedence over the `Tab` rule
if an element had both classes as it was defined later in the stylesheet.

There are some concerns with this approach:
1. It's not readily apparent that the ordering in `styles` is important.
    It is pretty easy to change the ordering of the list
    and have it break the styling.
2. We rely on `elm-css` to generate the stylesheet in a specific order.
    If it changes the order of rules it generates,
    we're almost surely going to break the styling.
3. Altering styles for tabs that are not focused is even less intuitive.
    Since the specificity is the same,
    you might not know why a given rule applies (or doesn't apply).

Rather, we can eschew the specificity/precedence issues
by applying a different class to each tab.
The stuff that is the same can stay on the `Tab` class,
and the stuff that differs can be on different classes.

We are now able to set the background color for `Unfocused` tabs.
We were relying on the control being placed atop a white background.
When we moved to using the control atop a non-whitebackground,
it showed that the `Unfocused` tabs had a transparent backround.
All of our designs show `Unfocused` tabs with a white backround.

See https://github.com/NoRedInk/noredink-ui/pull/14 for more information.
2018-03-30 09:10:33 -07:00
Hardy Jones
55ce63dbfc
Fix filename
The style guide is currently for V4.
2018-03-30 09:10:33 -07:00
Jasper Woudenberg
1e0578d578
Merge pull request #29 from NoRedInk/add-versioning-policy
Add a section on our versioning policy
2018-03-30 17:14:11 +02:00
Jasper Woudenberg
704159ffb4
Merge branch 'master' into add-versioning-policy 2018-03-30 17:11:56 +02:00
Jasper Woudenberg
1e2c003938 Add a section on our versioning policy
This puts in the README what has so far been an informal policy, based
on Slack and Paper dicussions.

Anyone should feel free to change this!
2018-03-30 16:54:02 +02:00
Hardy Jones
150ad80284
Merge pull request #28 from NoRedInk/disallow-major-bumps
disallow major changes in Travis
2018-03-30 07:32:38 -07:00