mirror of
https://github.com/correl/elm-mdl.git
synced 2024-12-18 03:00:11 +00:00
Renamed Aux.Elm -> Helpers.Elm; apparently Aux* is an illegal
filename on Windows (#1).
This commit is contained in:
parent
fa3863c865
commit
c319b9750c
6 changed files with 9 additions and 10 deletions
|
@ -42,7 +42,7 @@ import Html.Attributes exposing (..)
|
||||||
import Html.Events exposing (onClick)
|
import Html.Events exposing (onClick)
|
||||||
import Effects exposing (Effects, none)
|
import Effects exposing (Effects, none)
|
||||||
|
|
||||||
import Material.Aux as Aux
|
import Material.Helpers as Helpers
|
||||||
import Material.Ripple as Ripple
|
import Material.Ripple as Ripple
|
||||||
|
|
||||||
{-| MDL button.
|
{-| MDL button.
|
||||||
|
@ -126,8 +126,8 @@ view kind addr model coloring html =
|
||||||
-- Kind.
|
-- Kind.
|
||||||
, (kind, kind /= "")
|
, (kind, kind /= "")
|
||||||
]
|
]
|
||||||
, Aux.blurOn "mouseup"
|
, Helpers.blurOn "mouseup"
|
||||||
, Aux.blurOn "mouseleave"
|
, Helpers.blurOn "mouseleave"
|
||||||
, onClick addr Click
|
, onClick addr Click
|
||||||
]
|
]
|
||||||
(case model of
|
(case model of
|
||||||
|
@ -135,7 +135,7 @@ view kind addr model coloring html =
|
||||||
Ripple.view
|
Ripple.view
|
||||||
(Signal.forwardTo addr Ripple)
|
(Signal.forwardTo addr Ripple)
|
||||||
[ class "mdl-button__ripple-container"
|
[ class "mdl-button__ripple-container"
|
||||||
, Aux.blurOn "mouseup" ]
|
, Helpers.blurOn "mouseup" ]
|
||||||
ripple
|
ripple
|
||||||
:: html
|
:: html
|
||||||
_ -> html)
|
_ -> html)
|
||||||
|
|
|
@ -79,7 +79,7 @@ individual `CellConfig` elements using `size`, `offset`, and `align`.
|
||||||
import Html exposing (..)
|
import Html exposing (..)
|
||||||
import Html.Attributes exposing (..)
|
import Html.Attributes exposing (..)
|
||||||
import String
|
import String
|
||||||
import Material.Aux exposing (clip, filter)
|
import Material.Helpers exposing (clip, filter)
|
||||||
|
|
||||||
|
|
||||||
{-| The `spacing` parameter indicates whether or not the grid should have
|
{-| The `spacing` parameter indicates whether or not the grid should have
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module Material.Aux where
|
module Material.Helpers where
|
||||||
|
|
||||||
import Html
|
import Html
|
||||||
import Html.Attributes
|
import Html.Attributes
|
|
@ -51,7 +51,7 @@ import Html.Events exposing (onClick)
|
||||||
import Effects exposing (Effects)
|
import Effects exposing (Effects)
|
||||||
import Window
|
import Window
|
||||||
|
|
||||||
import Material.Aux exposing (..)
|
import Material.Helpers exposing (..)
|
||||||
import Material.Ripple as Ripple
|
import Material.Ripple as Ripple
|
||||||
import Material.Icon as Icon
|
import Material.Icon as Icon
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ import Html.Events
|
||||||
import Json.Decode as Json exposing ((:=), at)
|
import Json.Decode as Json exposing ((:=), at)
|
||||||
import Effects exposing (Effects, tick, none)
|
import Effects exposing (Effects, tick, none)
|
||||||
|
|
||||||
import Material.Aux exposing (effect)
|
import Material.Helpers exposing (effect)
|
||||||
import DOM
|
import DOM
|
||||||
|
|
||||||
|
|
||||||
|
@ -117,7 +117,6 @@ update action model =
|
||||||
|
|
||||||
downOn : String -> Signal.Address Action -> Attribute
|
downOn : String -> Signal.Address Action -> Attribute
|
||||||
downOn name addr =
|
downOn name addr =
|
||||||
--Material.Aux.on
|
|
||||||
Html.Events.on
|
Html.Events.on
|
||||||
name
|
name
|
||||||
geometryDecoder
|
geometryDecoder
|
||||||
|
|
|
@ -34,7 +34,7 @@ import Html exposing (..)
|
||||||
import Html.Attributes exposing (..)
|
import Html.Attributes exposing (..)
|
||||||
import Html.Events exposing (..)
|
import Html.Events exposing (..)
|
||||||
|
|
||||||
import Material.Aux exposing (..)
|
import Material.Helpers exposing (filter)
|
||||||
|
|
||||||
|
|
||||||
-- MODEL
|
-- MODEL
|
||||||
|
|
Loading…
Reference in a new issue