Git Product home page Git Product logo

elm-menu's People

Contributors

akoppela avatar gregziegan avatar groob avatar isaacsanders avatar johnfredrik avatar maximsch2 avatar noobymatze avatar simonh1000 avatar whiletruu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

elm-menu's Issues

Elm css version

Is your feature request related to a problem? Please describe.

rtfeldman released a new version of elm-css (17.0.1) that works with the Dark Reader extension. See rtfeldman/elm-css#542.

The bounds of elm-menu's use of elm-css are "rtfeldman/elm-css": "16.1.1 <= v < 17.0.0"

Describe the solution you'd like

I'd love a new version of elm-menu to be released with bounds including 17.0.1.

Additional context

Thank you for considering!

Remove pointless config wrapper functions

Is your feature request related to a problem? Please describe.
ViewConfig and UpdateConfig are used exclusively to express additional arguments to view and update respectively.
What is the point of making them into opaque types?
If it's acceptable for the API to have a function that takes the record as parameter, why can't that function be directly view or update?
What is the point of the intermediary functions viewConfig and updateConfig and related opaque types?

Describe the solution you'd like

type alias ViewConfig item =
    { toId : item -> String
    , ul : List (Attribute Never)
    , li : KeySelected -> MouseSelected -> item -> HtmlDetails Never
    , maxResults : Int
    }

type alias UpdateConfig item =
    { toId : item -> String
    , onKeyDown : Int -> Maybe String -> Maybe msg
    , onTooLow : Maybe msg
    , onTooHigh : Maybe msg
    , onMouseEnter : String -> Maybe msg
    , onMouseLeave : String -> Maybe msg
    , onMouseClick : String -> Maybe msg
    , separateSelections : Bool
    , maxResults : Int
    }

elm-css 18.0.0

Is your feature request related to a problem? Please describe.
Currently, this package requires use with "rtfeldman/elm-css": "17.0.1 <= v < 18.0.0". elm-css 18.0.0 has been published.

Describe the solution you'd like
Ideally, I'd love extended elm-css version support: "rtfeldman/elm-css": "17.0.1 <= v < 19.0.0".

Additional context
Thank you!

Elm 0.19 running in debug

Describe the bug
when trying to build a file with --debug flag, build failes.

To Reproduce
Build file with this lib.

Expected behavior
Should build correctly in debug mode

Additional context

# CallStack (from HasCallStack):
#   error, called at libraries/containers/Data/Map/Internal.hs:603:17 in containers-0.5.10.2:Data.Map.Internal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.