diff --git a/forbidden-imports.toml b/forbidden-imports.toml index 9fa01e04c..e61647a65 100644 --- a/forbidden-imports.toml +++ b/forbidden-imports.toml @@ -35,163 +35,17 @@ hint = 'Use Accessibility.Widgetd.Widget' hint = 'Use Html.Styled' usages = ['component-catalog-app/../src/Nri/Ui/Button/V8.elm'] -[forbidden."Nri.Ui.Accordion.V1"] -hint = 'upgrade to V3' - [forbidden."Nri.Ui.Accordion.V3"] hint = 'upgrade to V4' -[forbidden."Nri.Ui.Balloon.V1"] -hint = 'upgrade to V2' - -[forbidden."Nri.Ui.Block.V1"] -hint = 'upgrade to V4' - -[forbidden."Nri.Ui.Block.V2"] -hint = 'upgrade to V4' - -[forbidden."Nri.Ui.Block.V3"] -hint = 'upgrade to V4' - -[forbidden."Nri.Ui.Block.V4"] -hint = 'upgrade to V6' - -[forbidden."Nri.Ui.Block.V5"] -hint = 'upgrade to V6' - -[forbidden."Nri.Ui.BreadCrumbs.V1"] -hint = 'upgrade to V2' - -[forbidden."Nri.Ui.Button.V8"] -hint = 'upgrade to V10' -usages = ['component-catalog-app/../src/Nri/Ui/SlideModal/V2.elm'] - -[forbidden."Nri.Ui.Carousel.V1"] -hint = 'upgrade to V2' - -[forbidden."Nri.Ui.CharacterIcon.V1"] -hint = 'upgrade to V2' -usages = [ - 'component-catalog/../src/Nri/Ui/QuestionBox/V2.elm', - 'component-catalog/../src/Nri/Ui/QuestionBox/V3.elm', - 'component-catalog/../src/Nri/Ui/QuestionBox/V4.elm', - 'component-catalog/../src/Nri/Ui/QuestionBox/V5.elm', -] - -[forbidden."Nri.Ui.Checkbox.V5"] -hint = 'upgrade to V7' - -[forbidden."Nri.Ui.Checkbox.V6"] -hint = 'upgrade to V7' - -[forbidden."Nri.Ui.ClickableSvg.V1"] -hint = 'upgrade to V2' -usages = ['component-catalog-app/Examples/Tooltip.elm'] - [forbidden."Nri.Ui.ClickableText.V3"] hint = 'upgrade to V4' -[forbidden."Nri.Ui.Container.V1"] -hint = 'upgrade to V2' - -[forbidden."Nri.Ui.Heading.V2"] -hint = 'upgrade to V3' - -[forbidden."Nri.Ui.Highlightable.V1"] -hint = 'upgrade to V3' -usages = [ - 'component-catalog/../src/Highlighter/Grouping.elm', - 'component-catalog/../src/Highlighter/Internal.elm', - 'component-catalog/../src/Nri/Ui/Highlighter/V2.elm', -] - -[forbidden."Nri.Ui.Highlightable.V2"] -hint = 'upgrade to V3' -usages = ['component-catalog/../src/Nri/Ui/Highlighter/V3.elm'] - -[forbidden."Nri.Ui.Highlighter.V1"] -hint = 'upgrade to V2' - -[forbidden."Nri.Ui.Highlighter.V2"] -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.Highlighter.V5"] hint = 'upgrade to V6' -[forbidden."Nri.Ui.HighlighterToolbar.V1"] -hint = 'upgrade to V3' - -[forbidden."Nri.Ui.HighlighterToolbar.V2"] -hint = 'upgrade to V3' - -[forbidden."Nri.Ui.Icon.V3"] -hint = 'upgrade to V5' -usages = ['component-catalog-app/../src/Nri/Ui/Modal/V3.elm'] - -[forbidden."Nri.Ui.Icon.V4"] -hint = 'upgrade to V5' - -[forbidden."Nri.Ui.InputStyles.V2"] -hint = 'upgrade to V3' - -[forbidden."Nri.Ui.InputStyles.V3"] -hint = 'upgrade to V4' -usages = ['component-catalog/../src/Nri/Ui/TextArea/V4.elm'] - -[forbidden."Nri.Ui.Mark.V1"] -hint = 'upgrade to V2' -usages = ['component-catalog/../src/Nri/Ui/Block/V1.elm'] - [forbidden."Nri.Ui.Mark.V2"] hint = 'upgrade to V6' -usages = ['component-catalog/../src/Nri/Ui/Block/V4.elm'] - -[forbidden."Nri.Ui.Mark.V3"] -hint = 'upgrade to V6' - -[forbidden."Nri.Ui.Mark.V4"] -hint = 'upgrade to V6' -usages = ['component-catalog/../src/Nri/Ui/Block/V5.elm'] - -[forbidden."Nri.Ui.Mark.V5"] -hint = 'upgrade to V6' - -[forbidden."Nri.Ui.Menu.V1"] -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' - -[forbidden."Nri.Ui.Message.V2"] -hint = 'upgrade to V3' - -[forbidden."Nri.Ui.Message.V3"] -hint = 'upgrade to V4' - -[forbidden."Nri.Ui.Modal.V10"] -hint = 'upgrade to V11' -usages = ['component-catalog-app/Examples/RadioButton.elm'] - -[forbidden."Nri.Ui.Modal.V11"] -hint = 'upgrade to V12' - -[forbidden."Nri.Ui.Modal.V3"] -hint = 'upgrade to V11' - -[forbidden."Nri.Ui.Pennant.V2"] -hint = 'upgrade to V3' [forbidden."Nri.Ui.Pennant.V3"] hint = 'upgrade to V4' @@ -202,137 +56,8 @@ usages = [ 'component-catalog/src/Examples/PremiumCheckbox.elm', ] -[forbidden."Nri.Ui.PremiumCheckbox.V6"] -hint = 'upgrade to V8' - -[forbidden."Nri.Ui.PremiumCheckbox.V7"] -hint = 'upgrade to V8' - -[forbidden."Nri.Ui.QuestionBox.V1"] -hint = 'upgrade to V3' - -[forbidden."Nri.Ui.QuestionBox.V2"] -hint = 'upgrade to V5' -usages = ['component-catalog/../src/Nri/Ui/Block/V3.elm'] - -[forbidden."Nri.Ui.QuestionBox.V3"] -hint = 'upgrade to V5' - -[forbidden."Nri.Ui.QuestionBox.V4"] -hint = 'upgrade to V5' - [forbidden."Nri.Ui.QuestionBox.V6"] hint = 'upgrade to V7' -[forbidden."Nri.Ui.RadioButton.V1"] -hint = 'upgrade to V2' - -[forbidden."Nri.Ui.RadioButton.V2"] -hint = 'upgrade to V4' - -[forbidden."Nri.Ui.RadioButton.V3"] -hint = 'upgrade to V4' - -[forbidden."Nri.Ui.SegmentedControl.V11"] -hint = 'upgrade to V14' - -[forbidden."Nri.Ui.SegmentedControl.V12"] -hint = 'upgrade to V14' - -[forbidden."Nri.Ui.SegmentedControl.V13"] -hint = 'upgrade to V14' - -[forbidden."Nri.Ui.Select.V5"] -hint = 'upgrade to V8' - -[forbidden."Nri.Ui.Select.V7"] -hint = 'upgrade to V8' - -[forbidden."Nri.Ui.Select.V8"] -hint = 'upgrade to V9' - -[forbidden."Nri.Ui.SideNav.V1"] -hint = 'upgrade to V3' - -[forbidden."Nri.Ui.SideNav.V2"] -hint = 'upgrade to V3' - -[forbidden."Nri.Ui.SideNav.V3"] -hint = 'upgrade to V4' - -[forbidden."Nri.Ui.SideNav.V4"] -hint = 'upgrade to V5' - -[forbidden."Nri.Ui.SortableTable.V2"] -hint = 'upgrade to V3' - -[forbidden."Nri.Ui.SortableTable.V3"] -hint = 'upgrade to V4' - -[forbidden."Nri.Ui.SortableTable.V4"] -hint = 'upgrade to V5' - -[forbidden."Nri.Ui.Switch.V1"] -hint = 'upgrade to V2' - -[forbidden."Nri.Ui.Switch.V2"] -hint = 'upgrade to V3' - -[forbidden."Nri.Ui.Table.V4"] -hint = 'upgrade to V5' - -[forbidden."Nri.Ui.Table.V5"] -hint = 'upgrade to V6' - -[forbidden."Nri.Ui.Table.V6"] -hint = 'upgrade to V7' - [forbidden."Nri.Ui.Tabs.V6"] hint = 'upgrade to V9' - -[forbidden."Nri.Ui.Tabs.V7"] -hint = 'upgrade to V8' - -[forbidden."Nri.Ui.Tabs.V8"] -hint = 'upgrade to V9' - -[forbidden."Nri.Ui.Text.V2"] -hint = 'upgrade to V5' -usages = [ - 'component-catalog-app/../src/Nri/Ui/Page/V3.elm', - 'component-catalog-app/../src/Nri/Ui/SlideModal/V2.elm', - 'component-catalog-app/Examples/DisclosureIndicator.elm', -] - -[forbidden."Nri.Ui.Text.V4"] -hint = 'upgrade to V5' -usages = [ - 'component-catalog-app/Examples/Accordion.elm', - 'component-catalog-app/Examples/Icon.elm', - 'component-catalog-app/Examples/IconExamples.elm', - 'component-catalog-app/Examples/Loading.elm', - 'component-catalog-app/Examples/Modal.elm', - 'component-catalog-app/Examples/Tooltip.elm', -] - -[forbidden."Nri.Ui.Text.V5"] -hint = 'upgrade to V6' - -[forbidden."Nri.Ui.TextArea.V4"] -hint = 'upgrade to V5' - -[forbidden."Nri.Ui.TextInput.V6"] -hint = 'upgrade to V8' - -[forbidden."Nri.Ui.TextInput.V7"] -hint = 'upgrade to V8' - -[forbidden."Nri.Ui.Tooltip.V1"] -hint = 'upgrade to V3' -usages = ['component-catalog/../src/Nri/Ui/Menu/V1.elm'] - -[forbidden."Nri.Ui.Tooltip.V2"] -hint = 'upgrade to V3' - -[forbidden."Nri.Ui.WhenFocusLeaves.V1"] -hint = 'upgrade to V2'