From fb3a92792eaf042c4667386a16a74b3c92b2d0bd Mon Sep 17 00:00:00 2001 From: Tessa Kelly Date: Mon, 12 Feb 2024 09:31:39 -0700 Subject: [PATCH] Mark the medium size as the default --- src/Nri/Ui/ClickableText/V4.elm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/Nri/Ui/ClickableText/V4.elm b/src/Nri/Ui/ClickableText/V4.elm index 3c0c379c..9fb6977b 100644 --- a/src/Nri/Ui/ClickableText/V4.elm +++ b/src/Nri/Ui/ClickableText/V4.elm @@ -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 = []