mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-10 15:04:46 +03:00
Use Modal.V12
This commit is contained in:
parent
2fc9204f19
commit
dccfeb5f7e
@ -26,7 +26,7 @@ import Nri.Ui.ClickableText.V3 as ClickableText
|
||||
import Nri.Ui.Colors.Extra
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Fonts.V1 as Fonts
|
||||
import Nri.Ui.Modal.V11 as Modal
|
||||
import Nri.Ui.Modal.V12 as Modal
|
||||
import Nri.Ui.Text.V6 as Text
|
||||
import Nri.Ui.UiIcon.V1 as UiIcon
|
||||
import Task
|
||||
|
@ -30,7 +30,7 @@ import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Data.PremiumDisplay as PremiumDisplay
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.Message.V4 as Message
|
||||
import Nri.Ui.Modal.V11 as Modal
|
||||
import Nri.Ui.Modal.V12 as Modal
|
||||
import Nri.Ui.RadioButton.V4 as RadioButton
|
||||
import Nri.Ui.Text.V6 as Text
|
||||
import Routes
|
||||
|
@ -6,6 +6,7 @@ Nri.Ui.Mark.V2,upgrade to V5
|
||||
Nri.Ui.Mark.V3,upgrade to V5
|
||||
Nri.Ui.Mark.V4,upgrade to V5
|
||||
Nri.Ui.Message.V3,upgrade to V4
|
||||
Nri.Ui.Modal.V11,upgrade to V12
|
||||
Nri.Ui.SideNav.V4,upgrade to V5
|
||||
Nri.Ui.Switch.V2,upgrade to V3
|
||||
Nri.Ui.Table.V6,upgrade to V7
|
||||
|
|
1
elm.json
1
elm.json
@ -57,6 +57,7 @@
|
||||
"Nri.Ui.Message.V3",
|
||||
"Nri.Ui.Message.V4",
|
||||
"Nri.Ui.Modal.V11",
|
||||
"Nri.Ui.Modal.V12",
|
||||
"Nri.Ui.Page.V3",
|
||||
"Nri.Ui.Pagination.V1",
|
||||
"Nri.Ui.Palette.V1",
|
||||
|
@ -169,6 +169,9 @@ hint = 'upgrade to V4'
|
||||
hint = 'upgrade to V11'
|
||||
usages = ['component-catalog-app/Examples/RadioButton.elm']
|
||||
|
||||
[forbidden."Nri.Ui.Modal.V11"]
|
||||
hint = 'upgrade to V12'
|
||||
|
||||
[forbidden."Nri.Ui.Modal.V3"]
|
||||
hint = 'upgrade to V11'
|
||||
|
||||
|
@ -43,7 +43,7 @@ import Html.Styled exposing (..)
|
||||
import Html.Styled.Attributes exposing (id)
|
||||
import Html.Styled.Events as Events
|
||||
import Nri.Ui.FocusTrap.V1 as FocusTrap exposing (FocusTrap)
|
||||
import Nri.Ui.Modal.V11 as Modal
|
||||
import Nri.Ui.Modal.V12 as Modal
|
||||
import Task
|
||||
|
||||
main : Program () Modal.Model Msg
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Nri.Ui.Modal.V11 exposing
|
||||
module Nri.Ui.Modal.V12 exposing
|
||||
( view, closeButton, closeButtonId
|
||||
, Model, init, open, close
|
||||
, Msg, update, subscriptions
|
||||
@ -43,7 +43,7 @@ import Html.Styled exposing (..)
|
||||
import Html.Styled.Attributes exposing (id)
|
||||
import Html.Styled.Events as Events
|
||||
import Nri.Ui.FocusTrap.V1 as FocusTrap exposing (FocusTrap)
|
||||
import Nri.Ui.Modal.V11 as Modal
|
||||
import Nri.Ui.Modal.V12 as Modal
|
||||
import Task
|
||||
|
||||
main : Program () Modal.Model Msg
|
||||
|
@ -7,7 +7,7 @@ import Html.Styled as Html exposing (Html, toUnstyled)
|
||||
import Html.Styled.Attributes as Attributes
|
||||
import Html.Styled.Events as Events
|
||||
import Json.Encode as Encode
|
||||
import Nri.Ui.Modal.V11 as Modal
|
||||
import Nri.Ui.Modal.V12 as Modal
|
||||
import ProgramTest exposing (..)
|
||||
import SimulatedEffect.Cmd
|
||||
import Spec.KeyboardHelpers exposing (pressTabBackKey, pressTabKey)
|
||||
|
@ -53,6 +53,7 @@
|
||||
"Nri.Ui.Message.V3",
|
||||
"Nri.Ui.Message.V4",
|
||||
"Nri.Ui.Modal.V11",
|
||||
"Nri.Ui.Modal.V12",
|
||||
"Nri.Ui.Page.V3",
|
||||
"Nri.Ui.Pagination.V1",
|
||||
"Nri.Ui.Palette.V1",
|
||||
|
Loading…
Reference in New Issue
Block a user