Use Modal.V11

This commit is contained in:
Tessa Kelly 2020-09-02 10:12:59 -07:00
parent dfde8b6a84
commit b04eee1d89
2 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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 = []