Use HighlighterToolbar.V3

This commit is contained in:
Tessa Kelly 2023-03-27 16:33:31 -06:00
parent cf6ce7c019
commit bb58cf9bbf
6 changed files with 12 additions and 6 deletions

View File

@ -18,7 +18,7 @@ import Html.Styled.Attributes exposing (css, id)
import KeyboardSupport exposing (Key(..))
import Nri.Ui.Colors.V1 as Colors
import Nri.Ui.Heading.V3 as Heading
import Nri.Ui.HighlighterToolbar.V2 as HighlighterToolbar
import Nri.Ui.HighlighterToolbar.V3 as HighlighterToolbar
import Nri.Ui.Svg.V1 as Svg
import Nri.Ui.Text.V6 as Text
import Nri.Ui.UiIcon.V1 as UiIcon
@ -32,7 +32,7 @@ moduleName =
version : Int
version =
2
3
{-| -}

View File

@ -1,7 +1,8 @@
Nri.Ui.Block.V3,upgrade to V4
Nri.Ui.Highlightable.V1,upgrade to V2
Nri.Ui.Highlighter.V2,upgrade to V3
Nri.Ui.HighlighterToolbar.V1,upgrade to V2
Nri.Ui.HighlighterToolbar.V1,upgrade to V3
Nri.Ui.HighlighterToolbar.V2,upgrade to V3
Nri.Ui.QuestionBox.V2,upgrade to V4
Nri.Ui.QuestionBox.V3,upgrade to V4
Nri.Ui.Select.V8,upgrade to V9

1 Nri.Ui.Block.V3 upgrade to V4
2 Nri.Ui.Highlightable.V1 upgrade to V2
3 Nri.Ui.Highlighter.V2 upgrade to V3
4 Nri.Ui.HighlighterToolbar.V1 upgrade to V2 upgrade to V3
5 Nri.Ui.HighlighterToolbar.V2 upgrade to V3
6 Nri.Ui.QuestionBox.V2 upgrade to V4
7 Nri.Ui.QuestionBox.V3 upgrade to V4
8 Nri.Ui.Select.V8 upgrade to V9

View File

@ -41,6 +41,7 @@
"Nri.Ui.HighlighterTool.V1",
"Nri.Ui.HighlighterToolbar.V1",
"Nri.Ui.HighlighterToolbar.V2",
"Nri.Ui.HighlighterToolbar.V3",
"Nri.Ui.Html.Attributes.V2",
"Nri.Ui.Html.V3",
"Nri.Ui.InputStyles.V4",

View File

@ -88,7 +88,10 @@ hint = 'upgrade to V2'
hint = 'upgrade to V3'
[forbidden."Nri.Ui.HighlighterToolbar.V1"]
hint = 'upgrade to V2'
hint = 'upgrade to V3'
[forbidden."Nri.Ui.HighlighterToolbar.V2"]
hint = 'upgrade to V3'
[forbidden."Nri.Ui.Icon.V3"]
hint = 'upgrade to V5'

View File

@ -7,7 +7,7 @@ import Expect
import Html.Attributes as Attributes
import Html.Styled as Html exposing (..)
import Nri.Ui.Colors.V1 as Colors
import Nri.Ui.HighlighterToolbar.V2 as HighlighterToolbar
import Nri.Ui.HighlighterToolbar.V3 as HighlighterToolbar
import ProgramTest exposing (..)
import Spec.KeyboardHelpers as KeyboardHelpers
import Test exposing (..)
@ -18,7 +18,7 @@ import Test.Html.Selector as Selector
spec : Test
spec =
describe "Nri.Ui.HighlighterToolbar.V2"
describe "Nri.Ui.HighlighterToolbar.V3"
[ describe "tool selection" selectionTests
, describe "keyboard behavior" keyboardTests
]

View File

@ -37,6 +37,7 @@
"Nri.Ui.HighlighterTool.V1",
"Nri.Ui.HighlighterToolbar.V1",
"Nri.Ui.HighlighterToolbar.V2",
"Nri.Ui.HighlighterToolbar.V3",
"Nri.Ui.Html.Attributes.V2",
"Nri.Ui.Html.V3",
"Nri.Ui.InputStyles.V4",