mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-21 04:07:54 +03:00
Mark the medium size as the default
This commit is contained in:
parent
09b45eea15
commit
fb3a92792e
@ -14,7 +14,9 @@ module Nri.Ui.ClickableText.V4 exposing
|
||||
, css, notMobileCss, mobileCss, quizEngineMobileCss, rightIconCss
|
||||
)
|
||||
|
||||
{-|
|
||||
{-| Patch changes
|
||||
|
||||
- switchs `Medium` size to the default
|
||||
|
||||
|
||||
# Changes from V3
|
||||
@ -117,7 +119,8 @@ small =
|
||||
set (\attributes -> { attributes | size = Small })
|
||||
|
||||
|
||||
{-| -}
|
||||
{-| `Medium` is the default size.
|
||||
-}
|
||||
medium : Attribute msg
|
||||
medium =
|
||||
set (\attributes -> { attributes | size = Medium })
|
||||
@ -695,7 +698,7 @@ type alias ClickableTextAttributes msg =
|
||||
defaults : ClickableTextAttributes msg
|
||||
defaults =
|
||||
{ clickableAttributes = ClickableAttributes.init
|
||||
, size = Inherited
|
||||
, size = Medium
|
||||
, label = ""
|
||||
, icon = Nothing
|
||||
, iconStyles = []
|
||||
|
Loading…
Reference in New Issue
Block a user