mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2025-01-08 23:47:05 +03:00
cp Menu.V4
This commit is contained in:
parent
197d49eb1f
commit
576d5ec0c1
@ -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
elm.json
1
elm.json
@ -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",
|
||||
|
@ -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
1031
src/Nri/Ui/Menu/V4.elm
Normal file
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
|
||||
{-| -}
|
||||
|
@ -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 ]
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user