avh4 / elm-debug-controls

Easily build interactive UIs for complex data structures
https://avh4.github.io/elm-debug-controls/
BSD 3-Clause "New" or "Revised" License
24 stars 4 forks source link

Bump elm-css version used #13

Closed tesk9 closed 3 years ago

tesk9 commented 3 years ago

Hiya! This PR is to update to elm-css 17.0.1, which fixes Dark Reader. See https://github.com/rtfeldman/elm-css/pull/542

(I didn't bump the version of elm-debug-controls in elm.json, but I'd be very happy to if that would be more convenient?)

(Also -- no worries if you don't want to release a new version of elm-debug-controls at this point.)

avh4 commented 3 years ago

For reference: the elm-css diff:

$ npx -p elm elm diff rtfeldman/elm-css 16.0.0 17.0.1
This is a MAJOR change.

---- Css - MAJOR ----

    Added:
        type alias CalculatedLength =
            { value : String
            , length : Compatible
            , lengthOrAuto : Compatible
            , lengthOrNumber : Compatible
            , lengthOrNone : Compatible
            , lengthOrMinMaxDimension : Compatible
            , lengthOrNoneOrMinMaxDimension : Compatible
            , textIndent : Compatible
            , flexBasis : Compatible
            , lengthOrNumberOrAutoOrNoneOrContent : Compatible
            , fontSize : Compatible
            , lengthOrAutoOrCoverOrContain : Compatible
            , calc : Compatible
            }

    Changed:
      - type alias Infinite =
            { value : String
            , numberOrInfinite : Compatible
            , infinite : Compatible
            }
      + type alias Infinite = { value : String, numberOrInfinite : Compatible }

      - type alias NumberOrInfinite compatible =
            Number { compatible | numberOrInfinite : Compatible }
      + type alias NumberOrInfinite compatible =
            { compatible | value : String, numberOrInfinite : Compatible }

      - int :
            Int
            -> IntOrAuto
                   (
                   LengthOrNumberOrAutoOrNoneOrContent
                       (
                       LengthOrNumber
                           (
                           FontWeight
                               (
                               NumberOrInfinite
                                   { numericValue : Float
                                   , unitLabel : String
                                   , units : UnitlessInteger
                                   }
                               )
                           )
                       )
                   )
      + int :
            Int
            -> IntOrAuto
                   (
                   Number
                       (
                       LengthOrNumberOrAutoOrNoneOrContent
                           (
                           LengthOrNumber
                               (
                               FontWeight
                                   (
                                   NumberOrInfinite
                                       { numericValue : Float
                                       , unitLabel : String
                                       , units : UnitlessInteger
                                       }
                                   )
                               )
                           )
                       )
                   )

      - num :
            Float
            -> LengthOrNumberOrAutoOrNoneOrContent
                   (
                   LengthOrNumber
                       (
                       NumberOrInfinite
                           { numericValue : Float
                           , unitLabel : String
                           , units : UnitlessFloat
                           }
                       )
                   )
      + num :
            Float
            -> LengthOrNumberOrAutoOrNoneOrContent
                   (
                   Number
                       (
                       LengthOrNumber
                           (
                           NumberOrInfinite
                               { numericValue : Float
                               , unitLabel : String
                               , units : UnitlessFloat
                               }
                           )
                       )
                   )