From c40b595e6790979d2048a122a9334aceb1a5bd5e Mon Sep 17 00:00:00 2001 From: Barb Denney Date: Thu, 2 Jan 2025 10:14:59 -0700 Subject: [PATCH 1/2] Update checkbox.md Added indeterminate checkbox example to documentation --- src/_components/form/checkbox.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/_components/form/checkbox.md b/src/_components/form/checkbox.md index 25dce4ea8..26a9f5ce7 100644 --- a/src/_components/form/checkbox.md +++ b/src/_components/form/checkbox.md @@ -106,6 +106,10 @@ anchors: {% include storybook-preview.html story="uswds-va-checkbox-group--internationalization" link_text="va-checkbox group internationalization" %} +### Indeterminate + +{% include storybook-preview.html story="uswds-va-checkbox--indeterminate" link_text="va-checkbox group indeterminate" %} + ## Usage Refer to the U.S. Web Design System for usage guidance From 77b884943d501768d2c6591ffd86a4f4e6c0d231 Mon Sep 17 00:00:00 2001 From: Barb Denney Date: Tue, 7 Jan 2025 11:39:54 -0700 Subject: [PATCH 2/2] Update checkbox.md Added guidance to the indeterminate checkbox example. --- src/_components/form/checkbox.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/_components/form/checkbox.md b/src/_components/form/checkbox.md index 26a9f5ce7..9ed9ea04b 100644 --- a/src/_components/form/checkbox.md +++ b/src/_components/form/checkbox.md @@ -108,6 +108,8 @@ anchors: ### Indeterminate +Use the indeterminate state when a checkbox has a sublist of checkbox selections that can change from selected to unselected. + {% include storybook-preview.html story="uswds-va-checkbox--indeterminate" link_text="va-checkbox group indeterminate" %} ## Usage