noredink-ui/forbidden-imports.toml
2023-06-02 17:20:16 -05:00

262 lines
6.0 KiB
TOML

# WARNING: this file is managed with `elm-forbid-imports`. Manual edits will
# be overwritten!
roots = ['component-catalog']
[forbidden.Accessibility]
hint = 'Use Accessibility.Styled'
[forbidden."Accessibility.Aria"]
hint = 'Use Accessibility.Styled.Aria'
[forbidden."Accessibility.Key"]
hint = 'Use Accessibility.Styled.Key'
[forbidden."Accessibility.Landmark"]
hint = 'Use Accessibility.Styled.Landmark'
[forbidden."Accessibility.Live"]
hint = 'Use Accessibility.Styled.Live'
[forbidden."Accessibility.Role"]
hint = 'Use Accessibility.Styled.Role'
usages = [
'component-catalog-app/../src/Nri/Ui/Icon/V3.elm',
'component-catalog-app/../src/Nri/Ui/Icon/V4.elm',
'component-catalog-app/../src/Nri/Ui/Icon/V5.elm',
]
[forbidden."Accessibility.Style"]
hint = 'Use Accessibility.Styled.Style'
[forbidden."Accessibility.Widget"]
hint = 'Use Accessibility.Widgetd.Widget'
[forbidden.Html]
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.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.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.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.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.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.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.Modal.V10"]
hint = 'upgrade to V11'
usages = ['component-catalog-app/Examples/RadioButton.elm']
[forbidden."Nri.Ui.Modal.V3"]
hint = 'upgrade to V11'
[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 V4'
usages = ['component-catalog/../src/Nri/Ui/Block/V3.elm']
[forbidden."Nri.Ui.QuestionBox.V3"]
hint = 'upgrade to V4'
[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.SortableTable.V2"]
hint = 'upgrade to V3'
[forbidden."Nri.Ui.SortableTable.V3"]
hint = 'upgrade to V4'
[forbidden."Nri.Ui.Switch.V1"]
hint = 'upgrade to V2'
[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 V8'
[forbidden."Nri.Ui.Tabs.V7"]
hint = 'upgrade to V8'
[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 V7'
[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'