cp Menu.V4

This commit is contained in:
Tessa Kelly 2023-01-09 17:35:46 -07:00
parent 197d49eb1f
commit 576d5ec0c1
7 changed files with 1041 additions and 5 deletions

View File

@ -5,6 +5,7 @@ Nri.Ui.Block.V3,upgrade to V4
Nri.Ui.Checkbox.V6,upgrade to V7
Nri.Ui.Highlighter.V1,upgrade to V2
Nri.Ui.Mark.V1,upgrade to V2
Nri.Ui.Menu.V3,upgrade to V4
Nri.Ui.QuestionBox.V1,upgrade to V3
Nri.Ui.QuestionBox.V2,upgrade to V3
Nri.Ui.Tabs.V6,upgrade to V7

1 Nri.Ui.Balloon.V1 upgrade to V2
5 Nri.Ui.Checkbox.V6 upgrade to V7
6 Nri.Ui.Highlighter.V1 upgrade to V2
7 Nri.Ui.Mark.V1 upgrade to V2
8 Nri.Ui.Menu.V3 upgrade to V4
9 Nri.Ui.QuestionBox.V1 upgrade to V3
10 Nri.Ui.QuestionBox.V2 upgrade to V3
11 Nri.Ui.Tabs.V6 upgrade to V7

View File

@ -55,6 +55,7 @@
"Nri.Ui.MasteryIcon.V1",
"Nri.Ui.MediaQuery.V1",
"Nri.Ui.Menu.V3",
"Nri.Ui.Menu.V4",
"Nri.Ui.Message.V3",
"Nri.Ui.Modal.V11",
"Nri.Ui.Page.V3",

View File

@ -100,6 +100,9 @@ hint = 'upgrade to V3'
[forbidden."Nri.Ui.Menu.V2"]
hint = 'upgrade to V3'
[forbidden."Nri.Ui.Menu.V3"]
hint = 'upgrade to V4'
[forbidden."Nri.Ui.Message.V1"]
hint = 'upgrade to V3'

1031
src/Nri/Ui/Menu/V4.elm Normal file

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,7 @@ import Nri.Ui.ClickableText.V3 as ClickableText
import Nri.Ui.Colors.Extra as ColorsExtra
import Nri.Ui.Colors.V1 as Colors
import Nri.Ui.Fonts.V1 as Fonts
import Nri.Ui.Menu.V3 as Menu
import Nri.Ui.Menu.V4 as Menu
import Nri.Ui.Table.V6 as Table
import Nri.Ui.TextInput.V7 as TextInput
import Nri.Ui.UiIcon.V1 as UiIcon
@ -32,7 +32,6 @@ import Set exposing (Set)
import Svg.Styled as Svg
import Svg.Styled.Attributes as SvgAttrs
import Task
import ViewHelpers exposing (viewExamples)
moduleName : String
@ -42,7 +41,7 @@ moduleName =
version : Int
version =
3
4
{-| -}

View File

@ -4,7 +4,7 @@ import Html.Attributes as Attributes
import Html.Styled as HtmlStyled
import Json.Encode as Encode
import Nri.Ui.ClickableText.V3 as ClickableText
import Nri.Ui.Menu.V3 as Menu
import Nri.Ui.Menu.V4 as Menu
import ProgramTest exposing (ProgramTest, ensureViewHas, ensureViewHasNot)
import Spec.KeyboardHelpers as KeyboardHelpers
import Test exposing (..)
@ -15,7 +15,7 @@ import Test.Html.Selector as Selector exposing (text)
spec : Test
spec =
describe "Nri.Ui.Menu.V3"
describe "Nri.Ui.Menu.V4"
[ test "Opens when mouse enters" <|
\() ->
program [ Menu.opensOnHover True ]

View File

@ -51,6 +51,7 @@
"Nri.Ui.MasteryIcon.V1",
"Nri.Ui.MediaQuery.V1",
"Nri.Ui.Menu.V3",
"Nri.Ui.Menu.V4",
"Nri.Ui.Message.V3",
"Nri.Ui.Modal.V11",
"Nri.Ui.Page.V3",