mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-11-11 03:28:09 +03:00
Merge pull request #1471 from NoRedInk/highlight-hover-style
A11-3441 Prevent applying hover styles after toggling highlight
This commit is contained in:
commit
7c65f46a8a
@ -24,7 +24,7 @@ import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Fonts.V1 as Fonts
|
||||
import Nri.Ui.Heading.V3 as Heading
|
||||
import Nri.Ui.Highlightable.V3 as Highlightable exposing (Highlightable)
|
||||
import Nri.Ui.Highlighter.V4 as Highlighter
|
||||
import Nri.Ui.Highlighter.V5 as Highlighter
|
||||
import Nri.Ui.HighlighterTool.V1 as Tool
|
||||
import Nri.Ui.Table.V7 as Table
|
||||
import Nri.Ui.Text.V6 as Text
|
||||
@ -38,7 +38,7 @@ moduleName =
|
||||
|
||||
version : Int
|
||||
version =
|
||||
3
|
||||
5
|
||||
|
||||
|
||||
{-| -}
|
||||
@ -78,7 +78,7 @@ example =
|
||||
, settings = state.settings
|
||||
, mainType = Nothing
|
||||
, extraCode =
|
||||
[ "import Nri.Ui.Highlightable.V2 as Highlightable"
|
||||
[ "import Nri.Ui.Highlightable.V3 as Highlightable"
|
||||
, "import Nri.Ui.HighlighterTool.V1 as Tool"
|
||||
]
|
||||
, renderExample = Code.unstyledView
|
||||
|
1
elm.json
1
elm.json
@ -39,6 +39,7 @@
|
||||
"Nri.Ui.Heading.V3",
|
||||
"Nri.Ui.Highlightable.V3",
|
||||
"Nri.Ui.Highlighter.V4",
|
||||
"Nri.Ui.Highlighter.V5",
|
||||
"Nri.Ui.HighlighterTool.V1",
|
||||
"Nri.Ui.HighlighterToolbar.V3",
|
||||
"Nri.Ui.Html.Attributes.V2",
|
||||
|
@ -109,6 +109,9 @@ hint = 'upgrade to V4'
|
||||
[forbidden."Nri.Ui.Highlighter.V3"]
|
||||
hint = 'upgrade to V4'
|
||||
|
||||
[forbidden."Nri.Ui.Highlighter.V4"]
|
||||
hint = 'upgrade to V5'
|
||||
|
||||
[forbidden."Nri.Ui.HighlighterToolbar.V1"]
|
||||
hint = 'upgrade to V3'
|
||||
|
||||
|
1561
src/Nri/Ui/Highlighter/V5.elm
Normal file
1561
src/Nri/Ui/Highlighter/V5.elm
Normal file
File diff suppressed because it is too large
Load Diff
@ -7,7 +7,7 @@ import Html.Styled exposing (Html, toUnstyled)
|
||||
import List.Extra
|
||||
import Nri.Ui.Colors.V1 as Colors
|
||||
import Nri.Ui.Highlightable.V3 as Highlightable exposing (Highlightable)
|
||||
import Nri.Ui.Highlighter.V4 as Highlighter
|
||||
import Nri.Ui.Highlighter.V5 as Highlighter
|
||||
import Nri.Ui.HighlighterTool.V1 as Tool exposing (Tool)
|
||||
import ProgramTest exposing (..)
|
||||
import Sort
|
||||
|
@ -35,6 +35,7 @@
|
||||
"Nri.Ui.Heading.V3",
|
||||
"Nri.Ui.Highlightable.V3",
|
||||
"Nri.Ui.Highlighter.V4",
|
||||
"Nri.Ui.Highlighter.V5",
|
||||
"Nri.Ui.HighlighterTool.V1",
|
||||
"Nri.Ui.HighlighterToolbar.V3",
|
||||
"Nri.Ui.Html.Attributes.V2",
|
||||
|
Loading…
Reference in New Issue
Block a user