├── .gitignore
├── .gitattributes
├── examples
├── elm-package.json
├── Slider.elm
├── ComboBox.elm
├── Embedding.elm
├── RadioButton.elm
├── README.md
├── ReadmeExample.elm
├── Validation.elm
├── Custom.elm
└── Recursive.elm
├── elm-package.json
├── README.md
└── src
└── Kintail
└── InputWidget.elm
/.gitignore:
--------------------------------------------------------------------------------
1 | elm-stuff
2 | docs.json
3 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/examples/elm-package.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "1.0.0",
3 | "summary": "Examples",
4 | "repository": "https://github.com/kintail/ui.git",
5 | "license": "MPL-2.0",
6 | "source-directories": [
7 | ".",
8 | "../src"
9 | ],
10 | "exposed-modules": [],
11 | "dependencies": {
12 | "elm-lang/core": "5.0.0 <= v < 6.0.0",
13 | "elm-lang/html": "2.0.0 <= v < 3.0.0"
14 | },
15 | "elm-version": "0.18.0 <= v < 0.19.0"
16 | }
17 |
--------------------------------------------------------------------------------
/examples/Slider.elm:
--------------------------------------------------------------------------------
1 | module Slider exposing (..)
2 |
3 | import Kintail.InputWidget as InputWidget
4 | import Html exposing (Html)
5 |
6 |
7 | view : Float -> Html Float
8 | view value =
9 | Html.div []
10 | [ InputWidget.slider [] { min = 0, max = 5, step = 0.1 } value
11 | , Html.text (toString value)
12 | ]
13 |
14 |
15 | main : Program Never Float Float
16 | main =
17 | Html.beginnerProgram
18 | { model = 1.5
19 | , update = always
20 | , view = view
21 | }
22 |
--------------------------------------------------------------------------------
/elm-package.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": "1.0.6",
3 | "summary": "Unified shorthand for ,