Renamed to n1k0/elm-daterange-picker. It is published under that name, and new versions come out there.
Versions published as allo-media/elm-daterange-picker still install under that name. 8 versions of 8 come from the new location (see their notes).
Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/n1k0/elm-daterange-picker.
What we checked: The repo moved to github.com/n1k0/elm-daterange-picker. Rebuilt with git archive from commit 90d7d54830f7 of https://github.com/n1k0/elm-daterange-picker (zip prefix allo-media-elm-daterange-picker-90d7d54/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 c0518d5d0e1e49e1930bb16250e35515bdf41c4a.
The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.
Details · package.elm-lang.org's zip: https://github.com/allo-media/elm-daterange-picker/zipball/2.0.1/
A date range picker written in Elm (Demo).

Selecting a date range is a common operation for many Web applications. While there are offerings in the Elm ecosystem, we couldn't find any ergonomic equivalent of daterangepicker, which this package takes a lot of inspiration from.
You can look at how this package can be used by browsing this demo code here.
import DateRangePicker as Picker
import Html exposing (Html)
type alias Model =
{ picker : Picker.State }
type Msg
= PickerChanged Picker.State
init : ( Model, Cmd Msg )
init =
let
picker =
Picker.init Picker.defaultConfig Nothing
in
( { picker = picker }
, Picker.now PickerChanged picker
)
update : Msg -> Model -> ( Model, Cmd Msg )
update msg model =
case msg of
PickerChanged state ->
{ model | picker = state }
view : Model -> Html Msg
view model =
Picker.view PickerChanged model.pickerBy default, we have not defined any default font-family, so that the style
fits any app/site.
You can use the style.css file or its SCSS source as a starting point for fine-tuning the default styles of the datepicker, which also uses CSS variables to help you tweaking most colors used by the component; just add your own root colors after calling our CSS, and it's done:
:root {
--edrp-background-color: #fff;
--edrp-font-color: rgba(0, 0, 0, 0.8);
--edrp-primary-color: rgb(82, 143, 255);
--edrp-primary-color-alpha: rgba(82, 143, 255, 0.25);
--edrp-border-color: lightgrey;
}So if you have questionable tastes, you can eventually obtain this:

elm install allo-media/elm-daterange-pickernpm installThe demo is powered by elm-live, meaning any code changes will trigger a page reload. Neat!
npm startThen head to localhost:3000 from your browser.
If you've configured Atom & Elmjutsu to use ./node_modules/.bin/elm as the
default path to the Elm executable, you'll need a trick for having the compiler
working when editing demo/Main.elm:
mkdir -P demo/node_modules/.bin
ln -sf ../../../node_modules/.bin/elm demo/node_modules/.bin/elmMIT