mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2025-01-08 07:27:44 +03:00
Update docs
This commit is contained in:
parent
d6699a7b9f
commit
3a30352048
@ -12,7 +12,7 @@ module Nri.Ui.Checkbox.V7 exposing
|
||||
{-|
|
||||
|
||||
|
||||
# Changes from V6:
|
||||
## Changes from V6:
|
||||
|
||||
- Reworked api similar to other components based on Attributes
|
||||
- Add support for guidance
|
||||
@ -20,6 +20,11 @@ module Nri.Ui.Checkbox.V7 exposing
|
||||
- Dropped disabledLabelCss functionality. Use labelCss instead in case when the checkbox is disabled.
|
||||
- (breaking-change) By default the label is visible (ie: V6.viewWithLabel), use hiddenLabel to migrate from V6.view.
|
||||
|
||||
|
||||
## Patch changes:
|
||||
|
||||
- It turns out that "indeterminate" has to be set from JS -- it doesn't work to add the attribute as part of the HTML. So, instead of using an input under the hood, we're using aria-attributes instead. This also allows us to simplify the styles a bit.
|
||||
|
||||
@docs view
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user