diff --git a/src/Nri/Ui/Css/VendorPrefixed.elm b/src/Nri/Ui/Css/VendorPrefixed.elm deleted file mode 100644 index df916044..00000000 --- a/src/Nri/Ui/Css/VendorPrefixed.elm +++ /dev/null @@ -1,49 +0,0 @@ -module Nri.Ui.Css.VendorPrefixed exposing (property, value, complexProperty) - -{-| Vendor prefixed css properties. - -@docs property, value, complexProperty - --} - -import Css - - -{-| Css vendor prefixes --} -prefixes : List String -prefixes = - [ "-webkit-", "-moz-", "-o-", "-ms-", "" ] - - -{-| Same as Css.property but vendor prefixed. --} -property : String -> String -> Css.Style -property prop value_ = - prefixes - |> List.map - (\prefix -> - Css.property (prefix ++ prop) value_ - ) - |> Css.batch - - -{-| Same as Css.property but vendor prefixed. --} -value : String -> String -> Css.Style -value prop value_ = - prefixes - |> List.map - (\prefix -> - Css.property prop (prefix ++ value_) - ) - |> Css.batch - - -{-| Used to build more complex Css styles --} -complexProperty : (String -> Css.Style) -> Css.Style -complexProperty buildProp = - prefixes - |> List.map buildProp - |> Css.batch diff --git a/src/Nri/Ui/Select/V7.elm b/src/Nri/Ui/Select/V7.elm index 3864473e..58b3c5f1 100644 --- a/src/Nri/Ui/Select/V7.elm +++ b/src/Nri/Ui/Select/V7.elm @@ -16,7 +16,7 @@ import Json.Decode exposing (Decoder) import Nri.Ui import Nri.Ui.Colors.Extra as ColorsExtra import Nri.Ui.Colors.V1 as Colors -import Nri.Ui.Css.VendorPrefixed as VendorPrefixed +import Nri.Ui.CssVendorPrefix.V1 as VendorPrefixed import Nri.Ui.Fonts.V1 as Fonts import Nri.Ui.Util diff --git a/styleguide-app/Main.elm b/styleguide-app/Main.elm index 9cc0f560..41638653 100644 --- a/styleguide-app/Main.elm +++ b/styleguide-app/Main.elm @@ -15,7 +15,7 @@ import Html.Attributes import Html.Styled.Attributes as Attributes exposing (..) import Html.Styled.Events as Events import Nri.Ui.Colors.V1 as Colors -import Nri.Ui.Css.VendorPrefixed as VendorPrefixed +import Nri.Ui.CssVendorPrefix.V1 as VendorPrefixed import Nri.Ui.Fonts.V1 as Fonts import Nri.Ui.Heading.V2 as Heading import Routes as Routes exposing (Route(..))