Commit Graph

85 Commits

Author SHA1 Message Date
Tessa Kelly
cb6f0fcfc3 MINOR version bump 2018-04-02 17:20:02 -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
Stoeffel
d6fa61cf02 4.3.0 2018-03-30 16:10:49 +02:00
Stoeffel
3937beeced 4.2.0
Comparing NoRedInk/noredink-ui 4.1.0 to 4.2.0
This is a MINOR change.

------ Changes to module Nri.Ui.Icon.V1 - MINOR ------

    Added:
        type CssClasses

------ Changes to module Nri.Ui.Icon.V2 - MINOR ------

    Added:
        type CssClasses
2018-03-30 13:22:41 +02:00
Jasper Woudenberg
65fdf581e6 v4.1.0 2018-03-30 08:10:54 +02:00
Jasper Woudenberg
0b62490bcf
Merge branch 'master' into separate-icon-functions 2018-03-30 08:00:09 +02:00
Brooke
2ddd4ced9b bump elm package to 4.0.0 - make styled Accessibility accessbile 2018-03-29 13:07:01 -07:00
Jasper Woudenberg
1c5bd47bec
Merge branch 'master' into separate-icon-functions 2018-03-29 17:01:41 +02:00
Jasper Woudenberg
0c02d6e540 Bump 3.6.0 2018-03-29 10:44:56 +02:00
Jasper Woudenberg
6f6f17cc00 New SegmentedControl that uses latest Icon
This change allows SegmentedControl to no longer needs to take a record
with all icon assets. It's the construction of the `IconType` that now
requires an asset, which one depends on the icon being constructed.
2018-03-29 10:16:27 +02:00
Jasper Woudenberg
09de05c06e New Icon module with a function per icon
The purpose of this change is to allow each icon to list its asset
dependencies separately. This allows services consuming the icon library
to only provide those icons that are actually used.
2018-03-29 10:16:02 +02:00
Hardy Jones
fb2dbbfb47
Extract updated segmented control from the monolith
This version is like `Nri.Ui.SegmentedControl.V1` with the icon changes.
It has the fix for `box-sizing`.

All the other caveats from `Nri.Ui.SegmentedControl.V1`
(if there were any) apply here as well.
2018-03-28 18:20:58 -07:00
Hardy Jones
0a75e8229b
Extract Nri.Icon from the monolith
The recommendation is to break the styles API rather than the view API
when moving something out of the monolith into this repo.

`Nri.Icon` is not really setup for that sort of breakage.
If we would prefer to have the styles break rather than the view,
that will take more work.
Work that can be done independent of the extraction.

The transition in the monolith ought to look something like:

```elm
module Nri.Icon exposing (..)

import Html exposing (Html)
import Nri.SvgSprite
import Nri.Ui.Icon.V1 exposing (Assets, IconType)

icon : { alt : String, icon : IconType } -> Html msg
icon config =
  Nri.Ui.Icon.V1.icon assets

assets : Assets {}
assets =
  { activity = Nri.SvgSprite.activity
  , arrowDown = Nri.SvgSprite.arrowDown
  , attention_svg = Nri.Assets.attention_svg
  ...
  }
```

So hopefully, the change is still very small on the monolith side.

There's maybe a bigger concern than which API breaks.
`Nri.Icon` has some behavior for a11y.
We could definitely change the internals over during the extraction.
But, since all of these changes are value-level changes,
it's very likely that we'll break something in the process.
That's a bigger concern because instead of affecting
the handful of Engineers working at NRI,
we would be affecting the millions of people using the site.

We shouldn't fear making those kinds of changes.
However, we should make them when we can give them the appropriate
attention they deserve.
Not when one person is trying to move as fast as possible to avoid
race conditions of moving modules between repos.
2018-03-28 18:20:16 -07:00
Hardy Jones
832c35b3f8
Bump version to 3.5.1 2018-03-27 14:02:56 -07:00
Hardy Jones
7024806038
Bump version to 3.5.0 2018-03-27 14:02:16 -07:00
Hardy Jones
ee4343a046
Expose v2 of segmented control 2018-03-27 13:42:40 -07:00
Hardy Jones
dd164e3e57
Bump version to 3.4.0 2018-03-26 16:26:36 -07:00
Hardy Jones
c838f4f322
Merge pull request #11 from NoRedInk/add-segmented-control
Add `SegmentedControl`
2018-03-26 16:23:10 -07:00
Brooke
25ddfb8e8e bump elm-package to 3.3.0 2018-03-26 14:24:16 -07:00
Brooke
e86fd17d2f add forgotten module to exposed-modules 2018-03-26 14:23:24 -07:00
Brooke
0297d2fda6 bump elm-package version 2018-03-26 12:39:36 -07:00
Hardy Jones
3b99ba56a7
Add SegmentedControl 2018-03-23 19:05:34 -07:00
Tessa Kelly
b4853feb69 MINOR version bump 2018-03-19 15:56:52 -07:00
Tessa Kelly
e869f064ff Adds new version of the checkbox 2018-03-19 15:55:04 -07:00
Tessa Kelly
8766a17f4d Revert "MAJOR package bump"
This reverts commit b938cfc527.
2018-03-19 15:51:59 -07:00
Tessa Kelly
b938cfc527 MAJOR package bump 2018-03-16 17:33:43 -07:00
Tessa Kelly
af3feeed83 Expose the new modules 2018-03-16 17:33:25 -07:00
Tessa Kelly
98a8a5458c Remove dependency on nri-elm-css 2018-03-16 17:33:24 -07:00
Jasper Woudenberg
d9067dee09 3.1.1 2018-03-13 10:22:35 +01:00
Jasper Woudenberg
41930416e0 Bump version to 3.1.0 2018-03-13 10:11:34 +01:00
Jasper Woudenberg
01518a444f Bump version to 3.0.0
This is a major release, but really only for projects depending on the
TextArea module. That, at the moment, does not include the monolith.
2018-03-12 20:25:06 +01:00
Tessa Kelly
6e7bb28f6f Bump version 2018-03-08 11:53:32 -08:00
Stoeffel
38c3661335 2.1.0 2018-03-02 09:32:51 -08:00
Stoeffel
b9c913ec19 rename to Writing and use Html.Styled 2018-03-01 13:37:58 -08:00
Stoeffel
fde9b50db9 sort exposed modules 2018-02-28 14:01:42 -08:00
Stoeffel
01fcd84707 expose quiz font 2018-02-28 14:01:26 -08:00
Richard Feldman
b7bf825d5d Bump version for release. 2018-02-13 20:10:50 -05:00
Richard Feldman
888adf7dc8 Upgrade elm-css to v13 2018-02-13 13:28:01 -05:00
Richard Feldman
e4489340e7 Relax version bounds on nri-elm-css 2018-02-13 13:20:11 -05:00
Brooke
4930029701 bump package version 2018-02-12 12:12:09 -08:00
Jasper Woudenberg
0b30fe4420 Rename package to noredink-ui 2018-02-01 16:25:34 +01:00
Jasper Woudenberg
9a02b7772e Bump to 5.0.0 2018-02-01 13:59:21 +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
470626e5d9 Bump version to 4.1.1 2018-01-25 10:27:39 +01:00
Jasper Woudenberg
c72be639a3 Bump version to 4.1.0 2018-01-23 11:55:24 +01:00
Jasper Woudenberg
6bf8baf137 Expose Nri.Checkbox 2018-01-23 11:53:45 +01:00
Jasper Woudenberg
b23235f82b Bump version to 4.0.0 2018-01-22 17:20:29 +01:00
Jasper Woudenberg
c77af1f39b Bump version to 3.1.0 2018-01-16 11:03:11 +01:00
Jasper Woudenberg
72bbec9917 Expose Nri.Effects 2018-01-16 11:02:58 +01:00