mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-25 06:33:09 +03:00
Fix CI
This commit is contained in:
parent
424bd1854c
commit
1d4698dca7
@ -1,10 +1,13 @@
|
|||||||
module Nri.Ui.RadioButton.V1 exposing (view, premium)
|
module Nri.Ui.RadioButton.V1 exposing (view, premium)
|
||||||
|
|
||||||
{-| Changes from monolith version:
|
{-| Changes from monolith version:
|
||||||
|
|
||||||
- uses Nri.Ui.Data.PremiumLevel rather than monolith version
|
- uses Nri.Ui.Data.PremiumLevel rather than monolith version
|
||||||
- uses Nri.Ui.Html.* rather than deprecated monolith extras
|
- uses Nri.Ui.Html.\* rather than deprecated monolith extras
|
||||||
- removes Role.radio from the radio input's label
|
- removes Role.radio from the radio input's label
|
||||||
|
|
||||||
@docs view, premium
|
@docs view, premium
|
||||||
|
|
||||||
-}
|
-}
|
||||||
|
|
||||||
import Accessibility.Styled exposing (..)
|
import Accessibility.Styled exposing (..)
|
||||||
@ -64,9 +67,11 @@ view config =
|
|||||||
{-| A radio button that should be used for premium content.
|
{-| A radio button that should be used for premium content.
|
||||||
This radio button is locked when the premium level of the content
|
This radio button is locked when the premium level of the content
|
||||||
is greater than the premium level of the teacher.
|
is greater than the premium level of the teacher.
|
||||||
|
|
||||||
- `onChange`: A message for when the user selected the radio button
|
- `onChange`: A message for when the user selected the radio button
|
||||||
- `onLockedClick`: A message for when the user clicks a radio button they don't have PremiumLevel for.
|
- `onLockedClick`: A message for when the user clicks a radio button they don't have PremiumLevel for.
|
||||||
If you get this message, you should show an `Nri.Premium.Model.view`
|
If you get this message, you should show an `Nri.Premium.Model.view`
|
||||||
|
|
||||||
-}
|
-}
|
||||||
premium :
|
premium :
|
||||||
{ label : String
|
{ label : String
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
"Nri.Ui.Pennant.V2",
|
"Nri.Ui.Pennant.V2",
|
||||||
"Nri.Ui.PremiumCheckbox.V6",
|
"Nri.Ui.PremiumCheckbox.V6",
|
||||||
"Nri.Ui.RadioButton.V1",
|
"Nri.Ui.RadioButton.V1",
|
||||||
|
"Nri.Ui.RadioButton.V2",
|
||||||
"Nri.Ui.SegmentedControl.V11",
|
"Nri.Ui.SegmentedControl.V11",
|
||||||
"Nri.Ui.SegmentedControl.V12",
|
"Nri.Ui.SegmentedControl.V12",
|
||||||
"Nri.Ui.SegmentedControl.V13",
|
"Nri.Ui.SegmentedControl.V13",
|
||||||
|
Loading…
Reference in New Issue
Block a user