2020-11-22 14:50:40 +03:00
|
|
|
# WARNING: this file is managed with `elm-forbid-imports`. Manual edits will
|
|
|
|
# be overwritten!
|
|
|
|
|
|
|
|
roots = ['styleguide-app']
|
2020-11-22 14:58:40 +03:00
|
|
|
[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 = [
|
|
|
|
'styleguide-app/../src/Nri/Ui/Icon/V3.elm',
|
|
|
|
'styleguide-app/../src/Nri/Ui/Icon/V4.elm',
|
|
|
|
'styleguide-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 = [
|
|
|
|
'styleguide-app/../src/Nri/Ui/Button/V8.elm',
|
|
|
|
'styleguide-app/Examples/Modal.elm',
|
|
|
|
'styleguide-app/Main.elm',
|
|
|
|
]
|
|
|
|
|
2020-11-22 14:50:40 +03:00
|
|
|
[forbidden."Nri.Ui.Accordion.V1"]
|
2021-05-28 04:59:12 +03:00
|
|
|
hint = 'upgrade to V3'
|
2020-11-22 14:50:40 +03:00
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Button.V8"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V10'
|
2020-11-22 14:50:40 +03:00
|
|
|
usages = ['styleguide-app/../src/Nri/Ui/SlideModal/V2.elm']
|
|
|
|
|
|
|
|
[forbidden."Nri.Ui.ClickableSvg.V1"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V2'
|
2020-11-22 14:50:40 +03:00
|
|
|
usages = ['styleguide-app/Examples/Tooltip.elm']
|
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Icon.V3"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V5'
|
2020-11-22 14:50:40 +03:00
|
|
|
usages = ['styleguide-app/../src/Nri/Ui/Modal/V3.elm']
|
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Icon.V4"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V5'
|
2020-11-22 14:50:40 +03:00
|
|
|
|
|
|
|
[forbidden."Nri.Ui.InputStyles.V2"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V3'
|
2020-11-22 14:50:40 +03:00
|
|
|
|
2021-05-28 04:59:12 +03:00
|
|
|
[forbidden."Nri.Ui.Menu.V1"]
|
2021-08-30 16:07:10 +03:00
|
|
|
hint = 'upgrade to V3'
|
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Menu.V2"]
|
|
|
|
hint = 'upgrade to V3'
|
2021-05-28 04:59:12 +03:00
|
|
|
|
2020-11-22 14:50:40 +03:00
|
|
|
[forbidden."Nri.Ui.Message.V1"]
|
2021-04-06 23:47:36 +03:00
|
|
|
hint = 'upgrade to V3'
|
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Message.V2"]
|
|
|
|
hint = 'upgrade to V3'
|
2020-11-22 14:50:40 +03:00
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Modal.V10"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V11'
|
2020-11-22 14:50:40 +03:00
|
|
|
usages = ['styleguide-app/Examples/RadioButton.elm']
|
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Modal.V3"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V11'
|
2020-11-22 14:50:40 +03:00
|
|
|
|
2020-12-01 21:28:32 +03:00
|
|
|
[forbidden."Nri.Ui.RadioButton.V1"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V2'
|
2020-12-01 21:28:32 +03:00
|
|
|
|
2020-11-22 14:50:40 +03:00
|
|
|
[forbidden."Nri.Ui.SegmentedControl.V11"]
|
2021-04-06 23:36:55 +03:00
|
|
|
hint = 'upgrade to V14'
|
2020-11-22 14:50:40 +03:00
|
|
|
|
|
|
|
[forbidden."Nri.Ui.SegmentedControl.V12"]
|
2021-04-06 23:36:55 +03:00
|
|
|
hint = 'upgrade to V14'
|
|
|
|
|
|
|
|
[forbidden."Nri.Ui.SegmentedControl.V13"]
|
|
|
|
hint = 'upgrade to V14'
|
2020-11-22 14:50:40 +03:00
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Select.V5"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V7'
|
2020-11-22 14:50:40 +03:00
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Table.V4"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V5'
|
2020-11-22 14:50:40 +03:00
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Tabs.V6"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V7'
|
2020-11-22 14:50:40 +03:00
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Text.V2"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V5'
|
2020-11-22 14:50:40 +03:00
|
|
|
usages = [
|
|
|
|
'styleguide-app/../src/Nri/Ui/Page/V3.elm',
|
|
|
|
'styleguide-app/../src/Nri/Ui/SlideModal/V2.elm',
|
|
|
|
'styleguide-app/Examples/DisclosureIndicator.elm',
|
|
|
|
]
|
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Text.V4"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V5'
|
2020-11-22 14:50:40 +03:00
|
|
|
usages = [
|
|
|
|
'styleguide-app/Examples/Accordion.elm',
|
|
|
|
'styleguide-app/Examples/Icon.elm',
|
|
|
|
'styleguide-app/Examples/IconExamples.elm',
|
|
|
|
'styleguide-app/Examples/Loading.elm',
|
|
|
|
'styleguide-app/Examples/Modal.elm',
|
|
|
|
'styleguide-app/Examples/Tooltip.elm',
|
|
|
|
]
|
|
|
|
|
|
|
|
[forbidden."Nri.Ui.Tooltip.V1"]
|
2020-12-04 05:38:09 +03:00
|
|
|
hint = 'upgrade to V2'
|
2021-05-28 04:42:33 +03:00
|
|
|
usages = ['styleguide-app/../src/Nri/Ui/Menu/V1.elm']
|