mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-27 13:02:42 +03:00
V2 -> V3
This commit is contained in:
parent
1c77b7f9c4
commit
52201c29d8
2
elm.json
2
elm.json
@ -29,7 +29,7 @@
|
||||
"Nri.Ui.WhenFocusLeaves.V1",
|
||||
"Nri.Ui.FocusTrap.V1",
|
||||
"Nri.Ui.Fonts.V1",
|
||||
"Nri.Ui.Heading.V2",
|
||||
"Nri.Ui.Heading.V3",
|
||||
"Nri.Ui.Html.Attributes.V2",
|
||||
"Nri.Ui.Html.V3",
|
||||
"Nri.Ui.InputStyles.V3",
|
||||
|
@ -18,7 +18,7 @@ import Html.Styled.Attributes as Attributes
|
||||
import Http
|
||||
import Nri.Ui.Button.V10 as Button
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.Html.V3 exposing (viewIf)
|
||||
|
||||
|
||||
|
@ -27,7 +27,7 @@ module Nri.Ui.Text.V6 exposing
|
||||
|
||||
## Headings
|
||||
|
||||
You're in the wrong place! Headings live in Nri.Ui.Heading.V2.
|
||||
You're in the wrong place! Headings live in Nri.Ui.Heading.V3.
|
||||
|
||||
|
||||
## Paragraph styles
|
||||
|
@ -15,7 +15,7 @@ import Html.Styled.Attributes exposing (..)
|
||||
import Http
|
||||
import Json.Decode as Decode
|
||||
import Nri.Ui.CssVendorPrefix.V1 as VendorPrefixed
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.MediaQuery.V1 exposing (mobile)
|
||||
import Nri.Ui.Page.V3 as Page
|
||||
import Nri.Ui.SideNav.V3 as SideNav
|
||||
|
@ -24,7 +24,7 @@ import EllieLink
|
||||
import Example
|
||||
import Html.Styled exposing (..)
|
||||
import Html.Styled.Attributes exposing (css)
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.MediaQuery.V1 exposing (mobile)
|
||||
import Nri.Ui.Text.V6 as Text
|
||||
|
||||
|
@ -18,7 +18,7 @@ import Html.Styled.Attributes exposing (css, href)
|
||||
import Nri.Ui.BreadCrumbs.V1 as BreadCrumbs exposing (BreadCrumbs)
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Fonts.V1 as Fonts
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.Svg.V1 as Svg exposing (Svg)
|
||||
import Nri.Ui.Table.V5 as Table
|
||||
import Nri.Ui.UiIcon.V1 as UiIcon
|
||||
|
@ -18,7 +18,7 @@ import Example exposing (Example)
|
||||
import Html.Styled exposing (..)
|
||||
import Html.Styled.Attributes exposing (css)
|
||||
import Nri.Ui.Button.V10 as Button
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.UiIcon.V1 as UiIcon
|
||||
import Set exposing (Set)
|
||||
|
||||
|
@ -17,7 +17,7 @@ import Nri.Ui.Checkbox.V5 as Checkbox
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Data.PremiumDisplay as PremiumDisplay
|
||||
import Nri.Ui.Fonts.V1 as Fonts
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.PremiumCheckbox.V8 as PremiumCheckbox
|
||||
import Nri.Ui.Svg.V1 as Svg
|
||||
import Set exposing (Set)
|
||||
|
@ -14,7 +14,7 @@ import Html.Styled.Attributes as Attributes exposing (css)
|
||||
import Nri.Ui.Colors.Extra
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Fonts.V1 as Fonts
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.Text.V6 as Text
|
||||
import SolidColor exposing (highContrast)
|
||||
|
||||
|
@ -16,7 +16,7 @@ import Example exposing (Example)
|
||||
import Html.Styled as Html exposing (Html)
|
||||
import Html.Styled.Attributes exposing (css)
|
||||
import Nri.Ui.Container.V2 as Container
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
|
||||
|
||||
moduleName : String
|
||||
|
@ -12,7 +12,7 @@ import Example exposing (Example)
|
||||
import Html.Styled as Html exposing (Html)
|
||||
import Html.Styled.Attributes exposing (css)
|
||||
import Nri.Ui.Fonts.V1 as Fonts
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
|
||||
|
||||
{-| -}
|
||||
|
@ -13,7 +13,7 @@ import Debug.Control.Extra as ControlExtra
|
||||
import Debug.Control.View as ControlView
|
||||
import Example exposing (Example)
|
||||
import Html.Styled as Html
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import ViewHelpers exposing (viewExamples)
|
||||
|
||||
|
||||
@ -48,10 +48,10 @@ example =
|
||||
let
|
||||
examples =
|
||||
[ ( "h1", Heading.h1, "This is the main page heading." )
|
||||
, ( "h2", Heading.h2, "This is a tagline" )
|
||||
, ( "h3", Heading.h3, "This is a subHeading" )
|
||||
, ( "h2", Heading.h2, "This is a subheading" )
|
||||
, ( "h3", Heading.h3, "This is a smallHeading" )
|
||||
, ( "h4", Heading.h4, "This is a smallHeading" )
|
||||
, ( "h5", Heading.h5, "This is also a smallHeading" )
|
||||
, ( "h5", Heading.h5, "This is a smallHeading" )
|
||||
]
|
||||
|
||||
attributes =
|
||||
|
@ -18,7 +18,7 @@ import Html.Styled as Html exposing (Html)
|
||||
import Html.Styled.Attributes exposing (css)
|
||||
import Nri.Ui.Checkbox.V5 as Checkbox
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.Svg.V1 as Svg
|
||||
import Nri.Ui.Text.V6 as Text
|
||||
|
||||
|
@ -9,7 +9,7 @@ import Debug.Control.Extra as ControlExtra
|
||||
import Debug.Control.View as ControlView
|
||||
import Example exposing (Example)
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.Message.V3 as Message
|
||||
import ViewHelpers exposing (viewExamples)
|
||||
|
||||
|
@ -16,7 +16,7 @@ import Html.Styled.Attributes exposing (css)
|
||||
import Http
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Fonts.V1 as Fonts
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.Page.V3 as Page exposing (RecoveryText(..))
|
||||
|
||||
|
||||
|
@ -13,7 +13,7 @@ import Html.Styled as Html exposing (..)
|
||||
import Html.Styled.Attributes exposing (css)
|
||||
import Nri.Ui.Button.V10 as Button
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.SortableTable.V3 as SortableTable
|
||||
import Nri.Ui.Svg.V1 as Svg exposing (Svg)
|
||||
import Nri.Ui.Table.V5 as Table
|
||||
|
@ -13,7 +13,7 @@ import Debug.Control as Control exposing (Control)
|
||||
import Debug.Control.View as ControlView
|
||||
import Example exposing (Example)
|
||||
import Nri.Ui.Button.V10 as Button
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.Table.V5 as Table exposing (Column)
|
||||
|
||||
|
||||
|
@ -15,7 +15,7 @@ import Debug.Control.View as ControlView
|
||||
import Example exposing (Example)
|
||||
import Html.Styled as Html exposing (Html)
|
||||
import Html.Styled.Attributes exposing (css)
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.Text.V6 as Text
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@ import Html.Styled as Html
|
||||
import Html.Styled.Attributes as Attributes exposing (css)
|
||||
import Nri.Ui.Checkbox.V5 as Checkbox
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.InputStyles.V3 as InputStyles exposing (Theme(..))
|
||||
import Nri.Ui.TextArea.V4 as TextArea
|
||||
|
||||
|
@ -22,7 +22,7 @@ import Markdown
|
||||
import Nri.Ui.ClickableSvg.V2 as ClickableSvg
|
||||
import Nri.Ui.ClickableText.V3 as ClickableText
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Heading.V2 as Heading
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.Svg.V1 as Svg
|
||||
import Nri.Ui.Table.V5 as Table
|
||||
import Nri.Ui.Tooltip.V3 as Tooltip
|
||||
|
@ -25,7 +25,7 @@
|
||||
"Nri.Ui.WhenFocusLeaves.V1",
|
||||
"Nri.Ui.FocusTrap.V1",
|
||||
"Nri.Ui.Fonts.V1",
|
||||
"Nri.Ui.Heading.V2",
|
||||
"Nri.Ui.Heading.V3",
|
||||
"Nri.Ui.Html.Attributes.V2",
|
||||
"Nri.Ui.Html.V3",
|
||||
"Nri.Ui.InputStyles.V3",
|
||||
|
Loading…
Reference in New Issue
Block a user