Commit Graph

131 Commits

Author SHA1 Message Date
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
Jasper Woudenberg
92a6dc7364 Bump version to 3.0.0
Major change because the outline API was changed as part of implementing
the new outline design. No other major changes were undertaken.
2018-01-16 09:24:03 +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
e2c1c8893a Bump version to 2.9.0 2018-01-11 10:42:35 +01:00
Jasper Woudenberg
edd9c79b5b Expose Nri.Outline.Types module
It is required to make use of the `customRow` function in Nri.Outline.
2018-01-11 10:41:51 +01:00
Jasper Woudenberg
c6b473f29d Bump version to 2.8.1 2018-01-10 21:44:08 +01:00
Jasper Woudenberg
1cc6e2fe25 Fix version of nri-elm-css
Version 5.0.1 which has just been published widens the acceptable
versions of elm-css to 13, which Elm then promptly wants to pull in.
The problem is we're not compatible with that version.
2018-01-10 21:42:35 +01:00
Jasper Woudenberg
2a5b797051 Bump version to 2.8.0 2018-01-09 18:41:53 +01:00
Jasper Woudenberg
274c134fa8 Add Nri.Outline doodad 2018-01-09 18:41:28 +01:00
Jasper Woudenberg
6651ffd044 Version bump to 2.7.1 2017-12-18 10:55:28 +01:00
Jasper Woudenberg
a117e71aa7 Bump version to 2.7.0 2017-12-15 09:05:25 +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
1e8bfdbdfd Bump version to 2.6.0 2017-12-15 09:01:03 +01:00
Jasper Woudenberg
0ef860f008 Add Nri.Divider 2017-12-15 09:00:40 +01:00
Hardy Jones
47fe8c36c6 Bump version to 2.5.1 2017-12-12 22:37:30 -08:00
Hardy Jones
00e4ccab02 Bump version to 2.5.0 2017-12-12 22:13:41 -08:00
Hardy Jones
55833118af Add Nri.Tabs 2017-12-12 22:13:32 -08:00
Hardy Jones
5ebb7a3bc4 Bump version to 2.4.1 2017-12-11 21:26:35 -08:00
Hardy Jones
2753ee334f Bump version 2017-12-08 21:12:42 -08:00
Hardy Jones
4f10abf084 Add Nri.Modal 2017-12-08 21:12:21 -08:00
Jasper Woudenberg
aab3d4284e Bump version 2017-12-07 16:39:36 +01: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
9d7c573ba0 Bump version 2017-11-29 19:59:59 -08:00
Hardy Jones
752f64fb02 Add Nri.TextInput 2017-11-29 19:59:23 -08:00
Hardy Jones
532ccce819 Bump version 2017-11-29 17:48:33 -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
Hardy Jones
71e00223f4 Add Nri.Alert
There's no styling yet.
Instead of styling with Sass, we should use elm-css.
2017-11-29 14:55:46 -08:00
Hardy Jones
722f177fef Bump version 2017-11-16 20:34:58 -08:00
Hardy Jones
e054de8aae Bump version 2017-11-16 17:58:57 -08:00
Hardy Jones
4770df3e4c Expose Nri.Button 2017-11-16 17:58:39 -08:00
Hardy Jones
31f63ea744 Bump elm version 2017-11-16 17:52:22 -08:00
Hardy Jones
44a357b0da Add Nri.Button 2017-11-16 17:51:28 -08:00
Hardy Jones
c45b2ccb77 Update elm-package.json 2017-11-16 17:51:06 -08:00
Hardy Jones
1fd35a0e77 Expose Nri.Styles 2017-11-14 17:57:56 -08:00
Hardy Jones
8454442233 Add Nri.Text 2017-11-14 17:47:42 -08:00