mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-09-19 19:27:51 +03:00
remove trailing dashes that would be removed anyways
This commit is contained in:
parent
51b18470e8
commit
ee0248114a
@ -233,7 +233,7 @@ view { label, selected } attributes =
|
||||
specificId
|
||||
|
||||
Nothing ->
|
||||
Util.safeIdWithPrefix "checkbox-v7-" label
|
||||
Util.safeIdWithPrefix "checkbox-v7" label
|
||||
|
||||
config_ =
|
||||
{ identifier = idValue
|
||||
|
@ -203,7 +203,7 @@ view { label, onChange } attributes =
|
||||
specificId
|
||||
|
||||
Nothing ->
|
||||
Util.safeIdWithPrefix "checkbox-" label
|
||||
Util.safeIdWithPrefix "checkbox" label
|
||||
|
||||
isPremium =
|
||||
config.premiumDisplay /= PremiumDisplay.Free
|
||||
|
@ -476,7 +476,7 @@ viewChoice current choice =
|
||||
-}
|
||||
generateId : String -> String
|
||||
generateId =
|
||||
safeIdWithPrefix "nri-select-"
|
||||
safeIdWithPrefix "nri-select"
|
||||
|
||||
|
||||
selectArrowsCss : { config | disabled : Bool } -> Css.Style
|
||||
|
@ -983,7 +983,7 @@ This is for use when you need the DOM element id for use in javascript (such as
|
||||
-}
|
||||
generateId : String -> String
|
||||
generateId =
|
||||
Util.safeIdWithPrefix "Nri-Ui-TextInput-"
|
||||
Util.safeIdWithPrefix "Nri-Ui-TextInput"
|
||||
|
||||
|
||||
type alias FloatingContentConfig msg =
|
||||
|
@ -193,9 +193,9 @@ viewTabPanel tab selected =
|
||||
|
||||
tabToBodyId : String -> String
|
||||
tabToBodyId =
|
||||
Util.safeIdWithPrefix "tab-body-"
|
||||
Util.safeIdWithPrefix "tab-body"
|
||||
|
||||
|
||||
tabToKeyedNode : String -> String
|
||||
tabToKeyedNode =
|
||||
Util.safeIdWithPrefix "tabs-internal-keyed-node-"
|
||||
Util.safeIdWithPrefix "tabs-internal-keyed-node"
|
||||
|
Loading…
Reference in New Issue
Block a user