diff --git a/deprecated-modules.csv b/deprecated-modules.csv index 83109e55..ba732310 100644 --- a/deprecated-modules.csv +++ b/deprecated-modules.csv @@ -1,5 +1,6 @@ Nri.Ui.Accordion.V1,upgrade to V3 Nri.Ui.Button.V8,upgrade to V10 +Nri.Ui.Container.V1,upgrade to V2 Nri.Ui.Menu.V1,upgrade to V3 Nri.Ui.Menu.V2,upgrade to V3 Nri.Ui.Modal.V10,upgrade to V11 diff --git a/elm.json b/elm.json index 31150e28..4330c758 100644 --- a/elm.json +++ b/elm.json @@ -17,6 +17,7 @@ "Nri.Ui.ClickableSvg.V2", "Nri.Ui.ClickableText.V3", "Nri.Ui.Container.V1", + "Nri.Ui.Container.V2", "Nri.Ui.Colors.Extra", "Nri.Ui.Colors.V1", "Nri.Ui.Confetti.V2", diff --git a/forbidden-imports.toml b/forbidden-imports.toml index d49a0eb0..41066dc9 100644 --- a/forbidden-imports.toml +++ b/forbidden-imports.toml @@ -50,6 +50,9 @@ usages = ['styleguide-app/../src/Nri/Ui/SlideModal/V2.elm'] hint = 'upgrade to V2' usages = ['styleguide-app/Examples/Tooltip.elm'] +[forbidden."Nri.Ui.Container.V1"] +hint = 'upgrade to V2' + [forbidden."Nri.Ui.Icon.V3"] hint = 'upgrade to V5' usages = ['styleguide-app/../src/Nri/Ui/Modal/V3.elm'] diff --git a/tests/elm-verify-examples.json b/tests/elm-verify-examples.json index db6f42cd..0576b25b 100644 --- a/tests/elm-verify-examples.json +++ b/tests/elm-verify-examples.json @@ -13,6 +13,7 @@ "Nri.Ui.ClickableSvg.V2", "Nri.Ui.ClickableText.V3", "Nri.Ui.Container.V1", + "Nri.Ui.Container.V2", "Nri.Ui.Colors.Extra", "Nri.Ui.Colors.V1", "Nri.Ui.Confetti.V2",