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 Effects exposing (Effects, none)
|
||||
|
||||
import Material.Aux as Aux
|
||||
import Material.Helpers as Helpers
|
||||
import Material.Ripple as Ripple
|
||||
|
||||
{-| MDL button.
|
||||
|
@ -126,8 +126,8 @@ view kind addr model coloring html =
|
|||
-- Kind.
|
||||
, (kind, kind /= "")
|
||||
]
|
||||
, Aux.blurOn "mouseup"
|
||||
, Aux.blurOn "mouseleave"
|
||||
, Helpers.blurOn "mouseup"
|
||||
, Helpers.blurOn "mouseleave"
|
||||
, onClick addr Click
|
||||
]
|
||||
(case model of
|
||||
|
@ -135,7 +135,7 @@ view kind addr model coloring html =
|
|||
Ripple.view
|
||||
(Signal.forwardTo addr Ripple)
|
||||
[ class "mdl-button__ripple-container"
|
||||
, Aux.blurOn "mouseup" ]
|
||||
, Helpers.blurOn "mouseup" ]
|
||||
ripple
|
||||
:: html
|
||||
_ -> html)
|
||||
|
|
|
@ -79,7 +79,7 @@ individual `CellConfig` elements using `size`, `offset`, and `align`.
|
|||
import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
module Material.Aux where
|
||||
module Material.Helpers where
|
||||
|
||||
import Html
|
||||
import Html.Attributes
|
|
@ -51,7 +51,7 @@ import Html.Events exposing (onClick)
|
|||
import Effects exposing (Effects)
|
||||
import Window
|
||||
|
||||
import Material.Aux exposing (..)
|
||||
import Material.Helpers exposing (..)
|
||||
import Material.Ripple as Ripple
|
||||
import Material.Icon as Icon
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ import Html.Events
|
|||
import Json.Decode as Json exposing ((:=), at)
|
||||
import Effects exposing (Effects, tick, none)
|
||||
|
||||
import Material.Aux exposing (effect)
|
||||
import Material.Helpers exposing (effect)
|
||||
import DOM
|
||||
|
||||
|
||||
|
@ -117,7 +117,6 @@ update action model =
|
|||
|
||||
downOn : String -> Signal.Address Action -> Attribute
|
||||
downOn name addr =
|
||||
--Material.Aux.on
|
||||
Html.Events.on
|
||||
name
|
||||
geometryDecoder
|
||||
|
|
|
@ -34,7 +34,7 @@ import Html exposing (..)
|
|||
import Html.Attributes exposing (..)
|
||||
import Html.Events exposing (..)
|
||||
|
||||
import Material.Aux exposing (..)
|
||||
import Material.Helpers exposing (filter)
|
||||
|
||||
|
||||
-- MODEL
|
||||
|
|
Loading…
Reference in a new issue