Update docs

This commit is contained in:
Tessa Kelly 2023-04-18 15:35:09 -06:00
parent d6699a7b9f
commit 3a30352048

View File

@ -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