mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-24 08:53:33 +03:00
Use Modal.V11
This commit is contained in:
parent
dfde8b6a84
commit
b04eee1d89
@ -1,13 +1,11 @@
|
||||
module Nri.Ui.Modal.V10 exposing
|
||||
module Nri.Ui.Modal.V11 exposing
|
||||
( Model, init, initOpen, isOpen
|
||||
, Msg, open, close, update, subscriptions
|
||||
, Attribute, hideTitle, css
|
||||
, FocusManager(..), info, warning
|
||||
)
|
||||
|
||||
{-| Changes from V9:
|
||||
|
||||
- adds hideTitle and css helpers
|
||||
{-| Changes from V10:
|
||||
|
||||
@docs Model, init, initOpen, isOpen
|
||||
@docs Msg, open, close, update, subscriptions
|
||||
@ -15,7 +13,7 @@ module Nri.Ui.Modal.V10 exposing
|
||||
@docs FocusManager, info, warning
|
||||
|
||||
import Html.Styled exposing (text)
|
||||
import Nri.Ui.Modal.V10 as Modal
|
||||
import Nri.Ui.Modal.V11 as Modal
|
||||
|
||||
type Msg
|
||||
= ModalMsg Modal.Msg
|
||||
|
@ -19,7 +19,7 @@ import Nri.Ui.Button.V10 as Button
|
||||
import Nri.Ui.Checkbox.V5 as Checkbox
|
||||
import Nri.Ui.ClickableText.V3 as ClickableText
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Modal.V10 as Modal
|
||||
import Nri.Ui.Modal.V11 as Modal
|
||||
import Nri.Ui.Text.V4 as Text
|
||||
|
||||
|
||||
@ -71,7 +71,7 @@ initModalSettings =
|
||||
{-| -}
|
||||
example : Example State Msg
|
||||
example =
|
||||
{ name = "Nri.Ui.Modal.V10"
|
||||
{ name = "Nri.Ui.Modal.V11"
|
||||
, categories = [ Modals ]
|
||||
, atomicDesignType = Organism
|
||||
, keyboardSupport = []
|
||||
|
Loading…
Reference in New Issue
Block a user