noredink-ui/forbidden-imports.toml

157 lines
3.5 KiB
TOML
Raw Normal View History

2020-11-22 14:50:40 +03:00
# WARNING: this file is managed with `elm-forbid-imports`. Manual edits will
# be overwritten!
2022-04-12 23:28:58 +03:00
roots = ['styleguide']
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'
2021-11-06 02:02:02 +03:00
usages = ['styleguide-app/../src/Nri/Ui/Button/V8.elm']
2020-11-22 14:58:40 +03:00
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"]
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"]
hint = 'upgrade to V2'
2020-11-22 14:50:40 +03:00
usages = ['styleguide-app/Examples/Tooltip.elm']
2021-10-22 19:37:55 +03:00
[forbidden."Nri.Ui.Container.V1"]
hint = 'upgrade to V2'
2020-11-22 14:50:40 +03:00
[forbidden."Nri.Ui.Icon.V3"]
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"]
hint = 'upgrade to V5'
2020-11-22 14:50:40 +03:00
[forbidden."Nri.Ui.InputStyles.V2"]
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"]
hint = 'upgrade to V11'
2020-11-22 14:50:40 +03:00
usages = ['styleguide-app/Examples/RadioButton.elm']
[forbidden."Nri.Ui.Modal.V3"]
hint = 'upgrade to V11'
2020-11-22 14:50:40 +03:00
2021-12-07 22:35:46 +03:00
[forbidden."Nri.Ui.PremiumCheckbox.V6"]
2022-03-08 00:22:07 +03:00
hint = 'upgrade to V8'
[forbidden."Nri.Ui.PremiumCheckbox.V7"]
hint = 'upgrade to V8'
2021-12-07 22:35:46 +03:00
2020-12-01 21:28:32 +03:00
[forbidden."Nri.Ui.RadioButton.V1"]
hint = 'upgrade to V2'
2020-12-01 21:28:32 +03:00
2021-11-17 19:34:54 +03:00
[forbidden."Nri.Ui.RadioButton.V2"]
2022-03-08 00:22:07 +03:00
hint = 'upgrade to V4'
[forbidden."Nri.Ui.RadioButton.V3"]
hint = 'upgrade to V4'
2021-11-17 19:34:54 +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"]
2021-11-04 19:33:24 +03:00
hint = 'upgrade to V8'
[forbidden."Nri.Ui.Select.V7"]
hint = 'upgrade to V8'
2020-11-22 14:50:40 +03:00
2022-03-08 00:22:07 +03:00
[forbidden."Nri.Ui.SideNav.V1"]
2022-03-29 23:43:24 +03:00
hint = 'upgrade to V3'
[forbidden."Nri.Ui.SideNav.V2"]
hint = 'upgrade to V3'
2022-03-08 00:22:07 +03:00
2022-04-19 03:40:39 +03:00
[forbidden."Nri.Ui.Switch.V1"]
hint = 'upgrade to V2'
2020-11-22 14:50:40 +03:00
[forbidden."Nri.Ui.Table.V4"]
hint = 'upgrade to V5'
2020-11-22 14:50:40 +03:00
[forbidden."Nri.Ui.Tabs.V6"]
hint = 'upgrade to V7'
2020-11-22 14:50:40 +03:00
[forbidden."Nri.Ui.Text.V2"]
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"]
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',
]
2021-10-27 20:42:23 +03:00
[forbidden."Nri.Ui.Text.V5"]
hint = 'upgrade to V6'
2021-10-28 20:29:39 +03:00
[forbidden."Nri.Ui.TextInput.V6"]
hint = 'upgrade to V7'
2020-11-22 14:50:40 +03:00
[forbidden."Nri.Ui.Tooltip.V1"]
2022-04-26 01:42:25 +03:00
hint = 'upgrade to V3'
2022-04-12 23:28:58 +03:00
usages = ['styleguide/../src/Nri/Ui/Menu/V1.elm']
2022-04-26 01:42:25 +03:00
[forbidden."Nri.Ui.Tooltip.V2"]
hint = 'upgrade to V3'